RedM Natives

GET_PED_CONFIG_FLAG

Hash0x7EE53118C892B513
Runtime nameGetPedConfigFlag
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x7EE53118C892B513

Signature

BOOL GET_PED_CONFIG_FLAG(Ped ped, int flagId, BOOL p2);

Parameters

NameTypeDescription
pedPed—
flagIdint—
p2BOOL—

Returns BOOL

Description

Usage

Lua
local retval = GetPedConfigFlag(ped, flagId, p2)

-- always works, by hash
local retval = Citizen.InvokeNative(0x7EE53118C892B513, ped, flagId, p2, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetPedConfigFlag(ped, flagId, p2);

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

Enums and flags

See also

Sources

alloc8or RDR3 NativeDB

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