OnClientVehicleExplode
From Multi Theft Auto: Wiki
This event is triggered when a vehicle explodes.
Note: Remember, this event can not be canceled. |
Parameters
This event has no parameters.
Source
The source of this event is the vehicle that exploded.
Example
This example will output some text to chat on vehicle explosion
addEventHandler("onClientVehicleExplode", getRootElement(), function() local modelname = getVehicleName(source) outputChatBox(modelname.." just exploded!") end)
See Also
Client vehicle events
- onClientTrailerAttach
- onClientTrailerDetach
- onClientVehicleCollision
- onClientVehicleDamage
- onClientVehicleEnter
- onClientVehicleExit
- onClientVehicleExplode
- onClientVehicleNitroStateChange
- onClientVehicleRespawn
- onClientVehicleStartEnter
- onClientVehicleStartExit