When i try to deposit society money i get this error:
Error running system event handling function for resource esx_society: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/main.lua:110: attempt to index a nil value (local ‘society’)
stack traceback:
server/main.lua:110: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:173
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:173: in function citizen:/scripting/lua/scheduler.lua:138
It’s only in a few jobs tried redownload and everything i dont know if its database sided or if its resource sided.
sometimes it can be that a name in the jobs doesnt match up with the job_name in the job_grades… thats usually what i find to be the cause in that case or a job populated the job_grades table but missed the jobs table
Hey
Check ur resources on start server and be sure u have ur job under esx society this error can be when u starting society after job or if u trigger from client bad society name to server script
/ Kharote