⚙️Configuration

Config = {}

Config.Dealer = {
    marker = "[E] Black Shop",
    vehicle = "slamvan2",
    npc = 0xF0EC56E2,
    DrivingStyle = 262144, -- http://gtaforums.com/topic/822314-guide-driving-styles/  
    UseItem = 'nokia', -- or item name
    Police = 0, -- Number of active police
    time = 360, ---- second close time
}

-- BLACK MARKET START TRIGGER EVENT
--  TriggerClientEvent('blackmarket:start') or TriggerEvent(...)
Config.Framework = "QBCore"       -- QBCore or ESX or OLDQBCore --
Config.bankorcash = "bank" ----cash
Config.Target = "default" -- default

Config.Notification = function(message, time, type)
    if type == "error" then
        --exports['tosun_notify']:Notification('SPAWN SELECTOR', message, time, '#f52a2a', 'fa-solid fa-map-pin')
        -- Framework.ShowNotification(message)
        Framework.Functions.Notify(message, 'error', time)
    end
end

Config.Item = {
    {title="Pistol", name="weapon_pistol", price="5000", image="./assets/i-img/glock22.png"},
    {title="Pistol Mk II", name="weapon_pistol_mk2", price="1000", image="./assets/i-img/weapon_pistol_mk2.png"},
    {title="Glock 19", name="weapon_combatpistol", price="10000", image="./assets/i-img/weapon_combatpistol.png"},
    {title="Baby Glock 30", name="weapon_snspistol", price="10000", image="./assets/i-img/weapon_snspistol.png"}, 
    {title="SNS Pistol Mk II", name="weapon_snspistol_mk2", price="10000", image="./assets/i-img/weapon_snspistol_mk2.png"}, 
    -- {title="PHONE", name="phone", price="1150", image="./assets/i-img/phone.png"},
    {title="FNX .45", name="weapon_heavypistol", price="10000", image="./assets/i-img/weapon_heavypistol.png"}, 
    {title="Ceramic Pistol", name="weapon_ceramicpistol", price="10000", image="./assets/i-img/weapon_combatpistol.png"}, 
    {title="Perico Pistol", name="weapon_gadgetpistol", price="10000", image="./assets/i-img/weapon_gadgetpistol.png"},
    {title="Marksman Pistol", name="weapon_marksmanpistol", price="10000", image="./assets/i-img/marksman_pistol.png"},
    {title="Vintage Pistol", name="weapon_vintagepistol", price="10000", image="./assets/i-img/weapon_vintagepistol.png"},
    {title="Tec-9", name="weapon_machinepistol", price="10000", image="./assets/i-img/weapon_machinepistol.png"},
    {title="Micro SMG", name="weapon_microsmg", price="10000", image="./assets/i-img/weapon_microsmg.png"}, 
    {title="SMG Mk II", name="weapon_smg_mk2", price="10000", image="./assets/i-img/weapon_smg_mk2.png"}, 
    {title="SMG", name="weapon_smg", price="10000", image="./assets/i-img/weapon_smg.png"},
    {title="Mini SMG", name="weapon_minismg", price="10000", image="./assets/i-img/weapon_minismg.png"}, 
    {title="MOLOTOV", name="weapon_molotov", price="10000", image="./assets/i-img/weapon_molotov.png"}, 
    {title="Pistol EXT Clip", name="pistol_extendedclip", price="10000", image="./assets/i-img/pistol_extendedclip.png"},
    {title="Pistol Flashlight", name="pistol_flashlight", price="10000", image="./assets/i-img/pistol_flashlight.png"},
    {title="Bandage", name="bandage", price="10", image="./assets/i-img/bandage.png"}, 
 
}

Config.Languages = {
    header = "BLACK MARKET", 
    purchase="PURCHASE", 
    capacity = "CAPACITY", 
    damage = "DAMAGE", 
    rate = "RATE",
    bankaparayok = "yetersiz banka parası",
    cashaparayok = "yetersiz nakit parası",
    Notenoughpolice = "There aren't enough cops in the city!"
    
}

Config.Blip = {
    Label = "Dealer",
    Sprite = 56,
    Display = 4,
    Scale = 0.5,
    Color = 4,
}

Last updated