Installation

📦 Installation Instructions for Black market Script System

To ensure the proper functioning of the Black market Script System, you need to follow these installation instructions carefully. This system has some essential dependencies that must be installed first.


🛠️ Asset Dependencies

This asset has some mandatory dependencies that are crucial for its operation. If you do not have these dependencies, your asset may start with errors or fail to function correctly.


Dependency

Direct Link

oxmysql

qbcore

ps-zone

PolyZone

Alternatively, for ESX, use the following dependencies:


🗄️ Database Setup

Run the following SQL command inside your database to set up the necessary table for the Black market System. This step is crucial for the proper functioning of the asset, so please do not skip it.

Click to view SQL Code
CREATE TABLE IF NOT EXISTS `evo_blackmarket_profiles` (
  `citizenid` varchar(255) NOT NULL,
  `playername` varchar(255) NOT NULL,
  `rep` int(11) DEFAULT 0,
  PRIMARY KEY (`citizenid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

📦 Install Items in inventory

This system includes areas for dog-related activities, which will require specific items to be added to your inventory. Below is the code snippet to add the necessary items for the Black market Script System.

Click to view Items for qb-inventory Code
evo_delivery_box = { 
    name = 'evo_delivery_box', 
    label = 'Delivery Box', 
    weight = 0, 
    type = 'item', 
    image = 'evo_delivery_box.png', 
    unique = false, 
    useable = false, 
    shouldClose = false, 
    combinable = nil, 
    description = 'Delivery Box' 
},
Click to view Items for ox_inventory Code
["evo_delivery_box"] = {
    label = "Delivery Box",
    weight = 0,
    stack = true, -- Assuming you can stack more than one box
    close = false, -- Assuming you don't want to close the inventory when using the box
    description = "Delivery Box",
    client = {
        image = "evo_delivery_box.png",
    }
},

🖼️ Images Installation

To ensure your items display correctly in the inventory, follow these steps to install the images:

  1. Navigate to the Images Directory: In your project folder, go to: evo-blackmarket/ui/items.

  2. Install Item Images: Place your item images (e.g., evo_delivery_box.png) into the items directory to make them appear in the UI.

Make sure all images are correctly named to match their corresponding items in your code!


📌 Final Steps

Make sure you follow these instructions carefully to ensure the Black market Script System is installed correctly on your server.

Last updated