RedM Natives

SET_VEHICLE_EXPLODES_ON_HIGH_EXPLOSION_DAMAGE

Sets a vehicle to be strongly resistant to explosions.

Hash0xA402939C6761E1A3
Runtime nameSetVehicleExplodesOnHighExplosionDamage
NamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x71B0892EC081D60A

Signature

void SET_VEHICLE_EXPLODES_ON_HIGH_EXPLOSION_DAMAGE(Vehicle vehicle, BOOL toggle);

Parameters

NameTypeDescription
vehicleVehicle—
toggleBOOL—

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

Lua
SetVehicleExplodesOnHighExplosionDamage(vehicle, toggle)

-- always works, by hash
Citizen.InvokeNative(0xA402939C6761E1A3, vehicle, toggle)
JavaScript and C#
JavaScript
SetVehicleExplodesOnHighExplosionDamage(vehicle, toggle);

// by hash
Citizen.invokeNative('0xA402939C6761E1A3', vehicle, toggle);
C#
Function.Call((Hash)0xA402939C6761E1A3, vehicle, toggle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.