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