# PLAYER::_SET_PLAYER_RESET_FLAG

- **Hash:** `0x9F9A829C6751F3C7`
- **Namespace:** PLAYER
- **Runtime name (Lua/JS):** `SetPlayerResetFlag`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PLAYER/_SET_PLAYER_RESET_FLAG

## Signature

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

## Parameters

- `player` (`Player`)
- `playerResetFlag` (`int`)
- `p2` (`BOOL`)

## 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

```lua
SetPlayerResetFlag(player, playerResetFlag, p2)

-- always available, by hash
Citizen.InvokeNative(0x9F9A829C6751F3C7, player, playerResetFlag, p2)
```

### JavaScript

```js
SetPlayerResetFlag(player, playerResetFlag, p2);

// by hash
Citizen.invokeNative('0x9F9A829C6751F3C7', player, playerResetFlag, p2);
```

### C#

```csharp
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.

## Related enums

- [ePlayerResetFlags](https://natives.borderlinerp.com/enums/ePlayerResetFlags.md) — 58 values

## See also

- [PLAYER::_GET_PLAYER_RESET_FLAG](https://natives.borderlinerp.com/natives/PLAYER/_GET_PLAYER_RESET_FLAG.md)

*Sources: alloc8or RDR3 NativeDB.*
