explodeVehicle
EXPLODE_VEHICLE0xBA71116ADF5B514CThe GTA V native EXPLODE_VEHICLE of the VEHICLE namespace, as LS:MP client scripts call it: the global function explodeVehicle, in JavaScript and in Lua.
explodeVehicle(
vehicle: Vehicle,
isAudible: boolean,
isInvisible: boolean
): voidexplodeVehicle(vehicle: Vehicle, isAudible: boolean, isInvisible: boolean)Usage
JavaScript
explodeVehicle(vehicle, isAudible, isInvisible);Lua
explodeVehicle(vehicle, isAudible, isInvisible)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
isAudible | BOOL | boolean | boolean |
isInvisible | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Explodes a selected vehicle.
Vehicle vehicle = Vehicle you want to explode.
BOOL isAudible = If explosion makes a sound.
BOOL isInvisible = If the explosion is invisible or not.First BOOL does not give any visual explosion, the vehicle just falls apart completely but slowly and starts to burn.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void EXPLODE_VEHICLE(Vehicle vehicle, BOOL isAudible, BOOL isInvisible)- Hash
0xBA71116ADF5B514C