The Lab
PED native

SET_PED_RESET_FLAG

returns void3 paramsbuild 1207

Sets the reset flag flagId on ped for the current frame.

Reset flags clear every frame, so call it each frame.

Signature

C
void SET_PED_RESET_FLAG(Ped ped, int flagId, BOOL doReset); // 0xC1E8A365BF3B29F2 b1207

Parameters

#NameType
1pedPed
2flagIdint
3doResetBOOL

Facts

Facts about SET_PED_RESET_FLAG
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.

Lua
Citizen.InvokeNative(0xC1E8A365BF3B29F2, -- SET_PED_RESET_FLAG
  PlayerPedId(), -- Ped ped
  0, -- int flagId
  false -- BOOL doReset
)
JavaScript
Citizen.invokeNative("0xC1E8A365BF3B29F2", // SET_PED_RESET_FLAG
  PlayerPedId(), // Ped ped
  0, // int flagId
  false // BOOL doReset
);
C#
Function.Call((Hash)0xC1E8A365BF3B29F2, // SET_PED_RESET_FLAG
  API.PlayerPedId(), // Ped ped
  0, // int flagId
  false // BOOL doReset
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.