RedM Natives

_NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE

Hash0x63246A24F5747510
Runtime nameNetworkAutoSessionSetAllowedToMerge
NamespaceNETWORK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE(BOOL toggle, Any* p1, int p2);

Parameters

NameTypeDescription
toggleBOOL—
p1Any*—
p2int—

Returns void

Usage

Lua
local p1 = NetworkAutoSessionSetAllowedToMerge(toggle, p2)

-- always works, by hash
local p1 = Citizen.InvokeNative(0x63246A24F5747510, toggle, Citizen.PointerValueInt(), p2)
JavaScript and C#
JavaScript
const p1 = NetworkAutoSessionSetAllowedToMerge(toggle, p2);

// by hash
const p1 = Citizen.invokeNative('0x63246A24F5747510', toggle, Citizen.pointerValueInt(), p2);
C#
var p1 = new OutputArgument();
Function.Call((Hash)0x63246A24F5747510, toggle, p1, p2);
// p1.GetResult<int>()
  • Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
  • 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 InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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