1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-08-13 21:00:13 +02:00
parent ad58f5323b
commit 5e6bc11bb8
3 changed files with 9 additions and 6 deletions

View file

@ -371,11 +371,14 @@ function Framework.Client.OpenInventoryStash(stashId, stashName)
exports["qs-inventory"]:RegisterStash(stashName, 50, 50000000)
elseif (Config.Inventory == "auto" and GetResourceState("codem-inventory") == "started") or Config.Inventory == "codem-inventory" then
TriggerServerEvent("codem-inventory:server:openstash", stashId, 15, 15000, stashName)
elseif (Config.Inventory == "auto" and GetResourceState("tgiann-inventory") == "started") or Config.Inventory == "tgiann-inventory" then
exports["tgiann-inventory"]:OpenInventory("stash", stashId, { maxweight = 50000, slots = 50 })
else
error("Error: Invalid inventory system set in config.")
end
end
---@param soundId integer|false
function Framework.Client.StopSound(soundId)
if not soundId or Config.DisableSound then return false end