Check if the player is pressing the weapon switch button
Example:
if ( self WeaponSwitchButtonPressed() ) ...