RedM Natives

SET_PED_RELATIONSHIP_GROUP_HASH

Hash0xC80A74AC829DDD92
Runtime nameSetPedRelationshipGroupHash
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC80A74AC829DDD92

Signature

void SET_PED_RELATIONSHIP_GROUP_HASH(Ped ped, Hash relationshipGroup);

Parameters

NameTypeDescription
pedPed—
relationshipGroupHash—

Returns void

Usage

Lua
SetPedRelationshipGroupHash(ped, relationshipGroup)

-- always works, by hash
Citizen.InvokeNative(0xC80A74AC829DDD92, ped, relationshipGroup)
JavaScript and C#
JavaScript
SetPedRelationshipGroupHash(ped, relationshipGroup);

// by hash
Citizen.invokeNative('0xC80A74AC829DDD92', ped, relationshipGroup);
C#
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

Sources

alloc8or RDR3 NativeDB

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