VehicleDeath

From RAGE Multiplayer Wiki
Revision as of 16:11, 14 January 2018 by Shyim (talk | contribs) (Created page with "This event is triggered when a vehicle is exploded. ==Parameters== * '''vehicle''' - vehicle, that is exploded ==Example== This example will destroy vehicles, which are expl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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', (MpVehicle) => {
    vehicle.destroy()
});

See also

Checkpoint

Colshape

Entity

Player

Streaming

Vehicle

Waypoint