itemcount
Returns the number of items of an item ID in the players bags.
itemCount(itemid) : integer-- altsitemcount(itemid) : integeritems(itemid) : integer
Example
if items(HealthStone) == 0 then return cast(CreateHealthStone, 'player')end