Project-Sloth / ps-multijob

A script designed with a sleek and modern design for being able to display your current jobs as well as switching between them.
https://www.discord.gg/projectsloth
54 stars 41 forks source link

sv_main.lua:138 #20

Closed MalibuSantez closed 1 year ago

MalibuSantez commented 1 year ago

Hi when i join the server after restart i get this error.

SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:739: SCRIPT ERROR: @ps-multijob/server/sv_main.lua:138: attempt to index a nil value (field '?')
[      script:qb-core] > <unknown> (@oxmysql/dist/build.js:22252)
[      script:qb-core] > processTicksAndRejections (node:internal/process/task_queues:96)
[      script:qb-core] 
[      script:qb-core] > TriggerCallback (@qb-core/server/functions.lua:250)
[      script:qb-core] > handler (@qb-core/server/events.lua:146)
[      script:qb-core] > <unknown> (@oxmysql/dist/build.js:22252)
[      script:qb-core] > processTicksAndRejections (node:internal/process/task_queues:96)

When i restart the resource via F8 Menu, it works again