Error running system event handling function for resource esx_scoreboard: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: @esx_scoreboard/server/main.lua:44: attempt to index a nil value (local 'xPlayer')
stack traceback:
@esx_scoreboard/server/main.lua:44: in function 'AddPlayerToScoreboard'
@esx_scoreboard/server/main.lua:18: 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
hello guys i try to add more jobs in like bennys trucker and i change it evrewhere and when i trucker i cant see in scoreboard i change in clain/main.lua in html scoreboard but it can not read bennys or trucker any idea? thnx
Got same issue as above picture were it shows nothing on scoreboard and giving me this error same time in console
Error running system event handling function for resource esx_scoreboard: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: @esx_scoreboard/server/main.lua:43: attempt to index a nil value (local ‘xPlayer’)
stack traceback: @esx_scoreboard/server/main.lua:43: in function ‘AddPlayerToScoreboard’ @esx_scoreboard/server/main.lua:17: 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
¨
I think this code is not uptodate sadly