The Lab
NETWORK native

_NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE

returns void3 paramsbuild 1207

Sets whether the auto session is allowed to merge with others.

Signature

C
void _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE(BOOL toggle, Any* p1, int p2); // 0x63246A24F5747510 b1207

Parameters

#NameType
1toggleBOOL
2p1Any* (out pointer)
3p2int

Facts

Facts about _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE
Name
_NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE
Hash
0x63246A24F5747510
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local p1 = Citizen.InvokeNative(0x63246A24F5747510, -- _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE
  false, -- BOOL toggle
  Citizen.PointerValueInt(), -- Any* p1
  0 -- int p2
)
print(p1)
JavaScript
const p1 = Citizen.invokeNative("0x63246A24F5747510", // _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE
  false, // BOOL toggle
  Citizen.pointerValueInt(), // Any* p1
  0 // int p2
);
console.log(p1)
C#
var p1Arg = new OutputArgument();
Function.Call((Hash)0x63246A24F5747510, // _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE
  false, // BOOL toggle
  p1Arg, // Any* p1
  0 // int p2
);
int p1 = p1Arg.GetResult<int>();
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.