# Configuration



{% code title="config.lua" overflow="wrap" %}
```lua
Config = {}

Config.framework = "auto" -- "auto" or "qb" for QB, "qbx" for QBOX, "esx" for ESX
Config.inventory = "auto" -- "qb" or "ox" 

Config.updateRate = 500 -- GPS Update Rate in miliseconds 
Config.dynamicUpdate = true -- If true, the GPS update rate will increase dynamically based on the number of players using GPS
Config.dynamicIncreaseRate = 25 -- The amount in milliseconds by which the update rate will increase for each additional GPS user after the first 10 users
Config.dynamicUpdateThreshold = 10 -- This is the amount of GPS players after which the dynamic increase will start.

Config.sprites = {
    car = 225,
    helicopter = 43,
    boat = 427,
    normal = 1,
    plane = 423,
    bike = 226
}

Config.colors = {
    {
        colorId = 46,
        uiColor = "#ecf028",
    },
    {
        colorId = 1,
        uiColor = "#e03233",
    },
    {
        colorId = 2,
        uiColor = "#71cb71",
    },
    {
        colorId = 3,
        uiColor = "#5eb6e6",
    },
    {
        colorId = 7,
        uiColor = "#9c6eaf",
    },
    {
        colorId = 47,
        uiColor = "#fe9a18",
    },
    {
        colorId = 52,
        uiColor = "#416d40",
    },
    {
        colorId = 66,
        uiColor = "#f1cb56",
    },
    {
        colorId = 56,
        uiColor = "#857233",
    },
}

Config.GpsJobs = {
    ["police"] = { -- Job name
        label = "LSPD", -- Job Label (For UI)
        color = 3, -- Default blip color, make sure you choose a color defined in Config.colors
        channels = {
            "PD" ,"SD","PR"
        }
    },
    ["sapr"] = { -- Job name
        label = "SAPR", -- Job Label (For UI)
        color = 52, -- Default blip color, make sure you choose a color defined in Config.colors
        channels = {
            "PD" ,"SD","PR"
        }
    },
    ["bcso"] = { -- Job name
        label = "BCSO", -- Job Label (For UI)
        color = 66, -- Default blip color, make sure you choose a color defined in Config.colors
        channels = {
            "PD" ,"SD","PR"
        }
    },
    ["sasp"] = { -- Job name
        label = "SASP", -- Job Label (For UI)
        color = 56, -- Default blip color, make sure you choose a color defined in Config.colors
        channels = {
            "PD" ,"SD","PR"
        }
    },
    ["ambulance"] = { -- Job name
        label = "LSMS", -- Job Label (For UI)
        color = 1, -- Default blip color, make sure you choose a color defined in Config.colors
        channels = {
            "PD" ,"SD","PR", "LSMS"
        }
    }
}

Config.GpsItems = {
    ["gps"] = {
        jobs = {"police", "sasp", "bcso", "sapr", "ambulance"},
    },
    ["illegal_gps"] = {
        jobs = nil,
    }
}

Config.locale = "tr" -- "en" or "tr"
Config.locales = {} -- Don't Edit
```
{% endcode %}
