got this error just out of the blue dont really know what trigger this but all tips and tricks and stuff is amzing
Error running call reference function for resource es_extended: citizen:/scripting/lua/scheduler.lua:403: server/main.lua:62: attempt to index a nil value (field ‘?’)
stack traceback:
server/main.lua:62: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:389: in function citizen:/scripting/lua/scheduler.lua:388
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:388: in function citizen:/scripting/lua/scheduler.lua:387
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:403: in function citizen:/scripting/lua/scheduler.lua:372
[ERROR] [MySQL] Check the error above, an error happens when executing the callback from the query : “SELECT * FROM user_inventory WHERE identifier = @identifier {@identifier=steam:11000010e3e62ab}”
For some reason i cant seem to get the inventory to close on my server. Everything else is working fine and the inventory is opening is working fine but it just wont close down again when finished.
Has anyone else encountered this problem or can anyone advise?
So I have had this issue for a while now, whenever someone joins my server for the first time they spawn as an npc (no job, no inventory, no phone etc)
I have no idea why and have contacted multiple coders and zaphosting asveel but nothing has worked. There is a table called user and everything is exactly like its supposed to be. Now I have to fill in each players user and my server is starting to grow rapidly so it takes a lot of time
Any form of support is extremely appreciated.
I’m trying to call the ESX functions but I get an error every time. “error running system event handling function for resource esx_testes […] attempt to index a nil value”
“PlayerData = ESX.GetPlayerData()”
Shouldn’t I be able to call ESX functions from other resources? Do I have to import it or something?
Hey, everyone, I need help with ESX - locales (language translate)
I am from Lithuania and I scripting server, I use ESX plugin and I want to change all english words to lithuanian. I tried to change translated words in “locales/en.lua” but when I restart server, my changed words went back to english. I need help from someone who know how I can create or change language in locale. I use Zap-hosting.
Just go to “Settings” tab and change the settings inside it to your language type. for me it would be “sv” for Swedish, and it will change to yours. even if it dosent exist
Right on the left side. you have pages, scroll down till you see “settings” if “lt” isent there default and they dont support it you will have to translate it your self and then use “lt” inside the menu.
Yes, I translated some locale/lt.lua files and in zap-hostong changed esx to “lt” but when I start game everywhere writing [lt] does not exist - for example in voice chat. I need help with that!
Error running call reference function for resource es_admin2: citizen:/scripting/lua/scheduler.lua:403: server.lua:362: attempt to index a nil value (local ‘user’)
stack traceback:
server.lua:362: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:389: in function citizen:/scripting/lua/scheduler.lua:388
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:388: in function citizen:/scripting/lua/scheduler.lua:387