export GetInventoryItems standard, add export GetItemBySlot
This commit is contained in:
1 parent
1d23d256c0
commit
0c90d659a0
14 files changed
+210
-41
No files matched your search
@@ -16,11 +16,15 @@ Inventory.GetItem = function(src, item, metadata)
|
||||
return ox_inventory:GetItem(src, item, metadata, false)
|
||||
end
|
||||
|
||||
Inventory.GetItemBySlot = function(src, slot)
|
||||
return ox_inventory:GetSlot(src, slot)
|
||||
end
|
||||
|
||||
Inventory.GetItemCount = function(src, item, metadata)
|
||||
return ox_inventory:GetItemCount(src, item, metadata, false)
|
||||
end
|
||||
|
||||
Inventory.GetPlayerInventory = function(src)
|
||||
Inventory.GetInventoryItems = function(src)
|
||||
return ox_inventory:GetInventoryItems(src, false)
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user