LukeWasTakenn/luke_garages

Server sided issie

Closed this issue · 1 comments

Hey,

Not sure If I'm just dumb, maybe I need sleep.

I'm trying to install your system and everytime I use the "3rd eye" and click on "take out vehicle" nothing happens. On the console, I get the errors below.

I haven't changed your script at all. I just started it and updated the database.

[ script:luke_garages] SCRIPT ERROR: @luke_garages/server/server.lua:14: attempt to index a nil value (global 'ESX')
[ script:luke_garages] > cb (@luke_garages/server/server.lua:14)
[ script:luke_garages] > handler (@ox_lib/callback/server.lua:58)

EDIT* Would also like to add that nothing happens in the F8 console

[ script:luke_garages] SCRIPT ERROR: @luke_garages/server/server.lua:14: attempt to index a nil value (global 'ESX')
[ script:luke_garages] > cb (@luke_garages/server/server.lua:14)
[ script:luke_garages] > handler (@ox_lib/callback/server.lua:58)

You're either starting ESX after starting my resource or you are not using ESX Legacy.