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.
Loggin in to the CFX Portal
First, log in to the official CFX portal by clicking here.

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 battlepassSQL Query
Use the following query in your database
ESX
ALTER TABLE `users` ADD COLUMN
(
`xp` int(20) NOT NULL DEFAULT 800,
`xpreward` int(20) NOT NULL DEFAULT 0,
`xpvipreward` int(20) NOT NULL DEFAULT 0,
`vip` int(1) DEFAULT 0,
`coins` int(50) DEFAULT 0
) QB
ALTER TABLE `players` ADD COLUMN
(
`xp` int(20) NOT NULL DEFAULT 0,
`xpreward` int(20) NOT NULL DEFAULT 0,
`xpvipreward` int(20) NOT NULL DEFAULT 0,
`vip` int(1) DEFAULT 0,
`coins` int(50) DEFAULT 0
) Restart
Once you have completed these steps, restart your server and the installation will be complete.
IMPORTANT · 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.
1. Unzip the battlepass.pack.zip file and place this folder in your server's resource folder.
2. Add the resource to your server start config:
ensure battlepass
The name of the folder must not be changed or the resource will not function correctly.
3.Pass the query stored in the .sql file into your database.
4.Restart your server.
WARNING do not edit the encrypted files in any way.Last updated