Installation
See the general installation guide for the steps shared by every Duck resource.
Steps
- Drop
duck_speedlimiterinto yourresourcesfolder. - Make sure
ox_libstarts before it. - Add it to your
server.cfg.
ini
ensure ox_lib
ensure duck_speedlimiterKeybinds
The three keybinds are registered through FiveM's keybind system, so players can rebind them in Settings → Key Bindings → FiveM. The defaults come from Config.Keybinds.
WARNING
Config.Keybinds only sets the default key. Once a player has a key bound, changing the config will not move it for them — FiveM stores their choice. Set your defaults before the resource goes live on a busy server.
Files you can edit
| File | Purpose |
|---|---|
config/config.lua | All options. See Configuration. |
client/public.lua | The GetSpeedLimit bridge for dynamic limits. |
locales/*.json | Translations. |
Verifying it works
- Get into the driver's seat of any vehicle and drive at a steady speed.
- Press
Z. - Accelerate. The vehicle should hold at the speed you engaged at.
- Press
Zagain to release.
If nothing happens, set Config.Debug = true and check the client console (F8) — limiter activity is printed there.