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