GetItemCount
Gets the count of an item in a player's inventory, with optional metadata matching.
Bridge.Inventory.GetItemCount(src, item, metadata)local Bridge = exports['community_bridge']:Bridge()
-- Get count of lockpicks
local count = Bridge.Inventory.GetItemCount(source, "lockpick")
print("Player has " .. count .. " lockpicks")Last updated