EntityClient

isEntityUpsidedown

IS_ENTITY_UPSIDEDOWN0x1DBD58820FA61D71

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL IS_ENTITY_UPSIDEDOWN(Entity entity)
Hash
0x1DBD58820FA61D71

Open in the interactive natives reference