Xovos / esx_illegal

I changed ESX_Drugs and added a lot of features like more drugs and licenses for the money was and the money wash itself.
GNU General Public License v3.0
16 stars 16 forks source link

Problem with (global 'ESX') #10

Closed BlackFlag00 closed 4 years ago

BlackFlag00 commented 4 years ago

Hi, I have an error with the drugs. this is the error code: I have alredy put all the items in my db

`@esx_illegal/client/coke.lua:141: attempt to index a nil value (global 'ESX')

fn (esx_illegal/client/coke.lua;12)

screen

The error is the same for all the drugs file

Xovos commented 4 years ago

Did you install the esx framework? because this is an extension. https://github.com/ESX-Org/es_extended

BlackFlag00 commented 4 years ago

yes, i have installed it

bypeke commented 4 years ago

Hi not work any drugs...

Xovos commented 4 years ago

Hi I have no clue why this is happening. @bypeke are you getting the same error?

bypeke commented 4 years ago

I have added everything in resources-esx and the sql injected correctly. and once inside the game nothing comes out, it's like I don't recognize it.

Xovos commented 4 years ago

Does the console show that it started it?

bypeke commented 4 years ago

Yes, when enter in game and tp to coordenates nothing appears.

https://gyazo.com/e33c2ffd9cb4a88e0a06feed0a61c80a

Xovos commented 4 years ago

I fixed it in the latest update :)