_SET_RELATIONSHIP_GROUP_SCRIPT_REGISTERED
Registers/unregisters a relationship group as a script resource (type 0x24).
Hash
0xDC91F22F09BC6C2FRuntime name
SetRelationshipGroupScriptRegisteredNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_RELATIONSHIP_GROUP_SCRIPT_REGISTERED(Hash group, BOOL unregister);Parameters
| Name | Type | Description |
|---|---|---|
group | Hash | — |
unregister | BOOL | — |
Returns void
Description
Registers/unregisters a relationship group as a script resource (type 0x24).
Pass false to register, true to unregister.
Used in Script Function MP_MAIN_OFFLINE__INITIALIZE_GAME
_SET_RELATIONSHIP_*
Usage
SetRelationshipGroupScriptRegistered(group, unregister)
-- always works, by hash
Citizen.InvokeNative(0xDC91F22F09BC6C2F, group, unregister)JavaScript and C#
SetRelationshipGroupScriptRegistered(group, unregister);
// by hash
Citizen.invokeNative('0xDC91F22F09BC6C2F', group, unregister);Function.Call((Hash)0xDC91F22F09BC6C2F, group, unregister);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.