EntityClient

isEntityAnObject

IS_ENTITY_AN_OBJECT0x8D68C8FD0FACA94E

The 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.

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL IS_ENTITY_AN_OBJECT(Entity entity)
Hash
0x8D68C8FD0FACA94E

Open in the interactive natives reference