RedM Natives

NETWORK_SESSION_REMOVE_SESSION_FLAGS

Hash0x78335E12DB0BF961
Runtime nameNetworkSessionRemoveSessionFlags
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL NETWORK_SESSION_REMOVE_SESSION_FLAGS(int flags);

Parameters

NameTypeDescription
flagsint—

Returns BOOL

Description

Usage

Lua
local retval = NetworkSessionRemoveSessionFlags(flags)

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

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

Sources

alloc8or RDR3 NativeDB

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