The Lab
PLAYER native

_GET_PLAYER_RESET_FLAG

returns BOOL2 paramsbuild 1207

Returns true if the per-frame reset flag playerResetFlag is set on player.

Signature

C
BOOL _GET_PLAYER_RESET_FLAG(Player player, int playerResetFlag); // 0xFE691E89C08937B6 b1207

Parameters

#NameType
1playerPlayer
2playerResetFlagint

Facts

Facts about _GET_PLAYER_RESET_FLAG
Name
_GET_PLAYER_RESET_FLAG
Hash
0xFE691E89C08937B6
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xFE691E89C08937B6, -- _GET_PLAYER_RESET_FLAG
  PlayerId(), -- Player player
  0 -- int playerResetFlag
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xFE691E89C08937B6", // _GET_PLAYER_RESET_FLAG
  PlayerId(), // Player player
  0, // int playerResetFlag
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xFE691E89C08937B6, // _GET_PLAYER_RESET_FLAG
  API.PlayerId(), // Player player
  0 // int playerResetFlag
);
All PLAYER natives

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