isEntityAnObject
IS_ENTITY_AN_OBJECT0x8D68C8FD0FACA94EThe GTA V native IS_ENTITY_AN_OBJECT of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityAnObject, in JavaScript and in Lua.
isEntityAnObject(entity: Entity): booleanisEntityAnObject(entity: Entity): booleanUsage
JavaScript
const result = isEntityAnObject(entity);Lua
local result = isEntityAnObject(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Entity ENTITY
- In the game
BOOL IS_ENTITY_AN_OBJECT(Entity entity)- Hash
0x8D68C8FD0FACA94E