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