Inventories

qb-inventory
  • Go to qb-inventory/server/main.lua > search for qb-inventory:server:closeInventory event and add the following line:

TriggerEvent("av_scripts:inventorySaved", src, nil, inventory)
Should look something like this
qs-inventory
  • Go to qs-inventory/server/custom/misc/SaveInventory.lua and search for event handleInventoryClosed, add the following line:

TriggerEvent("av_scripts:inventorySaved", src, type, id)
Should look something like this

Last updated