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