RedM Natives

GET_PED_RELATIONSHIP_GROUP_HASH

Gets the current relationship group hash of a ped.

Hash0x354F283C
Runtime nameGetPedRelationshipGroupHash
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

Hash GET_PED_RELATIONSHIP_GROUP_HASH(Ped ped);

Parameters

NameTypeDescription
pedPed

The target ped

Returns Hash — The relationship group hash.

Description

Cfx.re native reference

Gets the current relationship group hash of a ped.

Usage

Lua
local retval = GetPedRelationshipGroupHash(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x354f283c, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetPedRelationshipGroupHash(ped);

// by hash
const retval = Citizen.invokeNative('0x354f283c', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x354f283c, ped);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.