feat(inventory): add item list function
This commit is contained in:
1 parent
a9a4ef619c
commit
aefcf8eee2
19 files changed
+126
No files matched your search
@@ -51,6 +51,12 @@ Inventory.GetItemInfo = function(item)
|
||||
return Framework.GetItemInfo(item)
|
||||
end
|
||||
|
||||
---This will return the entire items table from the inventory.
|
||||
---@return table
|
||||
Inventory.Items = function()
|
||||
return Framework.Shared.Items
|
||||
end
|
||||
|
||||
---This will return the count of the item in the players inventory, if not found will return 0.
|
||||
---if metadata is passed it will find the matching items count.
|
||||
---example: 0
|
||||
|
||||
Reference in new issue
Block a user