Configuration

Config = {}

Config.Framework = "auto" -- auto, qb, esx, qbx

-- Language setting
--[[
    English: en
    Turkish: tr
    You can add your own language by going to locales/locales.lua and adding a new language.
]]--
Config.DefaultLanguage = "en" -- Available options: "en", "tr"

--[[
    If this value is set to true, the GPS system will start refreshing via a callback. 
    In this case, the blip types on the map (icons) will function correctly. 
    That means the blip will automatically update to reflect whether the player is in a vehicle, on a boat, or in a helicopter. 
    It also accurately detects conditions like the player being 300 meters above ground, and displays the correct icon on the map accordingly.
]]--
Config.ServerSideUpdate = false


Config.UptimeTick = 1000 -- GPS uptime tick
Config.Item = "gps" -- Required item to use the GPS
Config.LeaveOnDeath = true -- If the player dies, they will leave the GPS
Config.Radius = 10000.0 -- Radius of the GPS

Config.Design = {
    fadeEffect = true,         -- Entrance/exit animations
    pulseEffect = true,        -- Pulse effect
    soundEffects = true,       -- Sound effects
    satelliteSimulation = true, -- Satellite connection simulation
    batterySimulation = true   -- Battery level simulation
}

Config.DefaultsBlips = { -- Default blips
    sprite = 1,
    scale = 0.8,
    color = 38
}

-- Only these jobs can use the satellite codes
Config.OnlyJobs = {
	Enabled = false,
	Jobs = {
		['police'] = true,
		['sheriff'] = true,
		['ambulance'] = true,
	}
}

-- Whitelist satellite codes
-- Only these codes can be used by the specified jobs
Config.WhitelistCodes = {
    ['911'] = {                -- Satellite code
        jobs = {'police', 'sheriff'}, -- This code can be used by these jobs
        name = "Safety Channel"      -- Code description
    },
    ['112'] = {
        jobs = {'ambulance'},
        name = "Emergency Health Channel"
    },
    ['PD123'] = {
        jobs = {'police'},
        name = "Police Department Special Channel"
    },
    ['SD456'] = {
        jobs = {'sheriff'},
        name = "Sheriff Department Special Channel"
    },
    ['EMS789'] = {
        jobs = {'ambulance'},
        name = "EMS Special Channel"
    }
}

Last updated