VehicleClient

arePlaneControlPanelsIntact

ARE_PLANE_CONTROL_PANELS_INTACT0xF78F94D60248C737

The GTA V native ARE_PLANE_CONTROL_PANELS_INTACT of the VEHICLE namespace, as LS:MP client scripts call it: the global function arePlaneControlPanelsIntact, in JavaScript and in Lua.

SignatureJavaScript
arePlaneControlPanelsIntact(vehicle: Vehicle, p1: boolean): boolean
SignatureLua
arePlaneControlPanelsIntact(vehicle: Vehicle, p1: boolean): boolean

Usage

JavaScript
const result = arePlaneControlPanelsIntact(vehicle, p1);
Lua
local result = arePlaneControlPanelsIntact(vehicle, p1)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
p1BOOLbooleanboolean

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL ARE_PLANE_CONTROL_PANELS_INTACT(Vehicle vehicle, BOOL p1)
Hash
0xF78F94D60248C737

Open in the interactive natives reference