EntityClient

isEntityUpright

IS_ENTITY_UPRIGHT0x5333F526F6AB19AA

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

SignatureJavaScript
isEntityUpright(entity: Entity, angle: number): boolean
SignatureLua
isEntityUpright(entity: Entity, angle: number): boolean

Usage

JavaScript
const result = isEntityUpright(entity, angle);
Lua
local result = isEntityUpright(entity, angle)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
anglefloatnumbernumber

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL IS_ENTITY_UPRIGHT(Entity entity, float angle)
Hash
0x5333F526F6AB19AA

Open in the interactive natives reference