isPedInFlyingVehicle
IS_PED_IN_FLYING_VEHICLE0x9134873537FA419CThe GTA V native IS_PED_IN_FLYING_VEHICLE of the PED namespace, as LS:MP client scripts call it: the global function isPedInFlyingVehicle, in JavaScript and in Lua.
isPedInFlyingVehicle(ped: Ped): booleanisPedInFlyingVehicle(ped: Ped): booleanUsage
JavaScript
const result = isPedInFlyingVehicle(ped);Lua
local result = isPedInFlyingVehicle(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_FLYING_VEHICLE(Ped ped)- Hash
0x9134873537FA419C