setVehicleExplodesOnExplosionDamageAtZeroBodyHealth
SET_VEHICLE_EXPLODES_ON_EXPLOSION_DAMAGE_AT_ZERO_BODY_HEALTH0xD565F438137F0E10The GTA V native SET_VEHICLE_EXPLODES_ON_EXPLOSION_DAMAGE_AT_ZERO_BODY_HEALTH of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleExplodesOnExplosionDamageAtZeroBodyHealth, in JavaScript and in Lua.
setVehicleExplodesOnExplosionDamageAtZeroBodyHealth(
vehicle: Vehicle,
toggle: boolean
): voidsetVehicleExplodesOnExplosionDamageAtZeroBodyHealth(
vehicle: Vehicle,
toggle: boolean
)Usage
JavaScript
setVehicleExplodesOnExplosionDamageAtZeroBodyHealth(vehicle, toggle);Lua
setVehicleExplodesOnExplosionDamageAtZeroBodyHealth(vehicle, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_EXPLODES_ON_EXPLOSION_DAMAGE_AT_ZERO_BODY_HEALTH(Vehicle vehicle, BOOL toggle)- Hash
0xD565F438137F0E10- Introduced
- Game build 1103 legacy numbering