{"hash":"0x63246A24F5747510","ns":"NETWORK","name":"_NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE","slug":"_NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE","official":false,"named":true,"luaName":"NetworkAutoSessionSetAllowedToMerge","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"toggle","type":"BOOL"},{"name":"p1","type":"Any*"},{"name":"p2","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/NETWORK/_NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/_NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE.md","snippets":{"lua":"local p1 = NetworkAutoSessionSetAllowedToMerge(toggle, p2)","luaInvoke":"local p1 = Citizen.InvokeNative(0x63246A24F5747510, toggle, Citizen.PointerValueInt(), p2)","js":"const p1 = NetworkAutoSessionSetAllowedToMerge(toggle, p2);","jsInvoke":"const p1 = Citizen.invokeNative('0x63246A24F5747510', toggle, Citizen.pointerValueInt(), p2);","csharp":"var p1 = new OutputArgument();\nFunction.Call((Hash)0x63246A24F5747510, toggle, p1, p2);\n// p1.GetResult<int>()","notes":["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."]}}