event onPlayerChangeWeaponMode (server-side)
Available since version: 0.0.1
This event is triggered when player changes the weapon mode.
int playerid, int oldWeaponMode, int newWeaponMode
intplayerid: the id of the player which changes the weapon mode.
intoldWeaponMode: the old weapon mode which was used by the player. For more information see Weapon mode constants.
intnewWeaponMode: the new weapon mode in which player is currently using. For more information see Weapon mode constants.