fix add access to core Shared table for qb-core, fix small typos, fix position for ox notify, add api to core Commands for qb-core

This commit is contained in:
qwezert committed 2025-01-12 15:48:41 +02:00
1 parent 075d267cb6
commit ab1a22d113
4 files changed
+18 -3

No files matched your search

@@ -6,7 +6,7 @@ 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)
return Bridge.Notify.SendNotify(src, "Inventory Full", "error", 5000)
end
return origen_inventory:AddItem(src, item, count, nil, nil, metadata)
end