{"hash":"0xDC91F22F09BC6C2F","ns":"PED","name":"_SET_RELATIONSHIP_GROUP_SCRIPT_REGISTERED","slug":"_SET_RELATIONSHIP_GROUP_SCRIPT_REGISTERED","official":false,"named":true,"luaName":"SetRelationshipGroupScriptRegistered","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"group","type":"Hash"},{"name":"unregister","type":"BOOL"}],"summary":"Registers/unregisters a relationship group as a script resource (type 0x24).","descriptions":[{"source":"alloc8or","format":"text","body":"Registers/unregisters a relationship group as a script resource (type 0x24).\nPass false to register, true to unregister."},{"source":"vorp","format":"text","body":"Used in Script Function MP_MAIN_OFFLINE__INITIALIZE_GAME\n_SET_RELATIONSHIP_*"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_RELATIONSHIP_GROUP_SCRIPT_REGISTERED","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_RELATIONSHIP_GROUP_SCRIPT_REGISTERED.md","snippets":{"lua":"SetRelationshipGroupScriptRegistered(group, unregister)","luaInvoke":"Citizen.InvokeNative(0xDC91F22F09BC6C2F, group, unregister)","js":"SetRelationshipGroupScriptRegistered(group, unregister);","jsInvoke":"Citizen.invokeNative('0xDC91F22F09BC6C2F', group, unregister);","csharp":"Function.Call((Hash)0xDC91F22F09BC6C2F, group, unregister);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","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."]}}