Player/SetCanZoom
From Garry's Mod
(Difference between revisions)
(Created page with "{{Func |Name=SetCanZoom |Parent=Player |Description=Sets whether the player can zoom or not. |Realm=Server |IsClass=Yes }} {{Arg |type=boolean |name=canZoom |desc=Whe...") |
m (elaborate) |
||
Line 2: | Line 2: | ||
|Name=SetCanZoom | |Name=SetCanZoom | ||
|Parent=Player | |Parent=Player | ||
− | |Description=Sets whether the player can zoom or not. | + | |Description=Sets whether the player can use the HL2 suit zoom ("+zoom" bind) or not. |
|Realm=Server | |Realm=Server | ||
|IsClass=Yes | |IsClass=Yes |
Latest revision as of 22:37, 24 September 2015
Player:SetCanZoom( )
Description
Sets whether the player can use the HL2 suit zoom ("+zoom" bind) or not.
Arguments
boolean canZoom
Whether to make the player able or unable to zoom.