VehicleDeath

From RAGE Multiplayer Wiki
Revision as of 13:15, 15 May 2019 by RoboN1X (talk | contribs) (category)

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