# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.av-scripts.com/laptop-pack-v3/gangs/admin-menu/new-gang.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
