event onUseItem (client-side)
This event is triggered when hero uses, opens or consumes any item.
string instance, int amount, int hand
stringinstance: an instance name of the dropped item.
intamount: an amount of the dropped item.
inthand: the id of the hand in which hero holds item. For more information see Hand constants.