also known as lowerTorque
check out the FiveM forum post
This script modifies vehicle torque in real-time when specific keys are pressed, allowing players to adjust vehicle acceleration dynamically, similar to gradual throttle control with a controller. Using keyboard inputs, the script adjusts torque to make a vehicle accelerate faster or slower based on specified torque levels.
- Dynamic Acceleration Control: Increase or decrease vehicle torque with assigned keys.
- Configurable Torque Range: Set minimum and maximum torque values.
- In-Game UI Option: Display current torque level and wheel power metrics (debug only).
- Controller Compatibility: Automatically disables torque adjustments if a controller is detected.
Adjust script behavior in the config.lua
file.
-
Debug Mode: Enable or disable debug messages (
Config.debug
). -
Torque Range:
Config.lowestTorque
: Minimum torque allowed (e.g.,0.2
).Config.HighestTorque
: Maximum torque allowed (e.g.,1.8
).
-
On-Screen Data:
Config.onScreenData.enabled
: Show torque level on-screen.Config.onScreenData.location
: Set display location for torque text.Config.onScreenData.scale
: Text scale for on-screen torque display.
-
Controls: Customize keys for torque control in
Config.Controls
:modifierKey
: Optional modifier key to press with the main key.key
: Main key to adjust torque (check game-refrences for keys).disableKeyDefaultFunc
: Disable default in-game action for the key.torque
: Torque adjustment increment/decrement per key press.
- Increase Torque: Mouse scroll-up (configurable in
Config.Controls[1].key
) - Decrease Torque: Mouse scroll-down (configurable in
Config.Controls[2].key
)
-
Download the script from github : https://github.com/ali-exacute/BetterCarOnKeyboard
-
Copy the script files to your server's resources directory.
-
Edit
config.lua
to customize torque values, debug mode, and UI settings if you want. -
Add the resource to your server's start-up configuration:
ensure BetterCarOnKeyboard
Second Hand Vehicle Remastered