Error running system event handling function for resource essentialmode: citizen
:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/l
ua/json.lua:397: bad argument #1 to 'strfind' (string expected, got nil)
stack traceback:
[C]: in function 'string.find'
citizen:/scripting/lua/json.lua:397: in upvalue 'scanwhite'
citizen:/scripting/lua/json.lua:553: in function citizen:/scripting/lua
/json.lua:551
(...tail calls...)
@essentialmode/server/main.lua:17: in local 'userCallback'
citizen:/scripting/lua/scheduler.lua:320: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scriptin
g/lua/scheduler.lua:218
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scriptin
g/lua/scheduler.lua:182
Error running system event handling function for resource essentialmode: citizen :/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/l ua/json.lua:397: bad argument #1 to 'strfind' (string expected, got nil) stack traceback: [C]: in function 'string.find' citizen:/scripting/lua/json.lua:397: in upvalue 'scanwhite' citizen:/scripting/lua/json.lua:553: in function citizen:/scripting/lua /json.lua:551 (...tail calls...) @essentialmode/server/main.lua:17: in local 'userCallback' citizen:/scripting/lua/scheduler.lua:320: in upvalue 'handler' citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scriptin g/lua/scheduler.lua:218 stack traceback: [C]: in function 'error' citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow' citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scriptin g/lua/scheduler.lua:182