IS_AN_ENTITY
Hash
0x27CFF3E5A286D3DFRuntime name
IsAnEntityNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x731EC8A916BD11A1Signature
BOOL IS_AN_ENTITY(ScrHandle handle);Parameters
| Name | Type | Description |
|---|---|---|
handle | ScrHandle | — |
Returns BOOL
Usage
local retval = IsAnEntity(handle)
-- always works, by hash
local retval = Citizen.InvokeNative(0x27CFF3E5A286D3DF, handle, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsAnEntity(handle);
// by hash
const retval = Citizen.invokeNative('0x27CFF3E5A286D3DF', handle, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x27CFF3E5A286D3DF, handle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.