diff --git a/resources/[cars]/[mechaniccars]/crew_wrecker/data/carcols.meta b/resources/[cars]/[mechaniccars]/crew_wrecker/data/carcols.meta index 71610a499..06f5c957a 100644 --- a/resources/[cars]/[mechaniccars]/crew_wrecker/data/carcols.meta +++ b/resources/[cars]/[mechaniccars]/crew_wrecker/data/carcols.meta @@ -4,7 +4,7 @@ - + f450c diff --git a/resources/[cars]/[mechaniccars]/crew_wrecker/data/carvariations.meta b/resources/[cars]/[mechaniccars]/crew_wrecker/data/carvariations.meta index aaca8a6c5..f9c6dc723 100644 --- a/resources/[cars]/[mechaniccars]/crew_wrecker/data/carvariations.meta +++ b/resources/[cars]/[mechaniccars]/crew_wrecker/data/carvariations.meta @@ -104,7 +104,7 @@ - + pd2 @@ -208,7 +208,7 @@ - + pd5 @@ -312,7 +312,7 @@ - + pd4 @@ -416,7 +416,7 @@ - + pd3 @@ -520,7 +520,7 @@ - + \ No newline at end of file diff --git a/resources/[jobs]/[mechanic]/jg-mechanic/framework/cl-functions.lua b/resources/[jobs]/[mechanic]/jg-mechanic/framework/cl-functions.lua index 422c47259..946ad0774 100644 --- a/resources/[jobs]/[mechanic]/jg-mechanic/framework/cl-functions.lua +++ b/resources/[jobs]/[mechanic]/jg-mechanic/framework/cl-functions.lua @@ -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