Garry's Mod Wiki

WEAPON:SecondaryAttack

  WEAPON:SecondaryAttack()
This hook is predicted. This means that in singleplayer, it will not be called in the Client realm.

Description

Called when secondary attack button ( +attack2 ) is pressed.

For issues with this hook being called rapidly on the client side, see the global function IsFirstTimePredicted.