NETWORK_SESSION_LEFT_QUEUE_OR_REQUESTED_SESSION
Hash
0xECE6A0C1B59CD8BERuntime name
NetworkSessionLeftQueueOrRequestedSessionNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL NETWORK_SESSION_LEFT_QUEUE_OR_REQUESTED_SESSION(Any* sessionRequestId);Parameters
| Name | Type | Description |
|---|---|---|
sessionRequestId | Any* | — |
Returns BOOL
Usage
local retval, sessionRequestId = NetworkSessionLeftQueueOrRequestedSession(sessionRequestId)
-- always works, by hash
local retval, sessionRequestId = Citizen.InvokeNative(0xECE6A0C1B59CD8BE, Citizen.PointerValueIntInitialized(sessionRequestId), Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, sessionRequestId] = NetworkSessionLeftQueueOrRequestedSession(sessionRequestId);
// by hash
const [retval, sessionRequestId] = Citizen.invokeNative('0xECE6A0C1B59CD8BE', Citizen.pointerValueIntInitialized(sessionRequestId), Citizen.returnResultAnyway());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
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.