PedClient

isPedInAnyHeli

IS_PED_IN_ANY_HELI0x298B91AE825E5705

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_IN_ANY_HELI(Ped ped)
Hash
0x298B91AE825E5705

Open in the interactive natives reference