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 does not require any 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-rewards

SQL Query

Use the following sql query in your database:

ESX

ALTER TABLE users 
ADD COLUMN daily_rewards INT DEFAULT 0,
ADD COLUMN daily_rewards_time INT DEFAULT 0;

QB/QBOX

ALTER TABLE players 
ADD COLUMN daily_rewards INT DEFAULT 0,
ADD COLUMN daily_rewards_time INT DEFAULT 0;

Restart

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

Last updated