RedM Natives

GET_PED_RESET_FLAG

Hash0xAF9E59B1B1FBF2A0
Runtime nameGetPedResetFlag
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xAF9E59B1B1FBF2A0

Signature

BOOL GET_PED_RESET_FLAG(Ped ped, int flagId);

Parameters

NameTypeDescription
pedPed—
flagIdint—

Returns BOOL

Usage

Lua
local retval = GetPedResetFlag(ped, flagId)

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

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

Enums and flags

See also

Sources

alloc8or RDR3 NativeDB

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