The Lab
PED native

_GET_DEFAULT_RELATIONSHIP_GROUP_HASH

returns Hash1 parambuild 1207

Returns the default relationship group hash for peds of model modelHash.

Signature

C
Hash _GET_DEFAULT_RELATIONSHIP_GROUP_HASH(Hash modelHash); // 0x3CC4A718C258BDD0 b1207

Parameters

#NameType
1modelHashHash

Facts

Facts about _GET_DEFAULT_RELATIONSHIP_GROUP_HASH
Name
_GET_DEFAULT_RELATIONSHIP_GROUP_HASH
Hash
0x3CC4A718C258BDD0
Namespace
Returns
Hash
Game build
1207

Examples

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

Lua
local hash = Citizen.InvokeNative(0x3CC4A718C258BDD0, -- _GET_DEFAULT_RELATIONSHIP_GROUP_HASH
  GetHashKey("a_c_horse_arabian_white"), -- Hash modelHash
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0x3CC4A718C258BDD0", // _GET_DEFAULT_RELATIONSHIP_GROUP_HASH
  GetHashKey("a_c_horse_arabian_white"), // Hash modelHash
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0x3CC4A718C258BDD0, // _GET_DEFAULT_RELATIONSHIP_GROUP_HASH
  (uint)API.GetHashKey("a_c_horse_arabian_white") // Hash modelHash
);
All PED natives

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