Speedlimiter
Vehicle speed limiter for FiveM. The driver caps their vehicle at its current speed, at a manually chosen speed, or at the road speed limit reported by another resource.
Standalone — the only hard dependency is ox_lib.
Features
- Toggle a limiter on the vehicle you are driving with one key.
- Adjust the active limit up or down while driving.
- Optional tracking of the road speed limit, from any source you wire in.
- Throttle is held off until the vehicle is under the limit before the cap engages, so it settles rather than snapping.
mphandkphthroughout, including the statebag.- Rebindable keys, per-player or server-wide.
- Localised through the ox_lib locale system.
- Active limit published on the vehicle statebag for other resources to read.
- All statebag writes are validated server-side against the driver and the configured limit bounds.
Usage
| Default key | Action |
|---|---|
Z | Toggle the limiter on/off |
Right arrow | Increase the limit by 1 |
Left arrow | Decrease the limit by 1 |
Only the driver can use the limiter.
Engaging the limiter picks a target: the road speed limit if dynamic limits are enabled and a source is wired up, otherwise the vehicle's current speed. If you are more than Config.SpeedTolerance over that target, the limiter refuses to engage. Once engaged, the throttle is held off until the vehicle is under the limit, then the cap is applied.
Requirements
- ox_lib