Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.hook.AdjustMouseSensitivity

C๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

๐Ÿ”— External
hook.add("AdjustMouseSensitivity", "name", function(defaultSensitivity, localFOV, defaultFOV) end)
View on GitHub|lua/starfall/libs_sh/hook.lua:361
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Allows modifying the player's mouse sensitivity

Parameters

NameTypeDescription
defaultSensitivitynumberThe base sensitivity
localFOVnumberThe player's current FOV
defaultFOVnumberThe player's default/original FOV

Returns

TypeDescription
numberReturn a number which multiplies the sensitivity. -1 will do nothing but prevent other hooks overriding (Requires a connected HUD).

Examples

No examples available.

Used In

No usages found in the codebase.