RedM Natives

NETWORK_AUTO_SESSION_CAN_SPLIT_SESSION

Hash0xE404BFF0ABA23CDC
Runtime nameNetworkAutoSessionCanSplitSession
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL NETWORK_AUTO_SESSION_CAN_SPLIT_SESSION(int* p0);

Parameters

NameTypeDescription
p0int*—

Returns BOOL

Usage

Lua
local retval, p0 = NetworkAutoSessionCanSplitSession(p0)

-- always works, by hash
local retval, p0 = Citizen.InvokeNative(0xE404BFF0ABA23CDC, Citizen.PointerValueIntInitialized(p0), Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const [retval, p0] = NetworkAutoSessionCanSplitSession(p0);

// by hash
const [retval, p0] = Citizen.invokeNative('0xE404BFF0ABA23CDC', Citizen.pointerValueIntInitialized(p0), Citizen.returnResultAnyway());
C#
var p0 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xE404BFF0ABA23CDC, p0);
// p0.GetResult<int>()
  • The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.

Sources

alloc8or RDR3 NativeDB

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