Xovos/esx_illegal

Problem with (global 'ESX')

Closed this issue · 8 comments

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

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

yes, i have installed it

Hi not work any drugs...

Xovos commented

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

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

Does the console show that it started it?

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

https://gyazo.com/e33c2ffd9cb4a88e0a06feed0a61c80a

Xovos commented

I fixed it in the latest update :)