PedClient

isPedInAnyPlane

IS_PED_IN_ANY_PLANE0x5FFF4CFC74D8FB80

The GTA V native IS_PED_IN_ANY_PLANE of the PED namespace, as LS:MP client scripts call it: the global function isPedInAnyPlane, in JavaScript and in Lua.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_IN_ANY_PLANE(Ped ped)
Hash
0x5FFF4CFC74D8FB80

Open in the interactive natives reference