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.

Dependencies

This script has no dependencies.

Add Resources

Once you have downloaded the script and dependencies (if necessary), you must add them 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-bank

SQL Query

ESX

ALTER TABLE `users` ADD COLUMN (
  `iban` varchar(50) COLLATE utf8mb4_bin DEFAULT NULL,
  `nfc` int(50) NOT NULL DEFAULT 1,
);

QB

ALTER TABLE `players` ADD COLUMN (
  `iban` varchar(50) COLLATE utf8mb4_bin DEFAULT NULL,
  `nfc` int(50) NOT NULL DEFAULT 1,
);

BOTH

CREATE TABLE IF NOT EXISTS `bit_bankpins` (
  `identifier` varchar(100) COLLATE utf8mb4_bin NOT NULL,
  `pin` int(20) NOT NULL DEFAULT 0
);


CREATE TABLE IF NOT EXISTS `bit_bankrequest` (
  `identifier` varchar(50) COLLATE utf8mb4_bin NOT NULL,
  `requestedidentifier` varchar(50) COLLATE utf8mb4_bin NOT NULL,
  `amount` int(11) NOT NULL DEFAULT 0,
  `username` varchar(50) COLLATE utf8mb4_bin NOT NULL,
  `id` int(11) NOT NULL AUTO_INCREMENT,
  KEY `id` (`id`)
);


CREATE TABLE IF NOT EXISTS `bit_banktransfers` (
  `identifier` varchar(100) COLLATE utf8mb4_bin NOT NULL,
  `type` varchar(50) COLLATE utf8mb4_bin NOT NULL,
  `amount` int(50) NOT NULL DEFAULT 0,
  `sendto` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL,
  `receivedfrom` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL,
  `date` varchar(100) COLLATE utf8mb4_bin DEFAULT NULL
);

Restart

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

Last updated