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()

config.key = "LSHIFT" --https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
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


--[[ 
    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
]]

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`] = {
        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,
        }
    },
    [`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