#qb-menu not opening
1 messages · Page 1 of 1 (latest)
Hi. What were you trying to accomplish ?
trying to open the garage menu via that ped as the config is applied, same goes to armory or anything that should open a menu is giving an error within the script
im on new Qb-core everything is updated
Just to confirm , did you use /setjob <id> police <rank 1-4> ?
I have yes, restarted server too, the garage works, now the armory is the issue, no error's what so ever on F8 or tx console
The armory is handled by qb-shops, and as default has a ped for the config
['police'] = { ['label'] = 'Police Shop', ['coords'] = vector4(461.8498, -981.0677, 30.6896, 91.5892), ['ped'] = 'mp_m_securoguard_01', ['scenario'] = 'WORLD_HUMAN_COP_IDLES', ['radius'] = 1.5, ['targetIcon'] = 'fas fa-gun', ['targetLabel'] = 'Open Armory', ['products'] = Config.Products['police'], ['delivery'] = vector4(459.0441, -1008.0366, 28.2627, 271.4695), ['requiredJob'] = 'police', },
so do I disable it on the shops ? or move vectors ?
What policejob are you using?
Ah ok so not the official one
Guessing outdated now, but I used old qb before and this was a good script
What I would do as I use the same one, is remove the armory lines from the one you linked, and move the vectors in qb-shops for the armory.
I've done this and have the ped there for armory
Will try that, only thing left that legit does not function is personal stashes, not too fussed about that tho ill find a replacement
that one u third eye, nothing happens at all with 0 errors
You using ps-inventory?
I am
That may be the issue, the script doesn't like ps-inventory
I had to use https://github.com/Mustachedom/md-stashes
To make the stashes
And still do even after a rebuild and sticking with qb-inventory
Yeah I just dislike the default qb inventory look, got any recommendations to change it and stick it to qb ?
I actually like the new qb-inventory, but there are some nice reskins on this discord in the #1326280254330896434 channel
No problem
ox_inventory is prefered
You can use a version that has the bridge for QB
or just modify everything from using qb-inventory exports and events to ox_inventory exports
Would it work with the older scripts ? Like pre 2023 update? I have a lot of scripts that no longer function properly because of the QBcore update
Own preference, better to use latest version, cause they have bug fixes and other shit. AFAIK the bridge takes the qb-inventory exports to. You can try. If it doesn't work then you revert back to qb
no clue where to get qb bridge from lol
Look in the commits until they removed the qb bridge