# CFX::GET_PED_RELATIONSHIP_GROUP_HASH

- **Hash:** `0x354F283C`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `GetPedRelationshipGroupHash`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/GET_PED_RELATIONSHIP_GROUP_HASH

## Signature

```c
Hash GET_PED_RELATIONSHIP_GROUP_HASH(Ped ped);
```

## Parameters

- `ped` (`Ped`) — The target ped

## Returns

`Hash` — The relationship group hash.

## Description

*Source: Cfx.re native reference*

Gets the current relationship group hash of a ped.

## Usage

### Lua

```lua
local retval = GetPedRelationshipGroupHash(ped)

-- always available, by hash
local retval = Citizen.InvokeNative(0x354f283c, ped, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetPedRelationshipGroupHash(ped);

// by hash
const retval = Citizen.invokeNative('0x354f283c', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x354f283c, ped);
```

*Sources: Cfx.re native reference.*
