Skip to content

event onPlayerEquipRangedWeapon (server-side)

Available since version: 0.0.1

This event is triggered when player equips or unequips ranged 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 ranged weapon.
  • int itemId: the id of the ranged weapon.