Page cover

πŸ’ΏInstallation

Discover how to install your script.

β€’ STEP 1: DEPENDENCIES

Make sure you have this resources installed in your server!

  1. Support ESX, QB-CORE or Custom Framework

  2. Need download and ensure xsound

β€’ STEP 2: INSTALL SQL

Install the SQL files in the [Installation] folder.

SQL for ESX:

ALTER TABLE `users` ADD COLUMN `is_inPaintball` INT NULL DEFAULT 0;
ALTER TABLE `users` ADD COLUMN `last_paintball_loc` LONGTEXT NULL DEFAULT NULL;

CREATE TABLE IF NOT EXISTS `biyei_hpaintball_stats` (
  `identifier` varchar(50) NOT NULL DEFAULT 'AUTO_INCREMENT',
  `name` varchar(80) NOT NULL DEFAULT '',
  `kills` int(11) NOT NULL,
  `wins` int(11) NOT NULL,
  `deaths` int(11) NOT NULL,
  `avatar` longtext NOT NULL,
  PRIMARY KEY (`identifier`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

SQL for QBCore:

ALTER TABLE `players` ADD COLUMN `is_inPaintball` INT NULL DEFAULT 0;
ALTER TABLE `players` ADD COLUMN `last_paintball_loc` LONGTEXT NULL DEFAULT NULL;

CREATE TABLE IF NOT EXISTS `biyei_hpaintball_stats` (
  `identifier` varchar(50) NOT NULL DEFAULT 'AUTO_INCREMENT',
  `name` varchar(80) NOT NULL DEFAULT '',
  `kills` int(11) NOT NULL,
  `wins` int(11) NOT NULL,
  `deaths` int(11) NOT NULL,
  `avatar` longtext NOT NULL,
  PRIMARY KEY (`identifier`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

β€’ STEP 3: SET DISCORD BOT TOKEN

You will need to put a discord token bot on our resource to load the discord images in the players stats.

You can change it in line #1

shared/sv_editable.lua

BotToken = '' -- It is important to put a discord token to show the pictures.

β€’ STEP 4: START ORDER

Ensure the resources in this order.

ensure xsound
ensure biyei_hpaintball

Last updated