RedM Natives

NETWORK_SESSION_LEAVE_SESSION

Hash0x17C21B7319A05047
Runtime nameNetworkSessionLeaveSession
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL NETWORK_SESSION_LEAVE_SESSION();

Returns BOOL

Usage

Lua
local retval = NetworkSessionLeaveSession()

-- always works, by hash
local retval = Citizen.InvokeNative(0x17C21B7319A05047, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = NetworkSessionLeaveSession();

// by hash
const retval = Citizen.invokeNative('0x17C21B7319A05047', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x17C21B7319A05047);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.