qs-inventory

These modifications can only be made if you use the qs-inventory

  • Add the following code at the end of the file

qs-inventory/server/custom/misc/SaveInventory.lua
RegisterServerEvent('qs-inventory:server:SaveStashItems', function(id, items)
	if not Stashes[id] then Stashes[id] = {} end
	Stashes[id].items = items
	SaveStashItems(id, Stashes[id].items)
end)

Last updated