Skip to main content

Config Files

config.lua is unescrowd and fully editable. It controls the server-side defaults and the allowed button bindings.


Config.DefaultDeadzone = 0.05

Default deadzone value applied to all axes on first launch. Range: 0.0 – 0.30. Can be overridden per-player in the in-game settings panel.


Config.DefaultSmoothing = 0.20

Default input smoothing value on first launch. Range: 0.05 – 1.0. Higher values produce smoother but slightly delayed input. Can be overridden per-player in the in-game settings panel.


Allowed Controls​

Config.AllowedControls = {
horn = 86,
handbrake = 76,
lookLeft = 100,
lookRight = 101,
indicator_left = 0,
indicator_right = 0,
clutch = 0,
}

Defines which in-game actions can be bound to wheel buttons. The value is the FiveM control ID.

KeyControl IDDescription
horn86Vehicle horn
handbrake76Handbrake
lookLeft100Look left
lookRight101Look right
indicator_left0Left indicator (custom Lua logic)
indicator_right0Right indicator (custom Lua logic)
clutch0Clutch (custom Lua logic)
info

Controls with ID 0 are handled by custom internal logic and do not use SetControlNormal. You do not need to change these.

tip

You can find a full list of FiveM control IDs at docs.fivem.net/docs/game-references/controls.