mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 21:53:50 +01:00
33 lines
581 B
Markdown
33 lines
581 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [createGang](./bitburner.gang.creategang.md)
|
||
|
|
||
|
## Gang.createGang() method
|
||
|
|
||
|
Create a gang.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
createGang(faction: string): boolean;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| faction | string | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
boolean
|
||
|
|
||
|
True if the gang was created, false otherwise.
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 1GB
|
||
|
|
||
|
Create a gang with the specified faction.
|
||
|
|