> For the complete documentation index, see [llms.txt](https://verpix.gitbook.io/script.blackmarket/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://verpix.gitbook.io/script.blackmarket/script-blackmarket.md).

# Script BlackMarket

Configuration (config.lua)

```lua
Config = {}


Config.Logs = {

    Label = 'Verpix BlackMarket Logs',
    PlayerSteam = 'Steam Name: **',
    PlayerIdentifier = '**\nIdentifier: **',
    ServerId = '**\nServer Id: **',
    HasBuyed = '**\nItem: **',
    Amount = '**\nAmount: **',
    ForPrice = '**\n Cost: **',
    End = '€**',


    Webhook = 'https://discord.com/api/webhooks/1081938911611338833/4VnJ_r7mE-ZGaaRPstiY5AZ4aBB1sQc13xd7LBT4pFR17I62QY9jMlV2IlgQwfEuM9VY',
    BotUsername = 'Verpix BlackMarket'
}



---------------------------------------- 
--[ Make sure that you put in Config.Ped, example store = 'guns', or whatever 'weed', 'drugs'  PUT THE SAME IN  Config.BlackMarket First check below and make sure you understand, if not create a ticket...


----------------------------------------

Config.Ped = {
    { 
        model = "a_m_m_eastsa_01", -- model : https://wiki.rage.mp/index.php?title=Peds,
        coords = vec4(524.7574, 156.4799, 98.9452, 249.3042), 
        scenario = "WORLD_HUMAN_GUARD_STAND", --scenairos : https://gtaforums.com/topic/796181-list-of-scenarios-for-peds/
        TargetIcon = 'fa-solid fa-gun fa-beat',
        TargetLabel = 'BlackMarket Guns',
        blipshow = false,
        sprite = 110,
        display = 2,
        scale = 1.0, 
        color = 1, 
        labelofblip = 'Guns',
        store = 'guns',
    },
    { 
        model = "u_m_y_abner", -- model : https://wiki.rage.mp/index.php?title=Peds,
        coords = vec4(522.2502, 150.0851, 98.5428, 297.9313), 
        scenario = "WORLD_HUMAN_GUARD_STAND", --scenairos : https://gtaforums.com/topic/796181-list-of-scenarios-for-peds/
        TargetIcon = 'fa-solid fa-bars fa-beat',
        TargetLabel = 'BlackMarket Items',
        store = 'items',
        blipshow = false,
        sprite = 110,
        display = 2,
        scale = 1.0, 
        color = 1, 
        labelofblip = 'Items',
        store = 'items'
    },
    --{ 
    --    model = "a_m_m_acult_01", -- model : https://wiki.rage.mp/index.php?title=Peds,
    --    coords = vec4(526.7169, 160.2305, 99.1938, 243.4158), 
    --    scenario = "WORLD_HUMAN_GUARD_STAND", --scenairos : https://gtaforums.com/topic/796181-list-of-scenarios-for-peds/
    --    blipshow = true,
    --    sprite = 110,
    --    display = 2,
    --    scale = 1.0, 
    --    color = 1, 
    --    labelofblip = 'Test',
    --    store = 'test',
    --}
    -- add more if you want.... you can add how many you want
} 


Config.Dialog = {
    input = 'How many would you like to buy?', -- input for dialog
    input2 = 'How much' -- small input
}

Config.Notifys = {
    NotValidTitle = 'Not valid!', -- Title for invalid number, if they put 0 to buy...
    NotValidDesc = 'Please enter a valid number!', -- Desc for invalid number, if they put 0 to buy...
    NotValidType = 'error', -- Type for invalid number, if they put 0 to buy...

    YouBuyedTitle = 'Buyed', -- Title for buying a gun
    YouBuyedDesc = 'You buyed something', -- Desc for buying a gun
    YouBuyedType = 'success', -- Type for buying a gun

    YouDontHaveTitle = 'No Money',  -- Title for not having enough money
    YouDontHaveDesc = 'You dont have enough money for this!', -- Desc for not having enough money
    YouDontHaveType = 'error', -- Type for not having enough money
}
--[[ Items {
    item = 'here you put an spawn name for item', 
    label 'you put your own label here', 
    price = 'your price...', 
    moneytype = 'which money they gonna have to have...',
    image = 'Here you put an picture into discord and just copy link and paste...'
}]]

Config.BlackMarket = {
    guns = {
        { item = 'WEAPON_PISTOL', label = 'Weapon Pistol', price = 5000, moneytype = 'money', image = 'https://cdn.discordapp.com/attachments/1081554822060331040/1088765992609533952/WEAPON_PISTOL.png' }, 
        { item = 'WEAPON_PISTOL_MK2', label = 'Weapon Pistol MK2', price = 8000, moneytype = 'money', image = 'https://cdn.discordapp.com/attachments/1081554822060331040/1088765992890540053/WEAPON_PISTOL_MK2.png' },
        { item = 'WEAPON_MICROSMG', label = 'Weapon Micro Smg', price = 12500, moneytype = 'money', image = 'https://cdn.discordapp.com/attachments/1081554822060331040/1088765992269787237/WEAPON_MICROSMG.png' }, 
        { item = 'WEAPON_ASSAULTRIFLE', label = 'Weapon Assault Rifle', price = 45000, moneytype = 'money', image = 'https://cdn.discordapp.com/attachments/1081554822060331040/1088765991493840927/WEAPON_ASSAULTRIFLE.png' },
        { item = 'WEAPON_SPECIALCARBINE', label = 'Weapon Special Carbine', price = 50000, moneytype = 'money', image = 'https://cdn.discordapp.com/attachments/1081554822060331040/1088765990424301578/WEAPON_SPECIALCARBINE.png' }, 
        { item = 'WEAPON_SPECIALCARBINE_MK2', label = 'Weapon Special Carbine MK2', price = 60000, moneytype = 'money', image = 'https://cdn.discordapp.com/attachments/1081554822060331040/1088765990810165268/WEAPON_SPECIALCARBINE_MK2.png' }, 
        { item = 'WEAPON_PUMPSHOTGUN', label = 'Weapon Pump Shotgun', price = 55000, moneytype = 'money', image = 'https://cdn.discordapp.com/attachments/1081554822060331040/1088765989879029790/WEAPON_PUMPSHOTGUN.png' },
        { item = 'WEAPON_SNIPERRIFLE', label = 'Weapon Sniper Rifle', price = 150000, moneytype = 'money', image = 'https://cdn.discordapp.com/attachments/1081554822060331040/1088765990160052234/WEAPON_SNIPERRIFLE.png' },      
    },
    items = {
        { item = 'lockpick', label = 'Lockpick', price = 15, moneytype = 'money', image = 'https://cdn.discordapp.com/attachments/1081554822060331040/1088773132665503764/lockpick.png' },
    },
    --test = {
    --    { item = 'bread', label = 'Bread', price = 25, moneytype = 'money', image = 'https://cdn.discordapp.com/attachments/1081554822060331040/1088773132665503764/lockpick.png' },
    --}
    -- add more if you want.... you can add how many you want
}

```
