Configuration
Config = Config or {}
-- All Extras are listed here and can be configured
Config.BlackmarketExtras = {
interactdistance = 1.0, -- Distance to interact with blackmarket
markerdistance = 15.0, -- Distance for markers
PedModel = "a_m_m_og_boss_01", -- Ped Hash (https://docs.fivem.net/docs/game-references/ped-models/)
PedName = "Blackmarket Dealer", -- Ped Name
ShowPedModel = true, -- Enabe/Disable Ped Model
ShowNotification = false, -- Show left notification
setboxtext = true, -- Enabe/Disable Box text
setmarker = true, -- Enabe/Disable Marker
markercolor = { r = 150, g = 0, b = 0 }, -- RGB Marker changable
markerscale = { x = 0.7, y = 0.7, z = 0.5, h = 1.0 }, -- Marker Size changable
markerid = 1, -- Marker ID
}
-- If you want blackmarket access with blackcard then you can configure it here
Config.RequiredItem = {
Enable = false,
Item = "blackcard",
}
-- Here you can set the coords where the Ped should be spawn
Config.PedModelCoords = {
{x = 149.06, y = -2202.89, z = 4.69, h = 65.23},
}
-- Blackmarket Locations / add/remove locations like you want
Config.Locations = {
vector3(147.96, -2202.34, 4.69),
}
-- Add as many items as you want, configure label name and the price
Config.BlackmarketShop = {
[1] = { ItemName= "weapon_knuckle", Label= "Knuckle", Price= 7500 },
[2] = { ItemName= "weapon_knife", Label= "Knife", Price= 10000 },
[3] = { ItemName= "weapon_pistol", Label= "Pistol", Price= 15000 },
[4] = { ItemName= "bandage", Label= "Bandage", Price= 50 },
[5] = { ItemName= "heavyarmor", Label= "Heavy Armor", Price= 500 },
[6] = { ItemName= "pistol_ammo", Label= "Pistol Ammo", Price= 150 },
[7] = { ItemName= "clip_attachment", Label= "Clip Attachment", Price= 15000 },
[8] = { ItemName= "suppressor_attachment", Label= "Suppressor", Price= 10000 },
}
-- Language
Config.Lang = {
["key_pressed"] = "Press ~INPUT_CONTEXT~ to open the ~r~Black Market~w~",
["info_text"] = "[~r~E~w~] Black Market",
["no_blackcard"] = "You need a Blackcard to open this shop",
["buy_text"] = "You have bought ",
["buy_text2"] = " for $",
["no_money"] = "Not enough money!",
}
Last updated