KuzQuality - FiveM Documentation
Webstore
  • KuzQuality - FiveM Scripts
  • Useful links
    • KuzQuality.com | Shop now
    • Our Discord
  • General
    • Common issues
    • Frequently asked questions
    • Updating server artifacts
    • Installation basics
  • RESOURCES
    • Premium Resources
      • Shell Creator
        • Config
        • Installation Guide
        • Video guide
        • API
          • Server
          • Client
      • Cocaine Production
        • Config
        • Installation Guide
      • Roof boxes & bike racks
        • Config
        • Installation Guide
        • API
      • Meth Cooking
        • Config
        • Installation Guide
      • Private islands
        • Config
        • Installation Guide
      • Real offroad physics
        • Config
        • Installation Guide
        • API
      • Placeable items
        • Config
        • Inventory integrations
        • Installation Guide
      • Car Dyno
        • Config
        • Installation Guide
      • Outfit Bag 2.0
        • Config
        • Installation Guide
      • Realistic wheel damage
        • Config
      • Smash 'n Grab 2.0
        • Config
        • Installation Guide
      • Animation Suggestions
        • Config
        • Installation Guide
      • Smugglers Heist
        • Config
        • Installation Guide
      • Car Heist
        • Config
      • Towing & Winching
        • Config
        • Installation Guide
      • Security Systems
        • Config
        • Developer Docs
      • Drift Tires
        • Config
        • Installation Guide
      • Engine Swaps [ESX]
        • Config
      • Engine Swaps [QBCore]
        • Config
      • Islands Generator
        • Config
        • Installation Guide
      • Brake Overheating
        • Config
        • Installation Guide
      • Drift Smoke
        • Config
      • Advanced Ped Looting
        • Config
        • Installation Guide
      • Bike Jump Ability
        • Config
        • Installation Guide
      • Hideouts 2.0
        • Config
      • Detective Tools
        • Config
      • Classic Outfit Bag
        • Config
      • Traction Control Toggle
        • Config
      • Car Lift
        • Config
      • Vehicle Towing
        • Config
      • RGB Controller (Full)
        • Config
      • Diving [ESX]
        • Config
      • Diving [QBCore]
        • Config
    • Free Resources
      • Prop Placer
        • Config
      • Nightclub Heist
        • Config
      • Basic Security Lasers
        • Config
        • Developer Docs
      • Advanced Airdrop
        • Config
      • Smooth Throttle Control
        • Config
      • Better rollbacks & handbrake turns
        • Config
      • Wild Cannabis (Loot Areas Example)
        • Config
      • RGB Controller (Basic)
        • Config
      • Dragy
        • Config
      • Easter Egg Hunt
        • Config
      • Loot Areas
        • Config
        • Developer docs
  • KQ Link
    • KQ Link | Installation guide
    • Using Git
    • Developer reference
      • Exports
        • Server
        • Client
Powered by GitBook
On this page
  1. RESOURCES
  2. Premium Resources
  3. Traction Control Toggle

Config

Config = {}

-- This enabled additional debug commands and logs
Config.debug = false

Config.traction = {
    -- The amount of grip that will be reduced during drift (higher = less grip)
    -- (Values between 0 & 60 = more realistic)
    -- (Values between 60 & 100 = more drifty)
    -- Values between 0 and 100
    reduceGrip = 50,

    -- How easily the vehicle will enter into drift (Higher numbers = more traction loss required for it to enter drift, aka, lower numbers will be more drifty)
    -- Values between 0.0 and 2.0
    driftThreshold = 1.0,
}

-- Whether or not to display that the traction control is turned off on the dashboard of the car
Config.showOnDashboards = true

-- Size of the 'ESP OFF' text on the dashboard
Config.fontScale = 0.15

----------------------------------------------------------------------------------------------
--- TRACTION CONTROL VALUES
----------------------------------------------------------------------------------------------

-- Disallow certain vehicles or classes of vehicles from toggling the traction control (The traction control will always be off!)
Config.noTractionControl = {
    -- List of models that should not be able to toggle the traction control (Will always be off!)
    vehiclesEnabled = true,
    vehicles = {
      'futo',
      'futo2',
      'elegy',
      'zion3',
    },
    
    -- Classes that should not be allowed to enable traction control (numerical values) https://docs.fivem.net/natives/?_0x29439776AAA00A62
    classesEnabled = true,
    classes = {
        5
    },
}

----------------------------------------------------------------------------------------------
--- WHITE/BLACKLISTING
----------------------------------------------------------------------------------------------

-- Disallow certain vehicles or classes of vehicles from toggling the traction control
Config.blacklist = {
    -- List of models that should not be able to toggle the traction control
    vehiclesEnabled = true,
    vehicles = {
      'police',
      'taxi',
    },
    
    -- Classes that should not be allowed to disable traction control (numerical values) https://docs.fivem.net/natives/?_0x29439776AAA00A62
    classesEnabled = true,
    classes = {
        8, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22
    },
}

-- Opposite of the blacklist. Only allows certain models/vehicle models to toggle their traction control
Config.whitelist = {
    vehiclesEnabled = false,
    -- List of models that should be able to toggle the traction control
    vehicles = {
      'futo',
      'futo2',
      'rt3000',
      'yosemite2',
      'comet6',
      'gauntlet4',
      'euros',
      'zr350',
      'dominator8',
    },
    
    classesEnabled = false,
    -- The only classes that should be allowed to disable traction control (numerical values) https://docs.fivem.net/natives/?_0x29439776AAA00A62
    classes = {
        3, 4, 5, 6
    },
}

-- Whether or not to apply a slight boost to vehicles engine power while mid drift (Helps lower powered vehicles stay in drift) (1.0 is the base car power)
Config.driftBoost = {
    enabled = true,
    power = 1.75
}

-- https://docs.fivem.net/docs/game-references/controls/
-- Use the input index for the "input" value
Config.keybinds = {
    toggle = {
        label = '[',
        input = 100,
        holdDuration = 1000,
    }
}
PreviousTraction Control ToggleNextCar Lift

Last updated 8 months ago