isHeliPartBroken
IS_HELI_PART_BROKEN0xBC74B4BE25EB6C8AThe GTA V native IS_HELI_PART_BROKEN of the VEHICLE namespace, as LS:MP client scripts call it: the global function isHeliPartBroken, in JavaScript and in Lua.
isHeliPartBroken(
vehicle: Vehicle,
p1: boolean,
p2: boolean,
p3: boolean
): booleanisHeliPartBroken(
vehicle: Vehicle,
p1: boolean,
p2: boolean,
p3: boolean
): booleanUsage
JavaScript
const result = isHeliPartBroken(vehicle, p1, p2, p3);Lua
local result = isHeliPartBroken(vehicle, p1, p2, p3)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
p1 | BOOL | boolean | boolean |
p2 | BOOL | boolean | boolean |
p3 | BOOL | boolean | boolean |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL IS_HELI_PART_BROKEN(Vehicle vehicle, BOOL p1, BOOL p2, BOOL p3)- Hash
0xBC74B4BE25EB6C8A