EntityClient

isEntityInAir

IS_ENTITY_IN_AIR0x886E37EC497200B6

The GTA V native IS_ENTITY_IN_AIR of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityInAir, in JavaScript and in Lua.

SignatureJavaScript
isEntityInAir(entity: Entity): boolean
SignatureLua
isEntityInAir(entity: Entity): boolean

Usage

JavaScript
const result = isEntityInAir(entity);
Lua
local result = isEntityInAir(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL IS_ENTITY_IN_AIR(Entity entity)
Hash
0x886E37EC497200B6

Open in the interactive natives reference