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.
| Key | Control ID | Description |
|---|---|---|
horn | 86 | Vehicle horn |
handbrake | 76 | Handbrake |
lookLeft | 100 | Look left |
lookRight | 101 | Look right |
indicator_left | 0 | Left indicator (custom Lua logic) |
indicator_right | 0 | Right indicator (custom Lua logic) |
clutch | 0 | Clutch (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.