Discussions
Essentialmode and Freemode Errors
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/db.lua:282: in local 'userCallback'
citizen:/scripting/lua/scheduler.lua:318: 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>
[{"locked":false},{"locked":false},{"locked":false},{"locked":false}]
[{"locked":false},{"locked":false},{"locked":false},{"locked":false}]
Error running system event handling function for resource fs_freemode: 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...)
@fs_freemode/libs/db.lua:58: in local 'userCallback'
citizen:/scripting/lua/scheduler.lua:318: 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>
Not sure what to do here as i'm completely new. I am actively seeking out my own group of individuals who can code and help me learn and grow, but this is currently my only means of interactive help.
Hope to here back soon,
Merc