pedHasSexinessFlagSet
PED_HAS_SEXINESS_FLAG_SET0x46B05BCAE43856B0The GTA V native PED_HAS_SEXINESS_FLAG_SET of the PED namespace, as LS:MP client scripts call it: the global function pedHasSexinessFlagSet, in JavaScript and in Lua.
pedHasSexinessFlagSet(ped: Ped, sexinessFlag: number): booleanpedHasSexinessFlagSet(ped: Ped, sexinessFlag: integer): booleanUsage
JavaScript
const result = pedHasSexinessFlagSet(ped, sexinessFlag);Lua
local result = pedHasSexinessFlagSet(ped, sexinessFlag)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
sexinessFlag | int | 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.
Checks if the specified sexiness flag is set
Reference
- Namespace
- Ped PED
- In the game
BOOL PED_HAS_SEXINESS_FLAG_SET(Ped ped, int sexinessFlag)- Hash
0x46B05BCAE43856B0