ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client events
  3. onClientVehicleExplode

Event

onClientVehicleExplode

ClientVehiclesIdentical to MTA:SA

A vehicle exploded (blowVehicle or an explosion reported by its owner). It arrives at the same moment for everyone, right before onClientExplosion.

Handler

addEventHandler("onClientVehicleExplode", root, function() ... end)

Source

source is the vehicle.

Example

addEventHandler("onClientVehicleExplode", root, function()
    if getPedOccupiedVehicle(localPlayer) == source then outputChatBox("Twoje auto wybuchło!") end
end)

See also