Skip to content

Installation

See the general installation guide for the steps shared by every Duck resource.

Steps

  1. Drop duck_speedlimiter into your resources folder.
  2. Make sure ox_lib starts before it.
  3. Add it to your server.cfg.
ini
ensure ox_lib
ensure duck_speedlimiter

Keybinds

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

FilePurpose
config/config.luaAll options. See Configuration.
client/public.luaThe GetSpeedLimit bridge for dynamic limits.
locales/*.jsonTranslations.

Verifying it works

  1. Get into the driver's seat of any vehicle and drive at a steady speed.
  2. Press Z.
  3. Accelerate. The vehicle should hold at the speed you engaged at.
  4. Press Z again to release.

If nothing happens, set Config.Debug = true and check the client console (F8) — limiter activity is printed there.

Built by duckie210