[HELP] Attempt to index a nil value (global 'ESX')

Hi, I have some problems here and I would like your help.


For example, since yesterday I can’t put in the garage a car that I bought because it says that my shoulder does not belong to me.

mechanicjob

lscustoms

taxijob

vehicleshop

Seems to me like a MySQL issue. Check if your connection between your DB is working.

Because you said it was working before?

For me this seemed to be happening with the latest version of essentialmode. Tried updating to ESX 2.0 with the latest version of essentialmode but instead run into issues like these => http://prntscr.com/t9ucz5

Makes no sense in the code and unfortunately there isn’t enough documentation regarding the changes and what needs to be done to migrate from an older version.

Since it’s not been cleared up. There are two versions of ESX. One is called ESX, the other, ESX 2.
NO esx_resources will work if you are trying to use ESX 2. There seems to be lots of confusion on this topic and it doesn’t really look like GiZz (esx dev) clarified that using ESX 2 will break all existing resources. In order to fix the issue you need to switch out ESX 2 for the final version of ESX 1. Which is linked on the ESX 2 release but for the sake of saving time I’ll link it here as well.

ESX V1: https://github.com/ESX-Org/es_extended/tree/v1-final

1 Like

thx man, i was searching for your answer long ago :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.