PedClient

getPedRelationshipGroupDefaultHash

GET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH0x42FDD0F017B1E38E

The GTA V native GET_PED_RELATIONSHIP_GROUP_DEFAULT_HASH of the PED namespace, as LS:MP client scripts call it: the global function getPedRelationshipGroupDefaultHash, in JavaScript and in Lua.

SignatureJavaScript
getPedRelationshipGroupDefaultHash(ped: Ped): Hash
SignatureLua
getPedRelationshipGroupDefaultHash(ped: Ped): Hash

Usage

JavaScript
const hash = getPedRelationshipGroupDefaultHash(ped);
Lua
local hash = getPedRelationshipGroupDefaultHash(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Hash JavaScript number, Lua integer

A 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_DEFAULT_HASH(Ped ped)
Hash
0x42FDD0F017B1E38E

Open in the interactive natives reference