CreatorsClient exportsGetItemCountLast updated on Counts an item in the local player's bag. local res = exports.opx_infinity:GetItemCount(item) Sync. Parameters item: string From the bag the client was last sent. Returns integer Errors export.badArgument Examplelocal res = exports.opx_infinity:GetItemCount('lockpick')GetPlayerDataReads the local player's character.HasItemWhether the local player's bag holds some units of an item.