Framework.ItemList for esx and a catchall for qbox
This commit is contained in:
1 parent
6443d728d4
commit
33a9b6ba69
4 files changed
+39
No files matched your search
@@ -45,6 +45,10 @@ end
|
||||
---This will return the entire items table from the inventory.
|
||||
---@return table
|
||||
Inventory.Items = function()
|
||||
if not Framework.Shared or not Framework.Shared.Items then
|
||||
local itemList = Framework.ItemList() or { Items = {} }
|
||||
return itemList.Items
|
||||
end
|
||||
return Framework.Shared.Items
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user