PedClient

isPedInFlyingVehicle

IS_PED_IN_FLYING_VEHICLE0x9134873537FA419C

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

SignatureJavaScript
isPedInFlyingVehicle(ped: Ped): boolean
SignatureLua
isPedInFlyingVehicle(ped: Ped): boolean

Usage

JavaScript
const result = isPedInFlyingVehicle(ped);
Lua
local result = isPedInFlyingVehicle(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_IN_FLYING_VEHICLE(Ped ped)
Hash
0x9134873537FA419C

Open in the interactive natives reference