# NETWORK::_NETWORK_SESSION_SET_PLAYER_FLAGS

- **Hash:** `0x0AE241A4A9ADEEEC`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `NetworkSessionSetPlayerFlags`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/_NETWORK_SESSION_SET_PLAYER_FLAGS

## Signature

```c
BOOL _NETWORK_SESSION_SET_PLAYER_FLAGS(int flags);
```

## Parameters

- `flags` (`int`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = NetworkSessionSetPlayerFlags(flags)

-- always available, by hash
local retval = Citizen.InvokeNative(0x0AE241A4A9ADEEEC, flags, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = NetworkSessionSetPlayerFlags(flags);

// by hash
const retval = Citizen.invokeNative('0x0AE241A4A9ADEEEC', flags, Citizen.returnResultAnyway());
```

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0x0AE241A4A9ADEEEC, flags);
```

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

*Sources: alloc8or RDR3 NativeDB.*
