---
description: Common issues listed for ESX
---

# ESX

### Your es\_extended does not use Config.Multichar.

Make sure to set inside es\_extended/config.lua value for `Config.Multichar` to match:

```lua
Config.Multichar = true
```

But since that value was set to false, ESX automatically inserted empty user with identifier without such template: `char<id>:<identifier>` and the only fix is either remove that character that does not follow the previously mentioned template.

<figure><img src="https://1330594954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fepfka9txTgS0k7Jtgg7f%2Fuploads%2FaZJ4CtslP3XtwqL6CqWj%2FFrame%2024.png?alt=media&#x26;token=4f69a8d0-f873-4c27-8e3b-6d7df19a17e8" alt=""><figcaption><p>Proper database lookup</p></figcaption></figure>

**To remove characters that does not fit the requirements you can use command in server side console (txAdmin)**

```lua
multicharacter_esx_remove_users
```

{% hint style="danger" %}
**Caution!**

This command will remove every user that does not meet the proper prefix required for ESX to work for Multicharacter. If you used custom prefix make sure to apply it in /shared/config.lua Config.Prefix variable!
{% endhint %}

***

### Failed to get the job from object.

Error corresponds to non-existent player job. Make sure to check if your job exists in `job` and `job_grades` table in database.

***

### Failed to get the job grade from object.

Error corresponds to non-existent player job. Make sure to check if your job exists in `job` and `job_grades` table in database.

***

### Failed to get player position.

If for some reason es\_extended couldn't set the position it will pop out in database as null for specific player. Head over to your database, find table users and replace for the specified identifier position column to for example:&#x20;

```json
{"y":-2736.949462890625,"x":-1036.2989501953126,"heading":291.968505859375,"z":20.1640625}
```

<figure><img src="https://1330594954-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fepfka9txTgS0k7Jtgg7f%2Fuploads%2FC7fIADZFCwg2IwZEfPHh%2FFrame%2024%20(2).png?alt=media&#x26;token=1c4ef797-701c-4d79-bc83-ecd20c8ed0fd" alt=""><figcaption></figcaption></figure>
