QB Inventory
This guide is for qb-inventory version 2.x or higher. Old versions or inspired/custom inventories based on qb-inventory are NOT supported.
Go to qb-inventory/server/functions.lua and add the following export after
InitializeInventory
function:

Go to qb-inventory/server/main.lua and add the following line inside the
qb-inventory:server:closeInventory
event:

In qb-inventory/server/main.lua add the following code in the end of the file:
Last updated