QB-Core boss menus don't work

Hi, i’m developing my server and I have a problem, the boss menu for all jobs and gangs are not working. I have revised the qb-core and qb-management folders and it seems that it is alright. I’m not very good with this things so a bit of help would be nice.

The only error I got it’s this one but I can’t figure out what happens in the line:

The cl_boss it’s like this:

Thanks

Your error is stating that there is a nil value. Something that is unset. When you see the error in your console it says global lang

It’s saying that global variable Lang is nil, meaning it’s not been initialised. On that line in your code it’s using Lang to find the message relevant to the set language.

It seems your missing the language files that this part of code relies on. They also are used to define this global Lang variable and initialise it which is why it is nil, likely because they are missing. Check the qb-management GitHub repo, you’ll see in the fxmanifest it’s got language files under the shared scripts key referencing the locales folder.

Check you have these locale files still and ensure they are referenced in the shared scripts, else, remove the Lang reference on that line and just type a relevant message for that option in whichever language your server is going to be based in. Hope this helps

Ok I will try, thanks for the response

Okay it worked thanks!

Okay now I have encountered another error.

In the jobs I can’t access to the funds, there isn’t the option.

And also I can’t access the gang menu, I have revised the vectors and names and it seems that it is fine, some clue?

Read the QBCore announcement (in the discord), They’ve done a lot of changes on how the funds have been handled.

Be aware the funds are different on qb-management to the qb-banking funds. I’ve no idea why they decided to split them like that. The menu is accessible to those in a position of power, i.e the Police is rank 4 (Chief) from my understanding but if you inspect the code you’ll be able to alter who has access to the menus but will likely need some manual adjustments.

In game ensure you are rank 4. For example /setjob [id] [job (police for example)] [rank (4 for example] then try

I see, so how do I make that in my case the police boss (rank 14) has access to the funds?

Also some idea why the gang boss menu is not working?

Ok so now I have another problem with the gang menus that don’t show up.



Can someone help?

Issue within your cl_config

Usually a comma or { }

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.