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

you are not authorized #12

Closed Krisb239 closed 1 year ago

Krisb239 commented 1 year ago

fresh install, imported the sql. when pressing J it says you are not authorized. when doing /jobmenu it just pulls up the cursor. Throws a big error in the server console. [ script:qb-core] SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:741: SCRIPT ERROR: @ps-multijob/server/sv_main.lua:137: attempt to index a nil value (field '?') [ script:qb-core] > (@oxmysql/dist/build.js:22233) [ script:qb-core] > processTicksAndRejections (node:internal/process/task_queues:96) [ script:qb-core] > async rawQuery (@oxmysql/dist/build.js:22223) [ script:qb-core] [ script:qb-core] > TriggerCallback (@qb-core/server/functions.lua:250) [ script:qb-core] > handler (@qb-core/server/events.lua:142) [ script:qb-core] > (@oxmysql/dist/build.js:22233) [ script:qb-core] > processTicksAndRejections (node:internal/process/task_queues:96) [ script:qb-core] > async rawQuery (@oxmysql/dist/build.js:22223)

The script was working perfect then randomly stopped.