# NETWORK::NETWORK_SESSION_LEFT_QUEUE_OR_REQUESTED_SESSION

- **Hash:** `0xECE6A0C1B59CD8BE`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `NetworkSessionLeftQueueOrRequestedSession`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/NETWORK_SESSION_LEFT_QUEUE_OR_REQUESTED_SESSION

## Signature

```c
BOOL NETWORK_SESSION_LEFT_QUEUE_OR_REQUESTED_SESSION(Any* sessionRequestId);
```

## Parameters

- `sessionRequestId` (`Any*`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval, sessionRequestId = NetworkSessionLeftQueueOrRequestedSession(sessionRequestId)

-- always available, by hash
local retval, sessionRequestId = Citizen.InvokeNative(0xECE6A0C1B59CD8BE, Citizen.PointerValueIntInitialized(sessionRequestId), Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const [retval, sessionRequestId] = NetworkSessionLeftQueueOrRequestedSession(sessionRequestId);

// by hash
const [retval, sessionRequestId] = Citizen.invokeNative('0xECE6A0C1B59CD8BE', Citizen.pointerValueIntInitialized(sessionRequestId), Citizen.returnResultAnyway());
```

### C#

```csharp
var sessionRequestId = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xECE6A0C1B59CD8BE, sessionRequestId);
// sessionRequestId.GetResult<int>()
```

- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
- `Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.

*Sources: alloc8or RDR3 NativeDB.*
