isEntityUpright
IS_ENTITY_UPRIGHT0x5333F526F6AB19AAThe 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.
isEntityUpright(entity: Entity, angle: number): booleanisEntityUpright(entity: Entity, angle: number): booleanUsage
JavaScript
const result = isEntityUpright(entity, angle);Lua
local result = isEntityUpright(entity, angle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
angle | float | number | number |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Entity ENTITY
- In the game
BOOL IS_ENTITY_UPRIGHT(Entity entity, float angle)- Hash
0x5333F526F6AB19AA