Installation & Configuration
Installation
Unzip the ld-tunertablet
Drag the ld-tunertablet folder to your recources folder
Setup the .sql file in the file
Add the following line of code to your server.cfg file, starting after oxlib and oxmysql
ensure ld-tunertablet
Configuration
Overview
This script is a comprehensive tuner chip system used for customizing vehicle performance in FiveM. Players can easily adjust the engine, transmission, suspension, aerodynamics, and other characteristics of their vehicles.
Configuration Structure
The config.lua
file is the main file where all settings and features are defined. This configuration file allows even server administrators without scripting knowledge to easily make changes.
Basic Settings
Config.Language = "en" -- Script language (can be changed to "tr" for Turkish, etc.)
Menu Configuration
Defines menu commands and how they are called:
Config.Menu = { ["Commands"] = { ["Tuner"] = "tunertablet", -- Command used to open the menu },}
Mode Settings
Defines settings for different driving modes:
Config.Modes = { ["SpeedType"] = "KMH", -- Speed unit (KMH or MPH) ["DriftModeSpeedLimit"] = 50, -- Drift mode speed limit ["SportModeSettings"] = { -- Sport mode settings ["fInitialDriveMaxFlatVel"] = 100 * 20, -- Maximum speed ["fDriveInertia"] = 2.000000, -- Engine responsiveness ["fClutchChangeRateScaleUpShift"] = 8, -- Upshift speed ["fClutchChangeRateScaleDownShift"] = 8, -- Downshift speed }}
Ready Presets
Pre-defined vehicle settings that users can quickly select:
Config.ReadyPresets = { { title = 'Drift Mode', description = 'In Drift mode, you can drift by pressing the support button you set.' }, { title = 'Eco Mode', description = 'Eco Mode has your cars standard settings and you can select this mode if you want to return it back.' }, { title = 'Sport Mode', description = 'Sport Mode sophisticatedly indexes your vehicle to the ideal speed mode' }}
Last updated