isPedInGroup
IS_PED_IN_GROUP0x5891CAC5D4ACFF74The 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.
isPedInGroup(ped: Ped): booleanisPedInGroup(ped: Ped): booleanUsage
JavaScript
const result = isPedInGroup(ped);Lua
local result = isPedInGroup(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Ped PED
- In the game
BOOL IS_PED_IN_GROUP(Ped ped)- Hash
0x5891CAC5D4ACFF74