bitburner-src/markdown/bitburner.gang.recruitmember.md
Olivier Gagnon feb0430aff work on doc
2021-10-30 15:46:34 -04:00

35 lines
834 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; [recruitMember](./bitburner.gang.recruitmember.md)
## Gang.recruitMember() method
If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.
Attempt to recruit a new gang member.
Possible reasons for failure: \* Cannot currently recruit a new member \* There already exists a member with the specified name
<b>Signature:</b>
```typescript
recruitMember(name: string): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| name | string | Name of member to recruit. |
<b>Returns:</b>
boolean
True if the member was successfully recruited, false otherwise.
## Remarks
RAM cost: 2 GB