The Lab
PLAYER native

_SET_PLAYER_RESET_FLAG

returns void3 paramsbuild 1207

Sets the per-frame reset flag playerResetFlag on player.

Reset flags clear every frame, so set it each frame it should apply.

Signature

C
void _SET_PLAYER_RESET_FLAG(Player player, int playerResetFlag, BOOL p2); // 0x9F9A829C6751F3C7 b1207

Parameters

#NameType
1playerPlayer
2playerResetFlagint
3p2BOOL

Facts

Facts about _SET_PLAYER_RESET_FLAG
Name
_SET_PLAYER_RESET_FLAG
Hash
0x9F9A829C6751F3C7
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(0x9F9A829C6751F3C7, -- _SET_PLAYER_RESET_FLAG
  PlayerId(), -- Player player
  0, -- int playerResetFlag
  false -- BOOL p2
)
JavaScript
Citizen.invokeNative("0x9F9A829C6751F3C7", // _SET_PLAYER_RESET_FLAG
  PlayerId(), // Player player
  0, // int playerResetFlag
  false // BOOL p2
);
C#
Function.Call((Hash)0x9F9A829C6751F3C7, // _SET_PLAYER_RESET_FLAG
  API.PlayerId(), // Player player
  0, // int playerResetFlag
  false // BOOL p2
);
All PLAYER natives

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