🗒ī¸Config

Config = {}

--------------------------
-- Utility
--------------------------
Config.Utility = {
    CoreName = "qb-core", -- Your core name
    Target = "qb-target", -- Your qb-target name
    Debug = true, -- Enable qb-core console logs ?
    Menu = "qb-menu", -- Your qb-menu name
    Input = "qb-input", -- Your qb-input name
    Phone = "qs-smartphone", -- Your phone name | Available: qs-smartphone / gksphone / qb-phone
    Job = "investigation", -- Name of the job
    PS_MDT = true, -- Use ps-mdt? 
    UseInsurance = true, -- Use m-Insurance?
    BossMenu = "qb-bossmenu:client:OpenMenu", -- Your trigger to open boss menu
}

Config.SQL = { -- Your tables on database
    Player_Vehicles = "player_vehicles",
    Players = "players",
}

Config.Blips = {
    Enable = true, -- Enable blips?
    Location = vector3(-1081.46, -249.0, 37.76), -- Location of blip
    Sprite = 60, -- https://docs.fivem.net/docs/game-references/blips/
    Scale = 0.8, -- Scale of blip
    Colour = 38, -- https://docs.fivem.net/docs/game-references/blips/
    Name = "Police Investigation", -- Name of blip
}

Config.Peds = {
    [1] = {type = 4, hash= GetHashKey("s_m_y_cop_01"), x = -1052.42,  y = -237.07,  z = 31.31, h = 294.52}, -- Ped Garage
}

--------------------------
-- GSR
--------------------------
Config.GSR = {
    GSRAutoClean = 900, -- Amount of time before you are autocleaned (In Seconds)
    GSRTestDistance = 3, -- Max distace the command can be used to
    Wash = {
        Time = 10000, -- 10 Seconds
        Chance = 50, -- 50% chance of successfully removing gunpowder from clothing.
    }
}

--------------------------
-- Elevators
--------------------------
Config.Elevators = { -- There are only 2 coordinates but all the elevators work because they are all in the same place, only the height changes.
    vector3(-1075.32, -253.41, 37.76),
    vector3(-1077.95, -254.73, 37.76),
}

--------------------------
-- Shop with some eat
--------------------------
Config.Eating = { -- Some items the cops can buy to eat/drink.
    [1] = { name = "water_bottle", price = 0, amount = 10, info = {}, type = "item", slot = 1 },
    [2] = { name = "coffee", price = 0, amount = 10, info = {}, type = "item", slot = 2, },
    [3] = { name = "kurkakola", price = 0, amount = 10, info = {}, type = "item", slot = 3, },
    [4] = { name = "grapejuice", price = 0, amount = 10, info = {}, type = "item", slot = 4, },
}

--------------------------
-- Cells Cameras
--------------------------
Config.CellsCameras = {
    hideradar = false,
    cameras = {
        [1] = {label = "CAM#1", coords = vector3(-1050.91, -244.46, 37.97),      r = {x = 0.0, y = 0.0, z = 28.03},    canRotate = true, isOnline = true},
        [2] = {label = "CAM#2", coords = vector3(-1054.44, -246.16, 37.97),      r = {x = 0.0, y = 0.0, z = 28.03},    canRotate = true, isOnline = true},
        [3] = {label = "CAM#3", coords = vector3(-1058.08, -247.99, 37.97),      r = {x = 0.0, y = 0.0, z = 28.03},    canRotate = true, isOnline = true},
    },
}

--------------------------
-- Pharmacy
--------------------------
Config.Pharmacy = { -- Some items the cops can buy 
    [1] = { name = "bandage", price = 0, amount = 10, info = {}, type = "item", slot = 1 },
}

--------------------------
-- Garages
--------------------------
Config.SpawnCar = vector4(-1053.52, -233.4, 32.31, 115.72) -- Location to spawn the car
Config.Vehicles = {
    [0] = { -- Grade
        ["police"] = "Investigation Car 1",
        ["police2"] = "Investigation Car 2",
    },
    [1] = { -- Grade
        ["police"] = "Investigation Car 1",
        ["police2"] = "Investigation Car 2",
    },
    [2] = { -- Grade
        ["police"] = "Investigation Car 1",
        ["police2"] = "Investigation Car 2",
    },
    [3] = { -- Grade
        ["police"] = "Investigation Car 1",
        ["police2"] = "Investigation Car 2",
    },
    [4] = { -- Grade
        ["police"] = "Investigation Car 1",
        ["police2"] = "Investigation Car 2",
    }
}

--------------------------
-- Car automatic items spawn on glovebox
--------------------------
Config.CarItems = {
    [1] = { name = "heavyarmor", amount = 2, info = {}, type = "item", slot = 1, },
    [2] = { name = "empty_evidence_bag", amount = 10, info = {}, type = "item", slot = 2, },
}

Last updated