Qbox is hardcoded for ox and the only inventory I know that supports it other than ox is quasar, both are bridged so should be completely fine
27 lines
531 B
Lua
27 lines
531 B
Lua
Inventory = Inventory or {}
|
|
|
|
---comment
|
|
---@param item string
|
|
---@return table
|
|
Inventory.GetItemInfo = function(item)
|
|
return Framework.GetItemInfo(item)
|
|
end
|
|
|
|
---comment
|
|
---@param item string
|
|
---@return boolean
|
|
Inventory.HasItem = function(item)
|
|
return Framework.HasItem(item)
|
|
end
|
|
|
|
Inventory.GetItemCount = function(item)
|
|
return Framework.GetItemCount(item)
|
|
end
|
|
|
|
---comment
|
|
---@param item string
|
|
---@return string
|
|
Inventory.GetImagePath = function(item)
|
|
return "https://avatars.githubusercontent.com/u/47620135"
|
|
end
|