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",
}
Last updated