Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/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:/scripting/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:/scripting/lua/scheduler.lua:182>
Performing version check against: https://api.kanersps.pw/em/version?version=6.2.2&uuid=unknown
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/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:/scripting/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:/scripting/lua/scheduler.lua:182>