VehicleDeath

From RAGE Multiplayer Wiki
Revision as of 16:11, 14 January 2018 by Shyim (talk | contribs) (→‎Example)

This event is triggered when a vehicle is exploded.

Parameters

  • vehicle - vehicle, that is exploded

Example

This example will destroy vehicles, which are exploded

Server-Side
mp.events.add('vehicleDeath', (vehicle) => {
    vehicle.destroy()
});

See also

Checkpoint

Colshape

Entity

Player

Streaming

Vehicle

Waypoint