VehicleClient

setPlaneResistToExplosion

SET_PLANE_RESIST_TO_EXPLOSION0xE16142B94664DEFD

The 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.

SignatureJavaScript
setPlaneResistToExplosion(vehicle: Vehicle, toggle: boolean): void
SignatureLua
setPlaneResistToExplosion(vehicle: Vehicle, toggle: boolean)

Usage

JavaScript
setPlaneResistToExplosion(vehicle, toggle);
Lua
setPlaneResistToExplosion(vehicle, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
toggleBOOLbooleanboolean

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

Open in the interactive natives reference