Skip to content

event onPlayerChangeWeaponMode (server-side)

Available since version: 0.0.1

This event is triggered when player changes the weapon mode.

Parameters

int playerid, int oldWeaponMode, int newWeaponMode
  • int playerid: the id of the player which changes the weapon mode.
  • int oldWeaponMode: the old weapon mode which was used by the player. For more information see Weapon mode constants.
  • int newWeaponMode: the new weapon mode in which player is currently using. For more information see Weapon mode constants.