[HELP] Es_Admin2


#1

Hello! I just started my server but as soon as I typed admin in the console beacuse that the way I think I add Admin with Es_Admin2 but thats a other thing.

so this is what I get in the console!

Error running call reference function for resource es_admin2: citizen:/scripting/lua/scheduler.lua:351: server.lua:310: attempt to index a nil value (local ‘user’)
stack traceback:
server.lua:310: in upvalue 'ref’
citizen:/scripting/lua/scheduler.lua:337: in function citizen:/scripting/lua/scheduler.lua:336
[C]: in function 'xpcall’
citizen:/scripting/lua/scheduler.lua:336: in function citizen:/scripting/lua/scheduler.lua:335
stack traceback:
[C]: in function 'error’
citizen:/scripting/lua/scheduler.lua:351: in function citizen:/scripting/lua/scheduler.lua:322
cfx> Error running call reference function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:351: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
[C]: in function 'error’
citizen:/scripting/lua/MessagePack.lua:830: in method 'underflow’
citizen:/scripting/lua/MessagePack.lua:465: in field 'any’
citizen:/scripting/lua/MessagePack.lua:860: in field 'unpack’
citizen:/scripting/lua/scheduler.lua:563: in upvalue 'callback’
server/main.lua:154: in upvalue 'ref’
citizen:/scripting/lua/scheduler.lua:337: in function citizen:/scripting/lua/scheduler.lua:336
[C]: in function 'xpcall’
citizen:/scripting/lua/scheduler.lua:336: in function citizen:/scripting/lua/scheduler.lua:335
stack traceback:
[C]: in function 'error’
citizen:/scripting/lua/scheduler.lua:351: in function citizen:/scripting/lua/scheduler.lua:322
hitch warning: frame time of 161 milliseconds


#2

I get the same error, try running was l essential mode and es_admin2 without other custom resources to see if it is a compatibility problem. Other than that I have no idea how to fix this. Someone please help


#3

i get the same exact errors someone plz help