Garry's Mod Wiki

Revision Difference

Player:SetCanZoom#512496

<function name="SetCanZoom" parent="Player" type="classfunc">⤶ <description>Sets whether the player can use the HL2 suit zoom ("+zoom" bind) or not.</description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="canZoom" type="boolean">Whether to make the player able or unable to zoom.</arg>⤶ </args>⤶ </function>⤶ ⤶