Config.lua

In this file there are directions that you will set according to your own server.

Config = {}

Config.KeyBind = 121 -- Find it on https://docs.fivem.net/docs/game-references/controls/

Config.PurgeColorR = 255/255
Config.PurgeColorG = 0/255
Config.PurgeColorB = 0/255

Config.PurgeTimeMin = 20000
Config.PurgeTimeMax = 50000


Config.ClassNameA = "A"
Config.ClassNameAplus = "A+"
Config.ClassNamesSplus = "S+"


Config.H_S_U1 = "NPOLSTANG"
Config.H_S_U2 = "NPOLCHAL"
Config.H_S_U3 = "NPOLVETTE"



Config.VehiclesConfig = {
    [1] = {
        ["model"] = -1336796853, -- Vehicle model's hash (npolstang)
        [Config.ClassNameA] = {
            ["fDriveInertia"] = 1.000000,
            ["fBrakeForce"] = 1.700000,
            ["fInitialDriveMaxFlatVel"] = 130.000000,
            ["fSteeringLock"] = 44.300000,
            ["fInitialDriveForce"] = 0.270000
        },
        [Config.ClassNameAplus] = {
            ["fDriveInertia"] = 1.100000,
            ["fBrakeForce"] = 2.000000,
            ["fInitialDriveMaxFlatVel"] = 150.000000,
            ["fSteeringLock"] = 45.200000,
            ["fInitialDriveForce"] = 0.320000
        },
        [Config.ClassNamesSplus] = {
            ["fDriveInertia"] = 1.300000,
            ["fBrakeForce"] = 4.500000,
            ["fInitialDriveMaxFlatVel"] = 160.000000,
            ["fSteeringLock"] = 46.300000,
            ["fInitialDriveForce"] = 0.300000
        },
    },
    [2] = {
        ["model"] = 1949729657, -- npolchal
        [Config.ClassNameA] = {
            ["fDriveInertia"] = 1.000000,
            ["fBrakeForce"] = 1.700000,
            ["fInitialDriveMaxFlatVel"] = 130.000000,
            ["fSteeringLock"] = 44.300000,
            ["fInitialDriveForce"] = 0.270000
        },
        [Config.ClassNameAplus] ={
            ["fDriveInertia"] = 1.100000,
            ["fBrakeForce"] = 2.000000,
            ["fInitialDriveMaxFlatVel"] = 150.000000,
            ["fSteeringLock"] = 45.200000,
            ["fInitialDriveForce"] = 0.320000
        },
        [Config.ClassNamesSplus] = {
            ["fDriveInertia"] = 1.300000,
            ["fBrakeForce"] = 4.500000,
            ["fInitialDriveMaxFlatVel"] = 160.000000,
            ["fSteeringLock"] = 46.300000,
            ["fInitialDriveForce"] = 0.300000
        },
    },
    [3] = {
        ["model"] = -1109563416, -- npolvette
        [Config.ClassNameA] = {
            ["fDriveInertia"] = 1.000000,
            ["fBrakeForce"] = 1.700000,
            ["fInitialDriveMaxFlatVel"] = 130.000000,
            ["fSteeringLock"] = 44.300000,
            ["fInitialDriveForce"] = 0.270000
        },
        [Config.ClassNameAplus] ={
            ["fDriveInertia"] = 1.100000,
            ["fBrakeForce"] = 2.000000,
            ["fInitialDriveMaxFlatVel"] = 150.000000,
            ["fSteeringLock"] = 45.200000,
            ["fInitialDriveForce"] = 0.320000
        },
        [Config.ClassNamesSplus] = {
            ["fDriveInertia"] = 1.200000,
            ["fBrakeForce"] = 4.500000,
            ["fInitialDriveMaxFlatVel"] = 165.000000,
            ["fSteeringLock"] = 46.300000,
            ["fInitialDriveForce"] = 0.350000
        },
    },
    [4] = {
        ["model"] = -901056903, -- npolvic
        [Config.ClassNameA] = {
            ["fDriveInertia"] = 1.000000,
            ["fBrakeForce"] = 1.700000,
            ["fInitialDriveMaxFlatVel"] = 130.000000,
            ["fSteeringLock"] = 44.000000,
            ["fInitialDriveForce"] = 0.280000
        },
        [Config.ClassNameAplus] ={
            ["fDriveInertia"] = 1.270000,
            ["fBrakeForce"] = 2.000000,
            ["fInitialDriveMaxFlatVel"] = 135.000000,
            ["fSteeringLock"] = 45.200000,
            ["fInitialDriveForce"] = 0.300000
        },
        [Config.ClassNamesSplus] = {
            ["fDriveInertia"] = 1.300000,
            ["fBrakeForce"] = 4.500000,
            ["fInitialDriveMaxFlatVel"] = 140.000000,
            ["fSteeringLock"] = 46.000000,
            ["fInitialDriveForce"] = 0.320000
        }
    },
    [5] = {
        ["model"] = -1457394361, -- npolchar
        [Config.ClassNameA] = {
            ["fDriveInertia"] = 1.000000,
            ["fBrakeForce"] = 1.700000,
            ["fInitialDriveMaxFlatVel"] = 130.000000,
            ["fSteeringLock"] = 44.300000,
            ["fInitialDriveForce"] = 0.270000
        },
        [Config.ClassNameAplus] ={
            ["fDriveInertia"] = 1.100000,
            ["fBrakeForce"] = 2.000000,
            ["fInitialDriveMaxFlatVel"] = 150.000000,
            ["fSteeringLock"] = 45.200000,
            ["fInitialDriveForce"] = 0.320000
        },
        [Config.ClassNamesSplus] = {
            ["fDriveInertia"] = 1.200000,
            ["fBrakeForce"] = 4.500000,
            ["fInitialDriveMaxFlatVel"] = 155.000000,
            ["fSteeringLock"] = 46.500000,
            ["fInitialDriveForce"] = 0.350000
        },
    }, 
    [6] = {
        ["model"] = 719025956, -- npolexp
        [Config.ClassNameA] = {
            ["fDriveInertia"] = 0.840000,
            ["fBrakeForce"] = 2.700000,
            ["fInitialDriveMaxFlatVel"] = 125.000000,
            ["fSteeringLock"] = 44.300000,
            ["fInitialDriveForce"] = 0.270000
        },
        [Config.ClassNameAplus] ={
            ["fDriveInertia"] = 0.870000,
            ["fBrakeForce"] = 2.500000,
            ["fInitialDriveMaxFlatVel"] = 130.000000,
            ["fSteeringLock"] = 45.200000,
            ["fInitialDriveForce"] = 0.320000
        },
        [Config.ClassNamesSplus] = {
            ["fDriveInertia"] = 0.900000,
            ["fBrakeForce"] = 4.000000,
            ["fInitialDriveMaxFlatVel"] = 137.000000,
            ["fSteeringLock"] = 46.500000,
            ["fInitialDriveForce"] = 0.300000
        },
    }, 
    [6] = {
        ["model"] = -583982801, -- npolchar
        [Config.ClassNameA] = {
            ["fDriveInertia"] = 1.000000,
            ["fBrakeForce"] = 1.700000,
            ["fInitialDriveMaxFlatVel"] = 130.000000,
            ["fSteeringLock"] = 44.300000,
            ["fInitialDriveForce"] = 0.270000
        },
        [Config.ClassNameAplus] ={
            ["fDriveInertia"] = 1.100000,
            ["fBrakeForce"] = 2.000000,
            ["fInitialDriveMaxFlatVel"] = 150.000000,
            ["fSteeringLock"] = 45.200000,
            ["fInitialDriveForce"] = 0.320000
        },
        [Config.ClassNamesSplus] = {
            ["fDriveInertia"] = 1.200000,
            ["fBrakeForce"] = 4.500000,
            ["fInitialDriveMaxFlatVel"] = 155.000000,
            ["fSteeringLock"] = 46.500000,
            ["fInitialDriveForce"] = 0.350000
        },
    }, 
}

Last updated