isAnEntity
IS_AN_ENTITY0x731EC8A916BD11A1The GTA V native IS_AN_ENTITY of the ENTITY namespace, as LS:MP client scripts call it: the global function isAnEntity, in JavaScript and in Lua.
isAnEntity(handle: ScrHandle): booleanisAnEntity(handle: ScrHandle): booleanUsage
JavaScript
const result = isAnEntity(handle);Lua
local result = isAnEntity(handle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
handle | ScrHandle | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Entity ENTITY
- In the game
BOOL IS_AN_ENTITY(ScrHandle handle)- Hash
0x731EC8A916BD11A1