GET_PED_RESET_FLAG
Hash
0xAF9E59B1B1FBF2A0Runtime name
GetPedResetFlagNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xAF9E59B1B1FBF2A0Signature
BOOL GET_PED_RESET_FLAG(Ped ped, int flagId);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
flagId | int | — |
Returns BOOL
Usage
local retval = GetPedResetFlag(ped, flagId)
-- always works, by hash
local retval = Citizen.InvokeNative(0xAF9E59B1B1FBF2A0, ped, flagId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetPedResetFlag(ped, flagId);
// by hash
const retval = Citizen.invokeNative('0xAF9E59B1B1FBF2A0', ped, flagId, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xAF9E59B1B1FBF2A0, ped, flagId);Enums and flags
- ePedScriptResetFlags 372 values
See also
SET_PED_RESET_FLAGNeeds to be called every frame
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.