This commit is contained in:
MrNewb committed 2025-01-09 07:44:06 -05:00
1 parent 92f6d42555
commit f6c503c39e
16 files changed
+4 -2

No files matched your search

@@ -1,8 +1,9 @@
if GetResourceState('origen_inventory') ~= 'started' then return end
local origen_inventory = exports.origen_inventory
Inventory = Inventory or {}
local origen_inventory = exports.origen_inventory
Inventory.GetItemInfo = function(item)
local itemData = origen_inventory:Items(item)
local repackedTable = {
@@ -1,8 +1,9 @@
if GetResourceState('origen_inventory') ~= 'started' then return end
local origen_inventory = exports.origen_inventory
Inventory = Inventory or {}
local origen_inventory = exports.origen_inventory
Inventory.AddItem = function(src, item, count, slot, metadata)
if not origen_inventory:CanCarryItem(src, item, count) then
return Bridge.notify.SendNotify(src, "Inventory Full", "error", 5000)