Garry's Mod Wiki

Revision Difference

Player:SetCanZoom#529650

<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>⤶ <realm>Shared</realm>⤶ <args> <arg name="canZoom" type="boolean">Whether to make the player able or unable to zoom.</arg> </args> </function>