diff --git a/modules/inventory/ox_inventory/client.lua b/modules/inventory/ox_inventory/client.lua index a8eed08..5539a97 100644 --- a/modules/inventory/ox_inventory/client.lua +++ b/modules/inventory/ox_inventory/client.lua @@ -1,5 +1,8 @@ ---@diagnostic disable: duplicate-set-field if GetResourceState('ox_inventory') ~= 'started' then return end +if GetResourceState('qs-inventory') == 'started' then return end +if GetResourceState('origen_inventory') == 'started' then return end + local ox_inventory = exports.ox_inventory Inventory = Inventory or {} diff --git a/modules/inventory/ox_inventory/server.lua b/modules/inventory/ox_inventory/server.lua index 1bd2d3b..35578e0 100644 --- a/modules/inventory/ox_inventory/server.lua +++ b/modules/inventory/ox_inventory/server.lua @@ -1,5 +1,7 @@ ---@diagnostic disable: duplicate-set-field if GetResourceState('ox_inventory') ~= 'started' then return end +if GetResourceState('qs-inventory') == 'started' then return end +if GetResourceState('origen_inventory') == 'started' then return end local ox_inventory = exports.ox_inventory local registeredShops = {}