function
hasItem (client-side)
Available since version: 0.0.2
The function is used to retrieve the amount of the item the hero currently has.
Declaration
int hasItem(string instance)
Parameters
string
instance: the item instance.
Returns int
the item amount that hero currently has in inventory or 0
if player doesn't have the item.