# NETWORK::_NETWORK_AUTO_SESSION_SET_ALLOWED_TO_SPLIT

- **Hash:** `0x0A428058079EE65C`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `NetworkAutoSessionSetAllowedToSplit`
- **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_AUTO_SESSION_SET_ALLOWED_TO_SPLIT

## Signature

```c
void _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_SPLIT(BOOL toggle);
```

## Parameters

- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
NetworkAutoSessionSetAllowedToSplit(toggle)

-- always available, by hash
Citizen.InvokeNative(0x0A428058079EE65C, toggle)
```

### JavaScript

```js
NetworkAutoSessionSetAllowedToSplit(toggle);

// by hash
Citizen.invokeNative('0x0A428058079EE65C', toggle);
```

### C#

```csharp
Function.Call((Hash)0x0A428058079EE65C, toggle);
```

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