PedClient

isPedInGroup

IS_PED_IN_GROUP0x5891CAC5D4ACFF74

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

SignatureJavaScript
isPedInGroup(ped: Ped): boolean
SignatureLua
isPedInGroup(ped: Ped): boolean

Usage

JavaScript
const result = isPedInGroup(ped);
Lua
local result = isPedInGroup(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_IN_GROUP(Ped ped)
Hash
0x5891CAC5D4ACFF74

Open in the interactive natives reference