🕶️azakit_repusystem

Manual Guide

INSTALLATION [ESX/QBCore]

1. Resource Download

To get started, you'll need to download your new resource previously purchased from shop. For that we must log in with our account at keymaster and look for the Asset grants section, there we will find our complete package.

To get updates you get them from the same website (keymaster).

2. Unzip The Folder

Unzip the script folder. Add the azakit_repusystem to your resources folder.

3. Ensure

Add ensure azakit_repusystem to your server.cfg.

This should be under your essentials resources.

ensure azakit_repusystem

CONFIGURATION

4. Configure

Configure the config.lua file present in the resource, with the help of comments to facilitate your configuration. Check: config.lua

5. Create Item

Create the items in your inventory.

OX Inventory Items

	['suspicious_package'] = {
		label = 'suspicious package',
		weight = 220,
		stack = false,
		close = true,
		description = nil
	},

	['cocaine'] = {
		label = 'cocaine',
		weight = 20,
		stack = true,
		close = true,
		description = nil
	},

	['lockpick'] = {
		label = 'lockpick',
		weight = 20,
		stack = true,
		close = true,
		description = nil
	},

6. Add MYSQL table.

CREATE TABLE IF NOT EXISTS `blackmarket_reputation` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` varchar(64) NOT NULL,
  `dealer` varchar(64) NOT NULL,
  `reputation` int(11) NOT NULL DEFAULT 0,
  `delivered_packages` int(11) NOT NULL DEFAULT 0,
  `stolen_vehicles` int(11) NOT NULL DEFAULT 0,
  `purchased_items` TEXT NOT NULL DEFAULT '{}',
  `giveIntroItem` int(11) NOT NULL DEFAULT 0,
  `cameratask` int(11) NOT NULL DEFAULT 0,
  `assassintask` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  UNIQUE KEY `identifier_dealer` (`identifier`,`dealer`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

7. Restart Server

Restart your game server and enjoy the system.

8. Admin Command

/setrp [id] [dealer] [+/-pont] → Adjust a player's RP for a specific dealer

/getrp [id] [dealer] → Check a player's RP for a specific dealer

Examples:

/setrp [id] irin +10 → Add 10 RP to a player for irin

/setrp [id] misha -5 → Remove 5 RP from a player for misha

/getrp [id] irin → Check a player's RP for irin

/getrp [id] misha → Check a player's RP for misha

Last updated