# Common

### 💬 Chat doesn't open

**Solution:**

1. Check if `T` key is bound
2. Verify resource started: `restart elena_chat`
3. Check console for errors

***

### 🔄 Two chats showing

**Cause:** Default FiveM chat not disabled.

**Solution:** Add to `server.cfg`:

```cfg
set resources_useSystemChat false
```

***

### 🚫 Admin chat says "no permission"

**Solution:** Check ACE permissions:

```cfg
add_ace group.admin command allow
add_principal identifier.license:YOUR_LICENSE group.admin
```

Test in-game: `/checkadmin`

***

### 💾 Settings not saving

**Causes:**

* ❌ oxmysql not started
* ❌ Database connection failed

**Solution:**

1. `ensure oxmysql` in server.cfg (BEFORE elena\_chat)
2. Restart elena\_chat
3. Look for "Database tablosu hazır" in console

***

### 🎯 Drawtext not showing

**Solution:**

1. Open `/chatset`
2. Enable "Drawtext" toggle
3. Make sure you're within 30m of player

***

### 🌍 Language not changing

**Solution:**

1. Click on flag in `/chatset`
2. Refresh chat (close + open with T)
3. Check console for errors

***

> 💬 Still need help? Join our Discord!


---

# 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://elena-scripts.gitbook.io/elenascripts/core-systems/chat/common.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.
