SET_VEHICLE_EXPLODES_ON_HIGH_EXPLOSION_DAMAGE
Sets a vehicle to be strongly resistant to explosions.
Hash
0xA402939C6761E1A3Runtime name
SetVehicleExplodesOnHighExplosionDamageNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x71B0892EC081D60ASignature
void SET_VEHICLE_EXPLODES_ON_HIGH_EXPLOSION_DAMAGE(Vehicle vehicle, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
toggle | BOOL | — |
Returns void
Description
Sets a vehicle to be strongly resistant to explosions. p0 is the vehicle; set p1 to false to toggle the effect on/off.
Usage
SetVehicleExplodesOnHighExplosionDamage(vehicle, toggle)
-- always works, by hash
Citizen.InvokeNative(0xA402939C6761E1A3, vehicle, toggle)JavaScript and C#
SetVehicleExplodesOnHighExplosionDamage(vehicle, toggle);
// by hash
Citizen.invokeNative('0xA402939C6761E1A3', vehicle, toggle);Function.Call((Hash)0xA402939C6761E1A3, vehicle, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.