Gamemode.AdjustMouseSensitivity
From GMod Wiki
Event Hook | |
Hook Name | AdjustMouseSensitivity |
Syntax | GM:AdjustMouseSensitivity( Number Default ) |
Description | Allows you to adjust the mouse sensitivity. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.AdjustMouseSensitivity]Gamemode.AdjustMouseSensitivity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The return is a fraction of the normal sensitivity (0.5 would be half as sensitive).
- Return -1 to not override.