Configuration

Configuration file:

Config, Lang = {}, {}

-- $$$$$$\   $$$$$$\  $$\   $$\ $$$$$$$$\ $$$$$$\  $$$$$$\  $$\   $$\ $$$$$$$\   $$$$$$\ $$$$$$$$\ $$$$$$\  $$$$$$\  $$\   $$\
-- $$  __$$\ $$  __$$\ $$$\  $$ |$$  _____|\_$$  _|$$  __$$\ $$ |  $$ |$$  __$$\ $$  __$$\\__$$  __|\_$$  _|$$  __$$\ $$$\  $$ |
-- $$ /  \__|$$ /  $$ |$$$$\ $$ |$$ |        $$ |  $$ /  \__|$$ |  $$ |$$ |  $$ |$$ /  $$ |  $$ |     $$ |  $$ /  $$ |$$$$\ $$ |
-- $$ |      $$ |  $$ |$$ $$\$$ |$$$$$\      $$ |  $$ |$$$$\ $$ |  $$ |$$$$$$$  |$$$$$$$$ |  $$ |     $$ |  $$ |  $$ |$$ $$\$$ |
-- $$ |      $$ |  $$ |$$ \$$$$ |$$  __|     $$ |  $$ |\_$$ |$$ |  $$ |$$  __$$< $$  __$$ |  $$ |     $$ |  $$ |  $$ |$$ \$$$$ |
-- $$ |  $$\ $$ |  $$ |$$ |\$$$ |$$ |        $$ |  $$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |  $$ |     $$ |  $$ |  $$ |$$ |\$$$ |
-- \$$$$$$  | $$$$$$  |$$ | \$$ |$$ |      $$$$$$\ \$$$$$$  |\$$$$$$  |$$ |  $$ |$$ |  $$ |  $$ |   $$$$$$\  $$$$$$  |$$ | \$$ |
-- \______/  \______/ \__|  \__|\__|      \______| \______/  \______/ \__|  \__|\__|  \__|  \__|   \______| \______/ \__|  \__|

-- Use "esx", "qb" or "qbox"
Config.Framework = "qb"
-- font for drawtext
Config.alertTextFont = 4 
-- use kmh or mph
Config.useKMH = true 
-- Max distance from the player to the drone
Config.maxDistance = 300.0
-- Max altitude of the drone 
Config.maxAltitude = 50.0 
-- Min volume of the drone
Config.dronMinVolume = 0.2
-- Distance of the sound
Config.soundDistance = 50
-- Duration of the smoke
Config.smokeDuration = 60000
--In milliseconds. A lower value will make the drone be seen by other users more fluently, but more queries will be made on the server. A very low value may cause overflow.
Config.syncCooldown = 0
-- Keys
Config.keys = {
    up = 61, -- Numpad 8
    down = 60, -- Numpad 5
    left = 34, -- A
    right = 9, -- D
    forward = 32, -- W
    backward = 8, -- S
    zoomIn = 241, -- Scroll up
    zoomOut = 242, -- Scroll down
    boost = 22, -- Spacebar,
    vision = 44, -- Q
    weapon = 38, -- E
    shoot = 24, -- Left Mouse Button
    enter = 38, -- E
    focusLight = 182, -- F
    companion = 57 -- F10
}
-- Focus light config
Config.focusLight = {
    color = {255, 255, 255},
    distance = 100.0,
    brightness = 1.0,
    hardness = 10.0,
    radius = 20.0,
    falloff = 1.0
}

-- $$$$$$$\  $$$$$$$\   $$$$$$\  $$\   $$\ $$$$$$$$\  $$$$$$\  
-- $$  __$$\ $$  __$$\ $$  __$$\ $$$\  $$ |$$  _____|$$  __$$\ 
-- $$ |  $$ |$$ |  $$ |$$ /  $$ |$$$$\ $$ |$$ |      $$ /  \__|
-- $$ |  $$ |$$$$$$$  |$$ |  $$ |$$ $$\$$ |$$$$$\    \$$$$$$\  
-- $$ |  $$ |$$  __$$< $$ |  $$ |$$ \$$$$ |$$  __|    \____$$\ 
-- $$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |\$$$ |$$ |      $$\   $$ |
-- $$$$$$$  |$$ |  $$ | $$$$$$  |$$ | \$$ |$$$$$$$$\ \$$$$$$  |
-- \_______/ \__|  \__| \______/ \__|  \__|\________| \______/

Drones = {
    ["Mid blue"] = {
        prop = "ch_prop_arcade_drone_01a",
        item = "drone_mid_blue",
        can_use_tazer = true,
        can_use_grenade = false,
        can_use_smoke = true,
        can_use_ammo = false
    },
    ["Big red"] = {
        prop = "ch_prop_arcade_drone_01b",
        item = "drone_big_red",
        can_use_tazer = true,
        can_use_grenade = true,
        can_use_smoke = true,
        can_use_ammo = true
    },
    ["Mid yellow"] = {
        prop = "ch_prop_arcade_drone_01c",
        item = "drone_mid_yellow",
        can_use_tazer = true,
        can_use_grenade = false,
        can_use_smoke = true,
        can_use_ammo = false
    },
    ["Mid orange"] = {
        prop = "ch_prop_arcade_drone_01d",
        item = "drone_mid_orange",
        can_use_tazer = true,
        can_use_grenade = false,
        can_use_smoke = true,
        can_use_ammo = false
    },
    ["Little blue"] = {
        prop = "ch_prop_arcade_drone_01e",
        item = "drone_little_blue",
        can_use_tazer = true,
        can_use_grenade = false,
        can_use_smoke = false,
        can_use_ammo = false
    },
    ["Big black"] = {
        prop = "ch_prop_casino_drone_01a",
        item = "drone_big_black",
        can_use_tazer = true,
        can_use_grenade = true,
        can_use_smoke = true,
        can_use_ammo = true
    },
    ["Police"] = {
        prop = "ch_prop_casino_drone_02a",
        item = "drone_police",
        can_use_tazer = true,
        can_use_grenade = true,
        can_use_smoke = true,
        can_use_ammo = true
    }
}

-- $$\        $$$$$$\  $$\   $$\  $$$$$$\  $$\   $$\  $$$$$$\   $$$$$$\  $$$$$$$$\ 
-- $$ |      $$  __$$\ $$$\  $$ |$$  __$$\ $$ |  $$ |$$  __$$\ $$  __$$\ $$  _____|
-- $$ |      $$ /  $$ |$$$$\ $$ |$$ /  \__|$$ |  $$ |$$ /  $$ |$$ /  \__|$$ |      
-- $$ |      $$$$$$$$ |$$ $$\$$ |$$ |$$$$\ $$ |  $$ |$$$$$$$$ |$$ |$$$$\ $$$$$\    
-- $$ |      $$  __$$ |$$ \$$$$ |$$ |\_$$ |$$ |  $$ |$$  __$$ |$$ |\_$$ |$$  __|   
-- $$ |      $$ |  $$ |$$ |\$$$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |  $$ |$$ |      
-- $$$$$$$$\ $$ |  $$ |$$ | \$$ |\$$$$$$  |\$$$$$$  |$$ |  $$ |\$$$$$$  |$$$$$$$$\ 
-- \________|\__|  \__|\__|  \__| \______/  \______/ \__|  \__| \______/ \________|

Lang.exitFlying = "Press ~g~E~s~ to exit flying mode"
Lang.losingConnection = "Losing connection"

Last updated