SET_PED_RESET_FLAG
Needs to be called every frame
Hash
0xC1E8A365BF3B29F2Runtime name
SetPedResetFlagNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xC1E8A365BF3B29F2Signature
void SET_PED_RESET_FLAG(Ped ped, int flagId, BOOL doReset);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
flagId | int | — |
doReset | BOOL | — |
Returns void
Description
Needs to be called every frame
flagid:https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePedScriptResetFlags
https://github.com/femga/rdr3_discoveries/tree/master/AI/CPED_RESET_FLAGS
Usage
SetPedResetFlag(ped, flagId, doReset)
-- always works, by hash
Citizen.InvokeNative(0xC1E8A365BF3B29F2, ped, flagId, doReset)JavaScript and C#
SetPedResetFlag(ped, flagId, doReset);
// by hash
Citizen.invokeNative('0xC1E8A365BF3B29F2', ped, flagId, doReset);Function.Call((Hash)0xC1E8A365BF3B29F2, ped, flagId, doReset);Enums and flags
- ePedScriptResetFlags 372 values
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.