getPedRelationshipGroupHash
GET_PED_RELATIONSHIP_GROUP_HASH0x7DBDD04862D95F04The GTA V native GET_PED_RELATIONSHIP_GROUP_HASH of the PED namespace, as LS:MP client scripts call it: the global function getPedRelationshipGroupHash, in JavaScript and in Lua.
getPedRelationshipGroupHash(ped: Ped): HashgetPedRelationshipGroupHash(ped: Ped): HashUsage
JavaScript
const hash = getPedRelationshipGroupHash(ped);Lua
local hash = getPedRelationshipGroupHash(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
Hash JavaScript number, Lua integerA game hash. Natives return it unsigned (0 to 4294967295), the value lsmp.hash gives. As an argument, the signed and unsigned forms of a hash are the same value.
Reference
- Namespace
- Ped PED
- In the game
Hash GET_PED_RELATIONSHIP_GROUP_HASH(Ped ped)- Hash
0x7DBDD04862D95F04