This is for qb-inventory version 2.x or higher, you can verify it in the fxmanifest.lua
Go to qb-inventory/fxmanifest.lua and replace the server_scripts table with this:
qb-inventory/fxmanifest.lua
server_scripts { '@oxmysql/lib/MySQL.lua', 'server/*.lua', }
Go to qb-inventory/server/main.lua line 495, should look something like this:
qb-inventory/server/main.lua
Replace the following line:
With this:
Should look like this:
Download the following file and place it inside qb-inventory/server folder
qb-inventory/server
Last updated 18 days ago
if toInventory:find('shop%-') then return end
if isRestricted(toInventory) then return end