The Lab
PED native

SET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH

returns void2 paramsbuild 1207

Sets the default relationship group of ped.

Signature

C
void SET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH(Ped ped, Hash hash); // 0xADB3F206518799E8 b1207

Parameters

#NameType
1pedPed
2hashHash

Facts

Facts about SET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH
Name
SET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH
Hash
0xADB3F206518799E8
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0xADB3F206518799E8, -- SET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH
  PlayerPedId(), -- Ped ped
  GetHashKey("name") -- Hash hash
)
JavaScript
Citizen.invokeNative("0xADB3F206518799E8", // SET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH
  PlayerPedId(), // Ped ped
  GetHashKey("name") // Hash hash
);
C#
Function.Call((Hash)0xADB3F206518799E8, // SET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name") // Hash hash
);
All PED natives

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