Files
community_bridge/modules/inventory/_default/client.lua
T
MrNewb e5190cdca0 client side GetItemCount
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
2025-04-07 14:37:22 -04:00

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