createGroup
CREATE_GROUP0x90370EBE0FEE1A3DThe GTA V native CREATE_GROUP of the PED namespace, as LS:MP client scripts call it: the global function createGroup, in JavaScript and in Lua.
createGroup(unused: number): numbercreateGroup(unused: integer): integerUsage
JavaScript
const result = createGroup(unused);Lua
local result = createGroup(unused)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
unused | int | number | integer |
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Creates a new ped group.
Groups can contain up to 8 peds.
The parameter is unused.
Returns a handle to the created group, or 0 if a group couldn't be created.
Reference
- Namespace
- Ped PED
- In the game
int CREATE_GROUP(int unused)- Hash
0x90370EBE0FEE1A3D