Garry's Mod Wiki

GM:AdjustMouseSensitivity

number GM:AdjustMouseSensitivity( number defaultSensitivity )

Description

Allows you to adjust the mouse sensitivity.

Arguments

1 number defaultSensitivity
The old sensitivity

In general it will be 0, which is equivalent to a sensitivity of 1.

Returns

1 number
A fraction of the normal sensitivity (0.5 would be half as sensitive), return -1 to not override.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

Session 0
DB GetPage 3
Generate Html 6
SaveChanges 8
Render Body 0
Render Sidebar 13