- Documentation
- Server events
- onVehicleRespawn
Event
onVehicleRespawn
A vehicle respawned (respawnVehicle or automatically).
Handler
addEventHandler("onVehicleRespawn", root, function(exploded) ... end)Parameters
explodedbooltrueif it had exploded before respawning.
Source
source is the vehicle.
Example
addEventHandler("onVehicleRespawn", root, function()
setVehicleColor(source, 255, 255, 255)
end)