Skip to content

event onPlayerShoot (client-side)

Available since version: 0.2.1

This event is triggered when player shoots using ranged weapon.

Parameters

int playerid, Item munition
  • int playerid: the id of the shooting player.
  • Item munition: the item object. For more information see Item class.