CREATE_GROUP
Creates a new ped group.
Hash
0x90370EBE0FEE1A3DRuntime name
CreateGroupNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x90370EBE0FEE1A3DSignature
int CREATE_GROUP(int taskAllocator);Parameters
| Name | Type | Description |
|---|---|---|
taskAllocator | int | — |
Returns int
Description
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.
Usage
local retval = CreateGroup(taskAllocator)
-- always works, by hash
local retval = Citizen.InvokeNative(0x90370EBE0FEE1A3D, taskAllocator, Citizen.ResultAsInteger())JavaScript and C#
const retval = CreateGroup(taskAllocator);
// by hash
const retval = Citizen.invokeNative('0x90370EBE0FEE1A3D', taskAllocator, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x90370EBE0FEE1A3D, taskAllocator);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.