prevent imposters

multiple inventories provide as ox but dont support many of the exports, because of this we have to do solutions like this.
This commit is contained in:
MrNewb committed 2025-06-18 09:55:22 -04:00
1 parent 914beede4e
commit 0de3a048be
2 files changed
+5

No files matched your search

@@ -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 {}
@@ -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 = {}