Config

QBCore Config example

Config = {}

Config.Command = 'encro' -- The command to access the phone
Config.KeyBind = 'F5' -- The Keybind that you want your players to be able to open the phone with
Config.Currecy = 'kr' -- Your currency
Config.Language = "sv" -- What locale file you want to use
Config.Framework = 'qb' -- esx, qb or auto
Config.UseKeyBind = false -- If you want to be able to access the phone through a keybind.
Config.UseCommand = false -- Set to true if you want your players to be able to access the phone with a command.
Config.UseItem = true -- Set to true if you want your players to only be able to acess the phone if they have the item.
Config.ItemName = 'illegalphone' -- The name of the item that you want to use to access the phone.
Config.MoneyType = 'cash' -- (cash or bank) Do you want your players to recieve their money in cash form or bank form
Config.WaitingTime = 100000, 250000 -- this is in ms

Config.Apps = {
    Chat = true,
    Blackmarket = false,
    Drugsell = true
}

Config.Blackmarket = {
    items = {
        {
            label = 'Pistol', 
            hash = 'weapon_pistol', 
            price = 15000,
            url = "https://cdn.discordapp.com/attachments/772834180316004372/1181971690876588163/1x-removebg-preview.png?ex=6582ffeb&is=65708aeb&hm=b0061c3eb5786b3d838d890921572b37dc7eb45f65f135d968f7ce1c540b46b1&"
        },
        {
            label = 'Ak47', 
            hash = 'weapon_assaultrifle', 
            price = 25000,
            url = "https://cdn.discordapp.com/attachments/772834180316004372/1181971297987739648/png-clipart-ak-47-ak-47-removebg-preview.png?ex=6582ff8d&is=65708a8d&hm=cf3002f0556460bfd594f3b43f9dddcb14fd47761f200ac1d74ee480edaf32cc&"
        },
        {
            label = 'Mini SMG', 
            hash = 'weapon_microsmg', 
            price = 20000,
            url = "https://cdn.discordapp.com/attachments/772834180316004372/1181970991354744932/imgbin-trigger-imi-micro-uzi-submachine-gun-firearm-weapon-hR1gWgPzZXWD8gENP7ET69D69-removebg-preview.png?ex=6582ff44&is=65708a44&hm=001174f23d523c87e0623f6af2f1926e464840a4cc70e5a1fe13b888ab5ced3d&"
        }
    },

    Position = {
        vector4(-8.3999, -1082.1483, 26.6721, 337.2932),
        vector4(253.5154, -1275.4894, 29.1599, 83.4131)
    }
}

Config.Peds = {
    women = {
        "a_f_m_beach_01",
        "a_f_m_ktown_01",
        "a_f_m_salton_01",
        "a_f_m_soucentmc_01",
        "a_f_o_soucent_01",
        "a_f_m_fatwhite_01"
    },

    male = {
        "a_m_m_eastsa_01",
        "a_m_m_hasjew_01",
        "a_m_m_paparazzi_0",
        "a_m_m_tranvest_01"
    },
}

Config.Drugsell = {
    products = {
        {label = "Meth", hash = "meth_packaged", maxprice = 600, minprice = 450, maxamount = 20, minamount = 2},
        {label = "Weed", hash = "weed_packaged", maxprice = 300, minprice = 200, maxamount = 20, minamount = 2},
        {label = "Cocaine", hash = "cocaine_packaged", maxprice = 650, minprice = 450, maxamount = 20, minamount = 2},
    },

    locations = {
        vector3(-73.5142, -1488.6669, 32.1960),
        vector3(48.3328, -1744.9088, 29.3032),
        vector3(-332.16, -1074.19, 23.03),
        vector3(-493.04, -1015.32, 23.55), 
        vector3(1257.18, 1922.66, 78.50),
        vector3(1533.53, 3580.18, 35.57),
        vector3(993.56, 3579.35, 33.70),
    }
}

Config.Discordlogs = {
    blackmarket = '', -- Your Discord webhook
    drugsell = '',
    encro = '',
    createaccount = '',
}

Last updated