isPedMale
IS_PED_MALE0x6D9F5FAA7488BA46The GTA V native IS_PED_MALE of the PED namespace, as LS:MP client scripts call it: the global function isPedMale, in JavaScript and in Lua.
isPedMale(ped: Ped): booleanisPedMale(ped: Ped): booleanUsage
JavaScript
const result = isPedMale(ped);Lua
local result = isPedMale(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns true/false if the ped is/isn't male.
Reference
- Namespace
- Ped PED
- In the game
BOOL IS_PED_MALE(Ped ped)- Hash
0x6D9F5FAA7488BA46