Config
Config = {}
Config.maxRpm = 0.2 -- Max RPM
Config.maxSpeed = 80 -- The Throttle Control will not affect the vehicles which drive over this speed
Config.defaultSmoothing = false -- If true then Config.keybinds will disable Throttle Control and will be applied by default, if false then won't be applied by default and Config.keybinds will enable it.
Config.keybinds = {
slow = {
input = 'lshift', -- https://docs.fivem.net/docs/game-references/controls/
}
}
Config.allowedClasses = { -- Define the allowed vehicle classes for Throttle Control, if false then none of the configuration will work from Config.defaultsmoothing
[0] = true, -- Compacts
[1] = true, -- Sedans
[2] = true, -- SUVs
[3] = true, -- Coupes
[4] = true, -- Muscle
[5] = true, -- Sports Classics
[6] = true, -- Sports
[7] = true, -- Super
[8] = true, -- Motorcycles
[9] = true, -- Off-road
[10] = false, -- Industrial
[11] = false, -- Utility
[12] = false, -- Vans
[13] = false, -- Cycles
[14] = false, -- Boats
[15] = false, -- Helicopters
[16] = false, -- Planes
[17] = false, -- Service
[18] = true, -- Emergency
[19] = false, -- Military
[20] = false, -- Commercial
[21] = false, -- Trains
}
Last updated