# FAQ

## ❓ FAQ

Answers to the most common questions and issues.

***

#### ❌ The admin panel won't open

Make sure:

* Your player has the correct `AdminGroup` set in `config.lua`
* Or your license is listed in `Config.AdminLicenses`
* The resource started without errors *(check server console)*

***

#### ❌ Players can't join with /arena

Make sure you clicked **Start Arena** first in the admin panel **Arena tab**. The join command only works when the arena is in an active state.

***

#### ❌ The database tables don't exist

Import `schema.sql` manually into your database. The script does **not** auto-create tables — you must run the SQL file once.

***

#### ❓ oxmysql or mysql-async — which should I use?

Use **oxmysql** — it's faster and more modern. The script auto-detects it. Just make sure it's running and ensured **before** `moh-gangwar` in `server.cfg`.

***

#### ❓ Revive & Return isn't working

Enable it from the **Arena tab** in the admin panel. If enabled mid-round, it will automatically sweep any already-dead players back to lobby.

***

#### ❌ Gang blacklist isn't kicking players

Make sure you have:

1. Added `Config.DB.tableGangBlacklist = "arena_gang_blacklist"` in your `config.lua`
2. Imported the `schema.sql` — the `arena_gang_blacklist` table must exist in your database

***

#### ❓ Can I change the weapon mid-fight?

Not mid-fight. Change the weapon hash in `config.lua` before starting the **next fight**.

***

#### 💬 How do I contact support?

DM on Discord: **mohssin**


---

# 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://mohssins.gitbook.io/mohscriptsdocs/moh-gangwar/faq.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.
