event
onPlayerEquipHandItem (server-side)
This event is triggered when player opens or consumes any item.
Parameters
int playerid, int hand, int itemId
int
playerid: the id of the player who gets an item to his hand.int
hand: the id of the hand in which player holds item. For more information see Hand constants.int
itemId: the id of the helmet.