Skip to content

event onPlayerEquipMeleeWeapon (server-side)

Available since version: 0.0.1

This event is triggered when player equips or unequips melee weapon. When item is unequiped -1 item id is returned instead.


int playerid, int itemId
  • int playerid: the id of the player who equips an melee weapon.
  • int itemId: the id of the melee weapon.