Garry's Mod Wiki

Player:SetCanZoom

  Player:SetCanZoom( boolean canZoom )

Description

Sets whether the player can use the HL2 suit zoom ("+zoom" bind) or not.

Arguments

1 boolean canZoom
Whether to make the player able or unable to zoom.