setVehicleExplodesOnHighExplosionDamage
SET_VEHICLE_EXPLODES_ON_HIGH_EXPLOSION_DAMAGE0x71B0892EC081D60AThe GTA V native SET_VEHICLE_EXPLODES_ON_HIGH_EXPLOSION_DAMAGE of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleExplodesOnHighExplosionDamage, in JavaScript and in Lua.
setVehicleExplodesOnHighExplosionDamage(
vehicle: Vehicle,
toggle: boolean
): voidsetVehicleExplodesOnHighExplosionDamage(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setVehicleExplodesOnHighExplosionDamage(vehicle, toggle);Lua
setVehicleExplodesOnHighExplosionDamage(vehicle, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
toggle | 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.
Sets a vehicle to be strongly resistant to explosions. p0 is the vehicle; set p1 to false to toggle the effect on/off.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_EXPLODES_ON_HIGH_EXPLOSION_DAMAGE(Vehicle vehicle, BOOL toggle)- Hash
0x71B0892EC081D60A