Configuration

Contents of config.lua

This is an example of the basic configuration of config.lua, you can configure even more your resource, you will find farming configuration, police notification, drug processing and sales and money laundering, check well those other configuration files to better fit your system.

Config = Config or {}
Locales = Locales or {}

--[[
    The first thing will be to choose our main language, here you can choose
    between the default languages that you will find within locales/*,
    if yours is not there, feel free to create it!
]]

Config.Language = 'es'
Config.Framework = 'esx'     -- Set 'qb' or 'esx'
Config.ox_inventory = false -- true if use ox_inventory

-- If you use qb-core you can use this option
Config.Markedbills = false -- If you wouldn't use markedbills in the conventional way, make it item "unique = false" and give it a light weight.

--[[
    Visual configuration of the drugs, you can eliminate
    the blips if you want the points to be hidden.

    Here you will find the visual of markers and blips!

    Please read each setting before
    edit it this way to avoid general errors.
]]

Config.Blips = {
    { title = 'Weed',        colour = 0, id = 469, x = 1320.04,   y = 1870.26,   z = 90.83 },
    { title = 'Chemicals',   colour = 0, id = 469, x = 817.46,    y = -3192.84,  z = 5.9 },
    { title = 'Cocaine',     colour = 0, id = 469, x = 16.34,     y = 6875.94,   z = 12.64 },
    { title = 'Weed Lab',    colour = 0, id = 615, x = 183.03,    y = -1836.59,  z = 28.10 },
    { title = 'Meth Lab',    colour = 0, id = 615, x = 1561.46,   y = -1693.57,  z = 89.21 },
    { title = 'Cocaine Lab', colour = 0, id = 615, x = 465.00,    y = -1894.07,  z = 25.90 },
    { title = 'Wash Money',  colour = 0, id = 615, x = 887.38409, y = -953.7551, z = 39.21 },
    { title = 'Dealer',      colour = 0, id = 310, x = -60.8,     y = -1213.1,   z = 28.1 },
}

Config.okokTextUI = {
    enable = false,     -- If you use false, by default there will be DrawText3D
    colour = 'darkred', -- Change the color of your TextUI here
    position = 'left',  -- Change the position of the TextUI here
}

Config.Marker = { -- Modify the Marker as you like
    type = 2,
    scale = { x = 0.2, y = 0.2, z = 0.1 },
    colour = { r = 71, g = 181, b = 255, a = 120 },
    movement = 1 -- Use 0 to disable movement.
}

Config.CustomerBlip = { -- Modify the Blip as you like
    sprite = 205,
    color = 2,
    scale = 0.5,
    name = '[Dealer] Place of meeting',
}

Config.PoliceBlip = { -- Modify the Blip as you like
    sprite = 403,
    color = 1,
    scale = 1.2,
    alpha = 250,
    name = '[Drugs] Drug sales',
}

--[[
    Ignore this, as it is a debug to display everything inside the script.
]]

Config.Debug = false

Last updated