qbcore-framework / qb-shops

Shops For QB-Core
GNU General Public License v3.0
27 stars 215 forks source link

Weapon License is not working correctly #80

Closed twigmasters closed 2 years ago

twigmasters commented 2 years ago

Describe the bug Was testing the weapon shops with a friend and as a cop I used "/grantlicense [ID] weapon" to give him a weapons license. He gets the notification but has nothing in his inventory. Then tries to buy a gun and still gets the message that he needs a license. So I did it again using the command and it says he has a license.

I then used the same command to give one to myself and had the same result as a cop.

I looked in qb-core shared configs to make sure it is in the items list and weapons license is there.

anyone else run into this and know how to fix it?

GhzGarage commented 2 years ago

He needs to go buy it from city hall

twigmasters commented 2 years ago

so police use the command to grant it to a player and then they have to pick it up at city hall? Tested and it works Thanks!