SET_PED_RELATIONSHIP_GROUP_HASH
Hash
0xC80A74AC829DDD92Runtime name
SetPedRelationshipGroupHashNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xC80A74AC829DDD92Signature
void SET_PED_RELATIONSHIP_GROUP_HASH(Ped ped, Hash relationshipGroup);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
relationshipGroup | Hash | — |
Returns void
Usage
SetPedRelationshipGroupHash(ped, relationshipGroup)
-- always works, by hash
Citizen.InvokeNative(0xC80A74AC829DDD92, ped, relationshipGroup)JavaScript and C#
SetPedRelationshipGroupHash(ped, relationshipGroup);
// by hash
Citizen.invokeNative('0xC80A74AC829DDD92', ped, relationshipGroup);Function.Call((Hash)0xC80A74AC829DDD92, ped, relationshipGroup);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.