So I have no clue what I’m doing wrong. I am trying to add a job to the qb managment system, but nothing is working? I’ve followed guides etc step by step. Any help/advice is greatly appreciated
Is this after you’ve added the job to qb-core/shared/jobs.lua ? So what is the issue with qb-management is the boss menu just not showing up at all ?
Yeah, so i add the job to qbcore/shared/jobs.lua and then qb management, im not getting any errors, but the menu doesnt pop up or anything. Sorry for the late reply i was sleeping
Have you also gone into the management_funds table in your SQL database and added a row for the job? I don’t think that would cause the whole menu to not work though just the money function of it. I would also make sure obviously that you set yourself as the job and make sure your job rank is recognized as a boss
when in game you could ensure the qb-management resource and check client and server console to see if there is any error that it throws
I have done all of the above, I will do the console part soonish
Okay now it’s started throwing this https://i.imgur.com/mUi9MO1.png
nvm fixed the aboce error, I misspelt something. But i restarted both qb target and management resources then tried accessing the menu, nothing came up in console https://i.imgur.com/t1gidUc.png
https://i.imgur.com/8lNngyq.png https://i.imgur.com/633UZJk.png that is what I have done in regards to setting it up ( excluding the db as I have done that ) something I’m doing wrong?
I fixed it
edit
Never mind it is now not working again
The odd thing is it looks like everything is proper in that config and now that you fixed the polyzone error I could not imagine why it will not work. You are using qb-target I presume as I see the init.lua open in VS Code. For troubleshooting reasons have you tried setting the target convar to false and then tried to use the menu just to try and isolate where the issue lies
I don’t mean to insult your intelligence you seem like you know whats up but just want to confirm you did a server restart after adding the job in jobs.lua?
Yeah ive tried it it with the convar being false and still nothing. I got it working, so i moved on to my next thing. Upon me restarting the server again i went back to said job to double check everything was still working ( call me paranoid lol ) and it broke again. No errors still or anything. Utterly dumbfounded as to where the issue could be.
And yeah i restarted the server everytime i made changes to something
yeah man I’m with you on being dumbfounded lol
I sorted it I was trying to trigger the completely wrong event in qb-target
its always the little things we overlook lmao
Glad you got it sorted man!
having issues with updating sql with the invoice system, any ideas on a fix?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.