OnVehicleRespawn
This wiki is using an old backup from 2020
Some information may be old/missing
This event is called when a vehicle is respawned.
Syntax
onVehicleRespawn( vehicle )
Arguments
- CVehicle vehicle - The vehicle instance, or the vehicle which is being respawned.
Example
function onVehicleRespawn( vehicle ) { Message( vehicle.ID + " respawned!"); }
Related Functions
- onPlayerEnteringVehicle( player, vehicle, door )
- onPlayerEnterVehicle( player, vehicle, door )
- onPlayerExitVehicle( player, vehicle )
- onVehicleExplode( vehicle )
- onVehicleRespawn( vehicle )
- onVehicleHealthChange( vehicle, oldHP, newHP )
- onVehicleMove( vehicle, lastX, lastY, lastZ, newX, newY, newZ )