Player.StopZooming
From GMod Wiki
| Function | |
| Syntax | Player:StopZooming( Boolean bool ) |
| Description: | |
| Stops the player zooming if the argument is true | |
| Returns: | nil |
| In Object: | Boolean |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.StopZooming]Player.StopZooming [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Stops the player zooming, if they have +zoom on toggle_zoom |
|---|---|
| Used on | |
| Code | function SWEP:Think() self.Owner:StopZooming(true) // stops them zooming end |
| Output | Stops a player zooming! |