RedM Natives

IS_AN_ENTITY

Hash0x27CFF3E5A286D3DF
Runtime nameIsAnEntity
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x731EC8A916BD11A1

Signature

BOOL IS_AN_ENTITY(ScrHandle handle);

Parameters

NameTypeDescription
handleScrHandle—

Returns BOOL

Usage

Lua
local retval = IsAnEntity(handle)

-- always works, by hash
local retval = Citizen.InvokeNative(0x27CFF3E5A286D3DF, handle, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsAnEntity(handle);

// by hash
const retval = Citizen.invokeNative('0x27CFF3E5A286D3DF', handle, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x27CFF3E5A286D3DF, handle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.