# Troubleshooting

## Troubleshooting

Common issues and solutions.

***

### MDT Won't Open

Check:

1. Is your job in Config.AllowedJobs?
2. Are you alive? (MDT won't open when dead)
3. Is the command correct? (default: /mdt or F5)
4. Check server console for errors

***

### Database Errors

Check:

1. Is oxmysql running?
2. Did you run the SQL tables?
3. Check server console for SQL errors

Reset tables:

DROP TABLE IF EXISTS elenamdtv1\_reports; DROP TABLE IF EXISTS elenamdtv1\_warrants; DROP TABLE IF EXISTS elenamdtv1\_chat\_history; DROP TABLE IF EXISTS elenamdtv1\_vehicle\_records;

Then re-run the CREATE TABLE statements from the Installation page.

***

### Penalties Not Working

Fine not deducted:

* Check Config.Punishment.MoneySource (bank/cash)
* Player must have money

Community service not applied:

* Check if jail/community service resource is installed
* Set Config.Punishment.JailSystem to match your resource
* For auto detection, the resource must be started before MDT

Supported systems:

* qb-communityservice
* qb-prison
* esx\_jail
* esx\_communityservice
* wasabi\_jail
* and more (see Configuration page)

***

### CCTV Issues

Camera area not loading:

* This is a GTA engine limitation for very far cameras
* Camera will load after a brief moment

Screen blurry after exiting CCTV:

* Fixed in v2.0 with streaming reset
* If still occurs, close and reopen MDT

***

### Language Not Changing

1. Set Config.Language = 'en' (or desired code)
2. Restart the resource
3. Reopen MDT

***

### Reports Not Saving

1. Check server console for SQL errors
2. Verify database tables exist
3. Check oxmysql connection

***

### Chat Not Working

1. Check Config.Chat.SaveToDb
2. Verify elenamdtv1\_chat\_history table exists
3. Both players must have allowed jobs

***

### Vehicle Lookup Returns Nothing

1. Check plate format (spaces are auto-removed)
2. Verify player\_vehicles (QB) or owned\_vehicles (ESX) table has data
3. Check server console for SQL errors

***

### Still Having Issues?

Join our Discord for support: [DISCORD\_LINK](https://discord.gg/AFpRkb2bCs)


---

# 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/mdt-v2.0/troubleshooting.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.
