PedClient

doesRelationshipGroupExist

DOES_RELATIONSHIP_GROUP_EXIST0xCC6E3B6BB69501F1

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

SignatureJavaScript
doesRelationshipGroupExist(groupHash: Hash): boolean
SignatureLua
doesRelationshipGroupExist(groupHash: Hash): boolean

Usage

JavaScript
const result = doesRelationshipGroupExist(groupHash);
Lua
local result = doesRelationshipGroupExist(groupHash)

Parameters

ParameterTypeJavaScriptLua
groupHashHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL DOES_RELATIONSHIP_GROUP_EXIST(Hash groupHash)
Hash
0xCC6E3B6BB69501F1
Introduced
Game build 505 legacy numbering
Formerly
_DOES_RELATIONSHIP_GROUP_EXIST

Open in the interactive natives reference