Adjustments
Adjustments for Codeo-BlackMarket Resource
Furnished opening of BlackMarket
Follow the steps below to open the Black Market with goods.
Find the file 'shared/config.lua' and open it.
First of all, find the setting named "
CODEO.EnableItemBasedBlackmarket
" and make it correct, then in the setting named "CODEO.requiredItem
", you can use the amex card we give with our blackmarket or any item you want.
Setting up black market NPCs
Follow the steps below to set up Black market NPCs.
Find the file 'shared/config.lua' and open it.
CODEO.Blackmarkets = {
{
pedName = "Black Market",
pedHash = 0xACA3C8CA, -- https://docs.fivem.net/docs/game-references/ped-models/
pedCoord = vector3(1568.12, -2171.42, 76.58), -- Ped Coord
h = 87.36, -- Ped Heading
pedLabel = "Black Market", -- Both the DrawText label and the qb-target label.
targetIcon = "fas fa-sign-in-alt", -- Only for qb-target, it sets the icon of the target
authorizedJobs = 'all', -- If you type all then all players will have access
blipSettings = { -- https://docs.fivem.net/docs/game-references/blips/
blip = true,
blipName = "Blackmarket",
blipIcon = 68,
blipColour = 3,
},
},
-- You can add more
}
Setting up BlackMarket products
Follow the steps below to set up BlackMarket products.
category = "In this section just write one of the weapon / items / ammo / vehicle categories."
CODEO.CategoryItems = { -- weapon / vehicle / item / ammo
{
id = 1, -- Increase this section as you add items.
category = "weapon", -- In this section just write one of these 4 names according to the category you will put weapon / vehicle / item / ammo. Note : Do not change the names.
itemName = "weapon_appistol", -- The code of the item you are selling.
type = "WEAPON", -- Set the type to WEAPON / ITEM / VEHICLE only.
label = "AP Pistol", -- This is the display name of the item.
price = 25000, -- Price of the product.
image = "assets/ap-pistol.png" -- The image of the product you added.
},
}
Last updated