1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-07-09 20:02:47 +02:00
parent 8dbe79a29d
commit 369af59fc9
4 changed files with 12 additions and 4 deletions

View file

@ -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)

View file

@ -1,4 +1,4 @@
if GetResourceState('qs-inventory') ~= 'started' then return end
if GetResourceState('tgiann-inventory') ~= 'started' then return end
Inventory = {}

View file

@ -10217,4 +10217,12 @@ QBShared.Items = {
},
}
}
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)

View file

@ -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