RedM Natives

_SET_PLAYER_RESET_FLAG

Hash0x9F9A829C6751F3C7
Runtime nameSetPlayerResetFlag
NamespacePLAYER
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PLAYER_RESET_FLAG(Player player, int playerResetFlag, BOOL p2);

Parameters

NameTypeDescription
playerPlayer—
playerResetFlagint—
p2BOOL—

Returns void

Description

https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/ePlayerResetFlags
https://github.com/femga/rdr3_discoveries/tree/master/AI/PLAYER_RESET_FLAGS

Usage

Lua
SetPlayerResetFlag(player, playerResetFlag, p2)

-- always works, by hash
Citizen.InvokeNative(0x9F9A829C6751F3C7, player, playerResetFlag, p2)
JavaScript and C#
JavaScript
SetPlayerResetFlag(player, playerResetFlag, p2);

// by hash
Citizen.invokeNative('0x9F9A829C6751F3C7', player, playerResetFlag, p2);
C#
Function.Call((Hash)0x9F9A829C6751F3C7, player, playerResetFlag, p2);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Enums and flags

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.