forked from Simnation/Main
ed
This commit is contained in:
parent
ad58f5323b
commit
5e6bc11bb8
3 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue