# PED::SET_PED_RELATIONSHIP_GROUP_HASH

- **Hash:** `0xC80A74AC829DDD92`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `SetPedRelationshipGroupHash`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/SET_PED_RELATIONSHIP_GROUP_HASH

## Signature

```c
void SET_PED_RELATIONSHIP_GROUP_HASH(Ped ped, Hash relationshipGroup);
```

## Parameters

- `ped` (`Ped`)
- `relationshipGroup` (`Hash`)

## Returns

`void`

## Usage

### Lua

```lua
SetPedRelationshipGroupHash(ped, relationshipGroup)

-- always available, by hash
Citizen.InvokeNative(0xC80A74AC829DDD92, ped, relationshipGroup)
```

### JavaScript

```js
SetPedRelationshipGroupHash(ped, relationshipGroup);

// by hash
Citizen.invokeNative('0xC80A74AC829DDD92', ped, relationshipGroup);
```

### C#

```csharp
Function.Call((Hash)0xC80A74AC829DDD92, ped, relationshipGroup);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.

## See also

- [PED::GET_PED_RELATIONSHIP_GROUP_HASH](https://natives.borderlinerp.com/natives/PED/GET_PED_RELATIONSHIP_GROUP_HASH.md)

*Sources: alloc8or RDR3 NativeDB.*
