bitburner-src/markdown/bitburner.gang.recruitmember.md

35 lines
824 B
Markdown
Raw Normal View History

2021-10-30 18:34:14 +02:00
<!-- 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
2 GB