SET_PED_RESET_FLAG
Sets the reset flag flagId on ped for the current frame.
Reset flags clear every frame, so call it each frame.
Signature
void SET_PED_RESET_FLAG(Ped ped, int flagId, BOOL doReset); // 0xC1E8A365BF3B29F2 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | flagId | int |
| 3 | doReset | BOOL |
Facts
| Name | SET_PED_RESET_FLAG |
|---|---|
| Hash | 0xC1E8A365BF3B29F2 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xC1E8A365BF3B29F2, -- SET_PED_RESET_FLAG
PlayerPedId(), -- Ped ped
0, -- int flagId
false -- BOOL doReset
)Citizen.invokeNative("0xC1E8A365BF3B29F2", // SET_PED_RESET_FLAG
PlayerPedId(), // Ped ped
0, // int flagId
false // BOOL doReset
);Function.Call((Hash)0xC1E8A365BF3B29F2, // SET_PED_RESET_FLAG
API.PlayerPedId(), // Ped ped
0, // int flagId
false // BOOL doReset
);Related PED natives
- SET_PED_CONFIG_FLAG
- SET_PED_LASSO_HOGTIE_FLAG
- SET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH
- SET_PED_RELATIONSHIP_GROUP_HASH
- SET_PED_RAGDOLL_FORCE_FALL
- SET_PED_RAGDOLL_ON_COLLISION
- SET_PED_RANDOM_COMPONENT_VARIATION
- _SET_PED_ACTION_DISABLE_FLAG
- _SET_PED_GRAPPLE_FLAG
- _SET_PED_IMMERSION_FLAG
- _SET_PED_TARGET_ACTION_DISABLE_FLAG
- _SET_STAGED_PED_FLAG
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.