🥕
Carotto Documentation
  • CAROTTO Scripts Documentation
    • 👋Welcome
    • 🔐Escrow System
    • 🛡️DMCA
  • SCRIPTS
    • carotto_npcdoctor
      • Config File
    • carotto_rental
      • Config File
    • carotto_coordsmenu
      • Config File
    • carotto_gofast
      • Config File
    • carotto_police
      • Config File
    • carotto_sheriff
      • Config File
    • carotto_jobcenter
      • Config File
    • carotto_bennys
      • Config File
    • carotto_unicorn
      • Config File
    • carotto_blackmarket
      • Config File
    • carotto_atmrobbery
      • Config File
    • carotto_safezones
      • Config File
    • carotto_loadingscreen
    • carotto_blipscreator
      • Config File
    • carotto_key
      • Config File
    • carotto_taxi
      • Config File
    • carotto_weather
      • Config File
    • carotto_hunting
      • Config File
    • carotto_fishing
      • Config File
    • carotto_garage
      • Config File
    • carotto_marketV2
      • Config File
Powered by GitBook
On this page
  1. SCRIPTS
  2. carotto_blackmarket

Config File

Config = {}

Config.Framework = "newesx" -- oldesx = OLD Version | newesx = NEW Version | qbcore = QBCore Framework
Config.Notif = "OX" -- "ESX" or "OX" or "okok" or "qb"
Config.Inventory = 'ESX' -- QB / ESX / OX / QS
Config.TargetSystem = 'ox-target' -- ox-target / qb-target


Config.Positions = {
    {
        UsePed = true,
        Ped = "a_m_m_eastsa_01",
        CoordsPed = vector4(485.70, -1476.98, 29.28, 187.69),
        Coords = vector3(485.70, -1476.98, 29.28),
        Text = "Open Black Market",
        Icon = "fa-solid fa-dollar-sign",
        Anim = "givetake1_a",
        UseBlip = true,
        Blip = {
            Sprite = 480,
            Color = 1,
            Scale = 0.8,
            Name = "Black Market",
        },
        Items = {
            {onlyBuy = true, item = 'weapon_pistol', name = "Pistol 9mm", priceBuy = 150, priceSell = 10, progress = 2500, icon = 'gun', cooldown = 10000, limit = 2, money = "black_money"}, 
            {onlyBuy = false, item = 'weed', name = "Weed", priceBuy = 30, priceSell = 25, progress = 1500, icon = 'joint', cooldown = 5000, limit = 5, money = "black_money"},
        }
    }

    ----------------------------------
    -- onlybuy : true = item will only be available for purchase | false = the item will only be for sale and purchase
    -- item : giveaway item
    -- name : name displayed in menu
    -- priceBuy : purchase price
    -- priceSell : sell price
    -- progress : progressbar time for a purchase
    -- icon : icon appear on the menu
    -- cooldown : time or the player will no longer be able to buy or sell the item between each action on the item
    -- limit : buy or sell limit in 1 transaction
    -- money : Choose the amount of money the player should spend or receive, depending on your wishes and framework.
    ----------------------------------

    -- Add others position here if you want
}

Config.Text = {
    Currency = "$",
    TitleMenu = "Black Market",
    Buy = "Buy",
    Sell = "Sell",
    Quantity = "QUANTITY",
    QuantityDesc = "Enter quantity",
    EnoughMoney = "You don't have enough money",
    EnoughMoneyDesc = "You must have more money to do this",
    EnoughItems = "You don't have enough item",
    EnoughItemsDesc = "You must have more items to do this",
    InProgress = "In progress...",
    ActionSuccess = "Action Successfully Completed!",
    ActionSuccessDesc = "The action you took was a success",
    Cooldown = "Cooldown",
    CooldownDesc = "You'll have to wait before you can do that.",
    TooMuch = "You have to calm down!",
    TooMuchDesc = "You can't do that with so many",
}
Previouscarotto_blackmarketNextcarotto_atmrobbery

Last updated 6 days ago