Player.SetCanZoom
From GMod Wiki
| Function | |
| Syntax | Player:SetCanZoom( ) |
| Description: | |
| Sets whether or not a player can zoom (+zoom). | |
| Returns: | nil |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SetCanZoom]Player.SetCanZoom [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | Don't let the first player use the HEV suit zoom. |
|---|---|
| Used on | |
| Code | local ply = player.GetByID( 1 ) ply:SetCanZoom( false ) |
| Output | None |