GM:AdjustMouseSensitivity

From Garry's Mod
Jump to: navigation, search
 GM:AdjustMouseSensitivity( )

Description

Allows you to adjust the mouse sensitivity.

Arguments

number defaultSensitivity

The old sensitivity

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

Returns

number

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