event onPlayerChangeWeaponMode (client-side)
Available since version: 0.2
This event is triggered when player changes the weapon mode.
Parameters
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.