Stash Function
Chezza Inventory
function houseStorage()
local name = "House"..string.gsub(enteredHouse.name, "%s+", "")
TriggerEvent('inventory:openInventory', {
type = "stash",
id = name,
title = name.." Stash",
weight = Config.QBStorageData[enteredHouse.star or 1].maxweight, -- set to false for no weight
delay = 0, -- open delay for the roleplays :)
save = true -- save to database
})
end
mf-inventory
function houseStorage()
local name = "House"..string.gsub(enteredHouse.name, "%s+", "")
exports["mf-inventory"]:openOtherInventory(name )
end
Quasar inventory
function houseStorage()
local name = "House"..string.gsub(enteredHouse.name, "%s+", "")
TriggerServerEvent("inventory:server:OpenInventory", "stash", "Stash"..name)
TriggerEvent("inventory:client:SetCurrentStash", "Stash"..name)
end
Last updated