setPlaneResistToExplosion
SET_PLANE_RESIST_TO_EXPLOSION0xE16142B94664DEFDThe GTA V native SET_PLANE_RESIST_TO_EXPLOSION of the VEHICLE namespace, as LS:MP client scripts call it: the global function setPlaneResistToExplosion, in JavaScript and in Lua.
setPlaneResistToExplosion(vehicle: Vehicle, toggle: boolean): voidsetPlaneResistToExplosion(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setPlaneResistToExplosion(vehicle, toggle);Lua
setPlaneResistToExplosion(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_PLANE_RESIST_TO_EXPLOSION(Vehicle vehicle, BOOL toggle)- Hash
0xE16142B94664DEFD