πŸ”₯All scripts on our website are 50% off!πŸ”₯
Logo

Installation

Download

Before starting, you must log in to the CFX portal to download the asset. You will be able to download it as many times as you want on the official CFX page. Just as you download it the first time, you will also download it multiple times in the future to get updates.

  1. Loggin in to the CFX Portal: First, log in to the official CFX portal by clicking here.
  2. Finding your assets: Once logged in, navigate to the Granted Assets section to access your purchased assets. You can download them by clicking the "Download" button.

Download

Dependencies

This script does not require any dependencies.

Add Resources

Once you have downloaded the script, you must add it to your server's server.cfg file. This resource must always be started below your framework and inventory. Otherwise, functionality issues or critical errors may occur.

# Default & Standalone Resources
# ------------------------------

ensure spawnmanager
ensure oxmysql
ensure bob74_ipl

# ESX Legacy Core
# ---------------

ensure [core]
ensure [inventory]
ensure bit-gangs

SQL Query

Use the following sql queries in your database:

CREATE TABLE IF NOT EXISTS `bit_gangs` (
  `name` varchar(50) DEFAULT NULL,
  `stash` varchar(50) DEFAULT NULL,
  `locker` varchar(50) DEFAULT NULL,
  `garage` varchar(50) DEFAULT NULL,
  `color` varchar(50) DEFAULT NULL,
  `members` varchar(100) DEFAULT NULL,
  `ranks` varchar(100) DEFAULT NULL,
  `leader` varchar(50) DEFAULT NULL,
  `balance` int(11) DEFAULT NULL,
  `level` int(11) DEFAULT NULL,
  `tonext` int(11) DEFAULT NULL,
  `per` int(11) DEFAULT NULL,
  `position` int(11) DEFAULT NULL
);

CREATE TABLE IF NOT EXISTS `bit_gangs_actions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` varchar(50) NOT NULL DEFAULT '0',
  `action` varchar(50) NOT NULL DEFAULT '0',
  `points` int(11) NOT NULL DEFAULT 0,
  `zone` varchar(50) NOT NULL DEFAULT '0',
  `gang` varchar(50) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
);

CREATE TABLE IF NOT EXISTS `bit_gangs_event` (
  `name` varchar(50) DEFAULT NULL,
  `description` longtext DEFAULT NULL,
  `image` longtext DEFAULT NULL
);

CREATE TABLE IF NOT EXISTS `bit_gangs_stores` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL DEFAULT '0',
  `location` varchar(50) NOT NULL DEFAULT '0',
  `balance` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
);

Pre-Configured Stores

The script includes 72 pre-configured stores for extortion. Insert them with this query:

INSERT INTO `bit_gangs_stores` (`id`, `name`, `location`, `balance`) VALUES
(2573, 'HEARTY TACO', 'vector3(438.5966, -1465.435, 29.29183)', 600),
(2574, 'GAS STATION MURRIETA', 'vector3(1211.128, -1389.024, 35.3769)', 600),
(2575, 'BINCO TEXTILE CITY', 'vector3(424.6784, -809.7817, 29.49224)', 600),
-- ... (68 more stores)
(2644, 'LTD DAVIS', 'vector3(-45.23218, -1756.368, 29.42101)', 600);

[!NOTE] The full list of 72 stores is provided in the SQL file included with the script.

Restart

Once you have completed these steps, restart your server and the installation will be complete.

[!CAUTION]

  • The name of the script folder must not be changed, otherwise the resource will not work correctly.
  • Do not edit the encrypted files in any way.