The Lab
PED native

SET_PED_RELATIONSHIP_GROUP_HASH

returns void2 paramsbuild 1207

Moves ped into the relationship group relationshipGroup.

Signature

C
void SET_PED_RELATIONSHIP_GROUP_HASH(Ped ped, Hash relationshipGroup); // 0xC80A74AC829DDD92 b1207

Parameters

#NameType
1pedPed
2relationshipGroupHash

Facts

Facts about SET_PED_RELATIONSHIP_GROUP_HASH
Name
SET_PED_RELATIONSHIP_GROUP_HASH
Hash
0xC80A74AC829DDD92
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(0xC80A74AC829DDD92, -- SET_PED_RELATIONSHIP_GROUP_HASH
  PlayerPedId(), -- Ped ped
  GetHashKey("name") -- Hash relationshipGroup
)
JavaScript
Citizen.invokeNative("0xC80A74AC829DDD92", // SET_PED_RELATIONSHIP_GROUP_HASH
  PlayerPedId(), // Ped ped
  GetHashKey("name") // Hash relationshipGroup
);
C#
Function.Call((Hash)0xC80A74AC829DDD92, // SET_PED_RELATIONSHIP_GROUP_HASH
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name") // Hash relationshipGroup
);
All PED natives

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