Handling Tools
Three independent handling-focused features, each toggleable via Config.Modules.
| Feature | Description |
|---|---|
| Suspension | Ride-height adjustment with presets, custom slider, auto-lowering |
| Drift Mode | Drift tyres toggle (gated) |
| Speed Limiter | Configurable speed presets enforced via native SetVehicleMaxSpeed |
1. Suspension
A complete suspension adjustment system. Players can pick between five named presets, fine-tune with a slider, and even enable automatic lowering at speed thresholds for a sporty driving feel.
Features
- Five named presets — Very High / High / Standard / Low / Jack
- Custom slider — fine-tune between any two values
- Auto-lowering — when speed exceeds a threshold, suspension drops to a target preset
- Configurable native multiplier — controls how dramatic the suspension travel is
How It Works
The script applies suspension via the FiveM native SetVehicleSuspensionHeight. The configured value is multiplied by nativeMultiplier to control overall range.
When auto-lowering is enabled, a thread monitors vehicle speed every frame. When speed crosses defaultSpeed, suspension transitions to targetPreset automatically; when it drops below the threshold, it returns to the player's manual setting.
Configuration
Config.Suspension = {
enabled = true,
nativeMultiplier = 0.1, -- higher = more dramatic suspension travel
presets = {
veryHigh = 0.85,
high = 0.70,
standard = 0.50,
low = 0.30,
jack = 1.0,
},
custom = {
min = 0.0,
max = 1.0,
step = 0.01,
},
autoLowering = {
enabled = true,
defaultSpeed = 65, -- km/h threshold
targetPreset = "low",
speedOptions = {40, 50, 65, 80, 100, 120},
},
}
Tuning Recommendations
| Setting | Recommendation |
|---|---|
nativeMultiplier | 0.1 is balanced; bump to 0.15 for stance/lowrider servers, lower to 0.05 for subtle feel |
targetPreset | "low" for typical sport feel; "standard" if you want minimal auto behavior |
defaultSpeed | 65 km/h works well — high enough to be intentional, low enough to engage in city |
Module Toggle
| Option | Default | Description |
|---|---|---|
Config.Modules.Suspension | true | Show suspension module |
2. Drift Mode
A simple toggle that switches the vehicle to drift tyres (low grip on rear axle), allowing for sustained controlled slides.
How It Works
Uses the native SetVehicleReduceGrip (or equivalent) on the rear wheels. The toggle persists until the player re-toggles it or exits the vehicle.
Configuration
Config.DriftMode = {
enabled = true,
jobs = {}, -- e.g. {"mechanic", "racer"}
discordRoles = {}, -- e.g. {"123456789012345678"}
}
Permission Gating
Drift Mode is commonly gated — most servers want to limit it to specific jobs (mechanic, racer) or Discord roles (donor, VIP). See Permission System.
3. Speed Limiter
A speed cap that uses the native SetVehicleMaxSpeed. Players pick from a list of presets and the cap is enforced.
Configuration
Config.SpeedLimiterPresets = {50, 80, 100, 120, 150, 200}
- Set any list of speeds (km/h)
- The UI shows them as a row of buttons in Settings
- Tapping toggles between the selected speed and "off"
Module Toggle
| Option | Default | Description |
|---|---|---|
Config.Modules.SpeedLimiter | true | Show speed limiter module |
Summary Table
| Feature | Module flag | Permissions? |
|---|---|---|
| Suspension | Config.Modules.Suspension | None (open to all) |
| Drift Mode | Config.Modules (via DriftMode.enabled) | jobs + discordRoles |
| Speed Limiter | Config.Modules.SpeedLimiter | None (open to all) |
