Files
bitburner-src/markdown/bitburner.gang.creategang.md
T
2025-05-10 22:13:22 -07:00

35 lines
804 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Gang](./bitburner.gang.md) &gt; [createGang](./bitburner.gang.creategang.md)
## Gang.createGang() method
Create a gang.
**Signature:**
```typescript
createGang(faction: FactionName): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| faction | [FactionName](./bitburner.factionname.md) | Name of the faction that you want to create a gang with. This faction must allow this action, and you must be its member. |
**Returns:**
boolean
True if the gang was created, false otherwise.
## Remarks
RAM cost: 1GB
Create a gang with the specified faction.
Outside BitNode 2, your karma must be less than or equal to 54000.