diff --git a/resources/[carscripts]/lc_utils/config.lua b/resources/[carscripts]/lc_utils/config.lua index 40aa30305..9267291af 100644 --- a/resources/[carscripts]/lc_utils/config.lua +++ b/resources/[carscripts]/lc_utils/config.lua @@ -20,7 +20,7 @@ Config.format = { -- ATTENTION: If you set it to "other," it's necessary to configure the script inside the custom_scripts folder in the respective file. See: https://docs.lixeirocharmoso.com/utils/adding_your_exports Config.custom_scripts_compatibility = { ['fuel'] = "lc_fuel", -- [lc_fuel|ox_fuel|ti_fuel|ps-fuel|sna-fuel|cdn-fuel|LegacyFuel|okokGasStation|default|other] Fuel script Compatibility - ['inventory'] = "default", -- [ox_inventory|qs-inventory|ps-inventory|tgiann-inventory|default|other] Inventory script Compatibility + ['inventory'] = "tgiann-inventory", -- [ox_inventory|qs-inventory|ps-inventory|tgiann-inventory|default|other] Inventory script Compatibility ['keys'] = "default", -- [qs-vehiclekeys|cd_garage|jaksam|wasabi_carlock|MrNewbVehicleKeys|tgiann-hotwire|Renewed|default|other] Keys script Compatibility ['mdt'] = "default", -- [ps-mdt|redutzu-mdt|lb-tablet|default|other] MDT script Compatibility (to log weapon serial) ['target'] = "disabled", -- [qb-target|ox_target|disabled|other] Target script Compatibility (disabled will use markers) diff --git a/resources/[inventory]/pickle_consumables/bridge/inventory/qs-inventory/client.lua b/resources/[inventory]/pickle_consumables/bridge/inventory/qs-inventory/client.lua index e84e10473..43cb143ac 100644 --- a/resources/[inventory]/pickle_consumables/bridge/inventory/qs-inventory/client.lua +++ b/resources/[inventory]/pickle_consumables/bridge/inventory/qs-inventory/client.lua @@ -1,4 +1,4 @@ -if GetResourceState('qs-inventory') ~= 'started' then return end +if GetResourceState('tgiann-inventory') ~= 'started' then return end Inventory = {} diff --git a/resources/[qb]/qb-core/shared/items.lua b/resources/[qb]/qb-core/shared/items.lua index 46e2e96ec..5c4633a3c 100644 --- a/resources/[qb]/qb-core/shared/items.lua +++ b/resources/[qb]/qb-core/shared/items.lua @@ -10217,4 +10217,12 @@ QBShared.Items = { }, -} \ No newline at end of file +} +TriggerEvent("__cfx_export_tgiann-inventory_Items", function(ref) + if not ref then return end + QBShared.Items = ref() +end) + +AddEventHandler("tgiann-inventory:itemList", function(items) + QBShared.Items = items +end) \ No newline at end of file diff --git a/resources/[tools]/kq_link/config.lua b/resources/[tools]/kq_link/config.lua index 6a895338f..0198f1529 100644 --- a/resources/[tools]/kq_link/config.lua +++ b/resources/[tools]/kq_link/config.lua @@ -42,7 +42,7 @@ Link = { --- 'core_inventory' -- Core inventory system (c8re) --- 'ak47_inventory' -- AK47 inventory system (menan) --- 'origen_inventory' -- Origen inventory system -Link.inventory = 'qs-inventory' +Link.inventory = 'tgiann-inventory' --- NOTIFICATION OPTIONS