isPedInAnyHeli
IS_PED_IN_ANY_HELI0x298B91AE825E5705The GTA V native IS_PED_IN_ANY_HELI of the PED namespace, as LS:MP client scripts call it: the global function isPedInAnyHeli, in JavaScript and in Lua.
isPedInAnyHeli(ped: Ped): booleanisPedInAnyHeli(ped: Ped): booleanUsage
JavaScript
const result = isPedInAnyHeli(ped);Lua
local result = isPedInAnyHeli(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Ped PED
- In the game
BOOL IS_PED_IN_ANY_HELI(Ped ped)- Hash
0x298B91AE825E5705