GET_RELATIONSHIP_BETWEEN_GROUPS
Hash
0x9E6B70061662AE5CRuntime name
GetRelationshipBetweenGroupsNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x9E6B70061662AE5CSignature
int GET_RELATIONSHIP_BETWEEN_GROUPS(Hash group1, Hash group2);Parameters
| Name | Type | Description |
|---|---|---|
group1 | Hash | — |
group2 | Hash | — |
Returns int
Usage
local retval = GetRelationshipBetweenGroups(group1, group2)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9E6B70061662AE5C, group1, group2, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetRelationshipBetweenGroups(group1, group2);
// by hash
const retval = Citizen.invokeNative('0x9E6B70061662AE5C', group1, group2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x9E6B70061662AE5C, group1, group2);- 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`.
Enums and flags
- eRelationType 10 values
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.