GET_PED_RELATIONSHIP_GROUP_HASH
Gets the current relationship group hash of a ped.
Signature
Hash GET_PED_RELATIONSHIP_GROUP_HASH(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | The target ped |
Returns Hash — The relationship group hash.
Description
Gets the current relationship group hash of a ped.
Usage
local retval = GetPedRelationshipGroupHash(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x354f283c, ped, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPedRelationshipGroupHash(ped);
// by hash
const retval = Citizen.invokeNative('0x354f283c', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x354f283c, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.