> For the complete documentation index, see [llms.txt](https://docs.av-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.av-scripts.com/laptop-pack/gangs/admin-menu/new-gang.md).

# New Gang

### Admin Panel

1 - Open the admin panel

2- In the left bottom corner click the Create Gang button

3 - Set the gang name

4 - Optional: set the boss server id

<figure><img src="/files/MTtRvgtp8tIwD0OkblDb" alt=""><figcaption></figcaption></figure>

### External Resource

* You can use the following export from your own resource to register a new gang:

```lua
local gangName = "Los Santos Vagos"
local boss = 1 -- boss server id or false
local result = exports['av_gangs']:registerGang(gangName, boss)
print(result) -- true / false
```

{% hint style="info" %}
Don't add weird symbols to gang name to prevent any incompatibility issues with the script code.
{% endhint %}
