IS_PED_HUMAN
Returns true/false if the ped is/isn't humanoid.
Hash
0xB980061DA992779DRuntime name
IsPedHumanNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xB980061DA992779DSignature
BOOL IS_PED_HUMAN(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Description
Returns true/false if the ped is/isn't humanoid.
Usage
local retval = IsPedHuman(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB980061DA992779D, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedHuman(ped);
// by hash
const retval = Citizen.invokeNative('0xB980061DA992779D', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xB980061DA992779D, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.