PedClient

createGroup

CREATE_GROUP0x90370EBE0FEE1A3D

The 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.

SignatureJavaScript
createGroup(unused: number): number
SignatureLua
createGroup(unused: integer): integer

Usage

JavaScript
const result = createGroup(unused);
Lua
local result = createGroup(unused)

Parameters

ParameterTypeJavaScriptLua
unusedintnumberinteger

Returns

int JavaScript number, Lua integer

Notes

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

Open in the interactive natives reference