OnVehicleExplode

From Vice City Multiplayer
Revision as of 13:52, 9 March 2016 by KAKAN (talk | contribs) (Created page with "This event is called when a vehicle gets exploded. == Syntax == <pre>onVehicleExplode( vehicle )</pre> == Arguments == * ''CVehicle'' '''vehicle''' - The vehicle instance, o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

This event is called when a vehicle gets exploded.

Syntax

onVehicleExplode( vehicle )

Arguments

  • CVehicle vehicle - The vehicle instance, or, the vehicle which got exploded.

Example

function onVehicleExplode( vehicle ) {
Message( vehicle.ID + ", " + GetVehicleNameFromModel( vehicle.Model ) + " got exploded.");
}