_NETWORK_SESSION_TRANSITION_TO_SESSION
Hash
0xF20B18A330E6DB5CRuntime name
NetworkSessionTransitionToSessionNamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _NETWORK_SESSION_TRANSITION_TO_SESSION(Any* sessionRequestId);Parameters
| Name | Type | Description |
|---|---|---|
sessionRequestId | Any* | — |
Returns BOOL
Usage
local retval, sessionRequestId = NetworkSessionTransitionToSession(sessionRequestId)
-- always works, by hash
local retval, sessionRequestId = Citizen.InvokeNative(0xF20B18A330E6DB5C, Citizen.PointerValueIntInitialized(sessionRequestId), Citizen.ReturnResultAnyway())JavaScript and C#
const [retval, sessionRequestId] = NetworkSessionTransitionToSession(sessionRequestId);
// by hash
const [retval, sessionRequestId] = Citizen.invokeNative('0xF20B18A330E6DB5C', Citizen.pointerValueIntInitialized(sessionRequestId), Citizen.returnResultAnyway());var sessionRequestId = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xF20B18A330E6DB5C, 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.- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.