Config file

--[[
    - this script needs tgiann-core script to work, you can download the script from your keymaster account or from tebex for free
      ⚠️ Start tgiann-core script after es_extented/qb-core script and before tgiann-* scripts! ⚠️
      Adjust the tgiann-core config file according to the framework you are using
]]

tgiCoreExports = exports["tgiann-core"]
config = tgiCoreExports:getConfig()

-- If you set the key setting to false, that key will be passive and will not work
--https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
config.keyUp = "LSHIFT"     -- increases pursuit mode level
config.keyDown = "LCONTROL" -- decreases the level of pursuit mode

config.lang = "en"
config.purgeSpeed = 90      -- (km) -- purge smoke above this speed
config.purgeTime = 10000    -- (second) the vehicle emits purge smoke every x seconds
config.maxActiveSpeed = 60  -- (km) can activate the mode under this km
config.maxPassiveSpeed = 60 -- (km) can passive the mode under this km
config.keyCd = 1500         -- pursuitmode button repeatedly pressed waiting time

--[[
    lightsColor
    White = 0,
    Blue = 1,
    Electric_Blue = 2,
    Mint_Green = 3,
    Lime_Green = 4,
    Yellow = 5,
    Golden_Shower = 6,
    Orange = 7,
    Red = 8,
    Pony_Pink = 9,
    Hot_Pink = 10,
    Purple = 11,
    Blacklight = 12
]]

-- Saves the following data of the vehicle before changing the handling data of the vehicle. sets this data back when pursuit mode is turned off
config.defaultHandlingName = {
    "fInitialDriveForce",
    "fInitialDriveMaxFlatVel",
    "fTractionCurveMax",
    "fTractionCurveMin",
}

config.sClassPoliceHandling = {
    [`police`] = {
        {
            lightsColor = 8,
            color = {
                r = 152.0,
                g = 0.0,
                b = 0.0
            },
            handling = {
                fInitialDriveForce = 0.380000,
                fInitialDriveMaxFlatVel = 225.000000,
                fTractionCurveMax = 2.750000,
                fTractionCurveMin = 2.400000,
            }
        }
    },
    [`police2`] = {
        { -- mode 1
            lightsColor = 4,
            color = {
                r = 0.0,
                g = 255.0,
                b = 0.0
            },
            handling = {
                fInitialDriveForce = 0.360000,
                fInitialDriveMaxFlatVel = 220.000000,
                fTractionCurveMax = 2.650000,
                fTractionCurveMin = 2.400000,
            }
        },
        { -- mode 2
            lightsColor = 8,
            color = {
                r = 152.0,
                g = 0.0,
                b = 0.0
            },
            handling = {
                fInitialDriveForce = 0.400000,
                fInitialDriveMaxFlatVel = 250.000000,
                fTractionCurveMax = 2.850000,
                fTractionCurveMin = 2.600000,
            }
        },
    },
    [`police3`] = {
        {
            lightsColor = 2,
            color = {
                r = 0.0,
                g = 100.0,
                b = 255.0
            },
            handling = {
                fInitialDriveForce = 0.350000,
                fInitialDriveMaxFlatVel = 215.000000,
                fTractionCurveMax = 2.650000,
                fTractionCurveMin = 2.400000,
            }
        }
    },
}


config.langs = {}

Last updated