The Lab
PED native

GET_RELATIONSHIP_BETWEEN_GROUPS

returns int2 paramsbuild 1207

Returns the relationship level between group1 and group2, from companion to hate.

Signature

C
int GET_RELATIONSHIP_BETWEEN_GROUPS(Hash group1, Hash group2); // 0x9E6B70061662AE5C b1207

Parameters

#NameType
1group1Hash
2group2Hash

Facts

Facts about GET_RELATIONSHIP_BETWEEN_GROUPS
Name
GET_RELATIONSHIP_BETWEEN_GROUPS
Hash
0x9E6B70061662AE5C
Namespace
Returns
int
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x9E6B70061662AE5C, -- GET_RELATIONSHIP_BETWEEN_GROUPS
  GetHashKey("name"), -- Hash group1
  GetHashKey("name"), -- Hash group2
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x9E6B70061662AE5C", // GET_RELATIONSHIP_BETWEEN_GROUPS
  GetHashKey("name"), // Hash group1
  GetHashKey("name"), // Hash group2
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x9E6B70061662AE5C, // GET_RELATIONSHIP_BETWEEN_GROUPS
  (uint)API.GetHashKey("name"), // Hash group1
  (uint)API.GetHashKey("name") // Hash group2
);
All PED natives

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