Underground trade, by m-Scripts
BLACK

Hidden dealers. Real stock. Earned access.

Place black market dealers anywhere from an in-game creator. Every spot has its own items, prices and stock. Players earn XP with every buy, and the best gear stays locked until they have it.

The creator with a dealer location set to a ped that smokes, locked to a gang
A location that shows a prop, open to everyone, with a map blip
The items of one location with price, stock and required XP
Adding an item picked from the inventory list
The shop catalog with categories and stock
Guns that still need more XP to buy
A full cart with the total ready to pay
The players list with their black market XP
01The creator

Pick a spot.
Place a dealer.

Admins open /bmadmin, make a new location and place it in the world. Aim, press E to place it, scroll to turn it. Pick a ped, set how it stands and who can buy.

02Ped, prop or marker

A face.
Or just a crate.

Each location can be a ped, a prop or a plain marker. Turn the map blip on or off, set its sprite, colour and size, and open or close the spot with one switch.

03Stock

Every spot.
Its own stock.

Each location sells its own list. Set the price, the stock, the category and the XP needed for every item. Edit it, add stock or remove it from the panel.

04Add items

Pick it.
Do not type it.

Search the items of your inventory and pick one. The name, label and picture come with it. You can still type the code by hand.

05The shop

Walk up.
Browse the goods.

Players see the catalog by category, with the price, the stock left and the XP of every item. Search the list or filter it.

06XP

Earn the trust.
Earn the guns.

Every purchase gives XP. Items above your XP stay locked and show how much you need. Weapons give more XP than general goods.

07Cart

Fill the cart.
Pay once.

Add several items and pay for them in one go. The server checks the price, the stock, your XP and that you are still next to the dealer.

08Players

See who buys.
Set their XP.

Admins see every player with black market XP, online or offline, and can give or remove XP by hand.

Showcase

See it running.
In the city.

How a dealer shows up

Three ways
to hide a shop.

Every location picks one. Change it any time in the creator.

01 · A person

Ped

Any ped model you like, standing in one of 7 poses or doing nothing at all.

SmokingGuardClipboardLeaning smokeDealerLeaningImpatient
02 · An object

Prop

Any prop model, placed and turned with the camera. A crate in a garage or a laptop on a table.

Any modelCamera placement
03 · A spot

Marker

No model at all. Just a spot on the ground where the shop opens.

No modelDrawn marker
0Ways a dealer shows up
0Poses for the dealer ped
0Ways to pay: cash, bank or black money
0Starter items in the optional SQL
0Inventories supported
Everything in the box

A real market.
Not a shop menu.

Built in game

Locations, items and player XP are all managed from one admin panel. The command is /bmadmin and you can rename it.

Admins

Camera placement

Aim, press E to place, scroll to turn and X to cancel. The coordinates are saved for you.

Creator

Many locations

Every location is its own shop with its own name, model and stock.

Locations

Ped, prop or marker

Pick how the dealer shows up and set the model.

Spawn

7 ped poses

Smoking, guard, clipboard, leaning smoke, dealer, leaning or impatient. Or none.

Scenarios

Map blip

Optional for every location, with its own sprite, colour and size.

Map

Job or gang locks

Open a location to everyone, or lock it to the jobs or gangs you pick, plus any extra names.

Access

Open or closed

One switch closes a location without deleting it.

Status

Stock per location

Price, stock, category and XP are set for every item in every location.

Stock

Pick from inventory

Search the items of ox_inventory or QB and add one with its label and picture.

Items

Restock in seconds

Add stock to any item from the panel. Sold items leave the stock on their own.

Restock

Categories

General and Guns come ready. Add more in the config and the shop picks them up.

Config

Required XP

Set the XP an item needs. Players below it see how much they still need.

Progression

XP per purchase

2 to 10 XP for general items and 12 to 25 for weapons, by default.

Config

Player XP panel

See every player with XP, online or offline, and give or remove XP.

Admins

Cart

Fill a cart with several items and pay once.

Shop

Checked on the server

Price, stock, XP, access and distance to the dealer are checked by the server at checkout.

Security

Weapon serials

Weapons bought here get a generated serial number. One switch in the config.

Guns

Cash, bank or black money

Pay with cash, the bank or a black money item, including items that carry a worth value.

Payments

Global lock

An optional extra lock for the whole market, by job or by gang.

Config

Discord log

Every purchase can go to a webhook with the player, the item and the amount.

Webhook

Item pictures

Pictures come from your inventory, so the shop matches the rest of your server.

Images

Tables made for you

The database tables are created on the first start.

Setup

English and Portuguese

Both languages included for the game texts and the screens.

Locales
The screens

Admin panel.
Up close.

Black market screen
Edit item Price, stock, XP and category
Straight answers

What you get.
What you need.

Included

  • The script with its own shop and admin screens, in English and Portuguese
  • An in-game creator for locations, items and player XP
  • An optional SQL with 44 starter items, 17 of them weapons
  • A first location created on the first start, ready to edit
  • A purchase webhook for Discord

Good to know

  • Needs ox_lib and oxmysql. Tables are made on start
  • Add your citizenid or license to the admin list in the config to open the panel
  • The items you sell must exist in your inventory
  • No target script? Set Config.Target to none and players press E
Plugs into your server

Your stack.
Already supported.

Framework, inventory and target are found on their own when the server starts. Or set each one by hand in the config.

Framework

QboxQBCoreESX

Inventory

ox_inventoryqb-inventoryqs-inventory

Target

ox_targetqb-targetNone

Payment

CashBankBlack money itemWorth metadata

Needs

ox_liboxmysql

For developers

Hook in.
From any script.

Two server events fire on every purchase, so your own scripts can react.

-- after the money is taken
AddEventHandler('m-Blackmarket:Server:EventAfterRemoveMoney', function(src, amount)
    -- your code
end)

-- for every item handed over
AddEventHandler('m-Blackmarket:Server:EventReceiveItem', function(src, itemName, count)
    -- your code
end)
FAQ

Before you buy.

Do I have to write coordinates?

No. Make a location in /bmadmin, aim where you want it and press E. Only the very first location comes from the config.

Can each dealer sell different things?

Yes. Stock is saved per location, so every dealer has its own items, prices, stock and XP.

Can I lock a dealer to a gang?

Yes. Set a location to job locked or gang locked and pick the names. There is also an optional lock for the whole market in the config.

Does stock refill on its own?

No. Stock goes down as players buy, and admins add more from the panel. That keeps rare items rare.

Can players pay with dirty money?

Yes. Set the payment to black money and the item name. Items that carry a worth value are supported too.

Who can open the admin panel?

Only the citizenids or licenses you add to the admin list in the config.

OPENTHE BACK DOOR.

Available now for 18.45 EUR.

Buy Blackmarket