PedClient

pedHasSexinessFlagSet

PED_HAS_SEXINESS_FLAG_SET0x46B05BCAE43856B0

The 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.

SignatureJavaScript
pedHasSexinessFlagSet(ped: Ped, sexinessFlag: number): boolean
SignatureLua
pedHasSexinessFlagSet(ped: Ped, sexinessFlag: integer): boolean

Usage

JavaScript
const result = pedHasSexinessFlagSet(ped, sexinessFlag);
Lua
local result = pedHasSexinessFlagSet(ped, sexinessFlag)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
sexinessFlagintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Open in the interactive natives reference