setHeliResistToExplosion
SET_HELI_RESIST_TO_EXPLOSION0x8074CC1886802912The GTA V native SET_HELI_RESIST_TO_EXPLOSION of the VEHICLE namespace, as LS:MP client scripts call it: the global function setHeliResistToExplosion, in JavaScript and in Lua.
setHeliResistToExplosion(vehicle: Vehicle, toggle: boolean): voidsetHeliResistToExplosion(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setHeliResistToExplosion(vehicle, toggle);Lua
setHeliResistToExplosion(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_HELI_RESIST_TO_EXPLOSION(Vehicle vehicle, BOOL toggle)- Hash
0x8074CC1886802912- Introduced
- Game build 2545 legacy numbering
- Formerly
_SET_HELI_RESIST_TO_EXPLOSION