RedM Natives

IS_PED_MALE

Returns true/false if the ped is/isn't male.

Hash0x6D9F5FAA7488BA46
Runtime nameIsPedMale
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x6D9F5FAA7488BA46

Signature

BOOL IS_PED_MALE(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Description

Returns true/false if the ped is/isn't male.

Usage

Lua
local retval = IsPedMale(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x6D9F5FAA7488BA46, ped, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsPedMale(ped);

// by hash
const retval = Citizen.invokeNative('0x6D9F5FAA7488BA46', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x6D9F5FAA7488BA46, ped);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.