EntityClient

isAnEntity

IS_AN_ENTITY0x731EC8A916BD11A1

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

SignatureJavaScript
isAnEntity(handle: ScrHandle): boolean
SignatureLua
isAnEntity(handle: ScrHandle): boolean

Usage

JavaScript
const result = isAnEntity(handle);
Lua
local result = isAnEntity(handle)

Parameters

ParameterTypeJavaScriptLua
handleScrHandlenumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL IS_AN_ENTITY(ScrHandle handle)
Hash
0x731EC8A916BD11A1

Open in the interactive natives reference