Installations
Remember that this resource has verified DMCA protection, and its illegal use or distribution could imply a claim for protection of Title 17 of Chapter 512 (c) (3) of the Digital Millennium Copyright Act


It is important to use the dependencies that are indicated in this step, do not use others, otherwise you will receive critical errors
Quasar Gangwars only has three dependencies, download them by clicking on the following buttons

It is important to put the resources in the correct order, below qb-core but above the other scripts
In order for the resource to start correctly and not receive any errors, we must start the resources in the following order
1
ensure meta_libs
2
ensure progressbar
3
ensure qs-gangwars

Do not start the resource without first having installed the complete database, if you start the resource in the database, you will get critical errors
Gangwars database
1
CREATE TABLE `gang_areas` (
2
`owner` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
3
`area` VARCHAR(50) NOT NULL COLLATE 'utf8mb4_general_ci',
4
PRIMARY KEY (area) USING BTREE
5
)
6
COLLATE='utf8mb4_general_ci'
7
ENGINE=InnoDB
8
;

We will change the framework in qs-gangwars/config/config_framework.lua, there we will change the Config.Framework and place 'QBCore'
1
--███████╗██████╗░░█████╗░███╗░░░███╗███████╗░██╗░░░░░░░██╗░█████╗░██████╗░██╗░░██╗
2
--██╔════╝██╔══██╗██╔══██╗████╗░████║██╔════╝░██║░░██╗░░██║██╔══██╗██╔══██╗██║░██╔╝
3
--█████╗░░██████╔╝██ █████║██╔████╔██║█████╗░░░╚██╗████╗██╔╝██║░░██║██████╔╝█████═╝░
4
--██╔══╝░░██╔══██╗██╔══██║██║╚██╔╝██║██╔══╝░░░░████╔═████║░██║░░██║██╔══██╗██╔═██╗░
5
--██║░░░░░██║░░██║██║░░██║██║░╚═╝░██║███████╗░░╚██╔╝░╚██╔╝░╚█████╔ ╝██║░░██║██║░╚██╗
6
--╚═╝░░░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚═╝╚══════╝░░░╚═╝░░░╚═╝░░░╚════╝░╚═╝░░╚═╝╚═╝░░╚═╝
7
8
Config.Framework = 'QBCore' -- 'ESX' or 'QBCore'.
9
10
-- ESX.
11
Config.getSharedObject = 'esx:getSharedObject' --Modify it if you use an ESX Custom.
12
Config.playerLoaded = 'esx:playerLoaded' --Modify it if you use an ESX Custom.
13
Config.setJob = 'esx:setJob' --Modify it if you use an ESX Custom.
14
15
-- QBCore.
16
Config.GetCoreObject = 'qb-core' --Modify it if you use an QBCore Custom.
17
Config.QBCoreSetPlayerData = 'QBCore:Player:SetPlayerData' --Modify it if you use an QBCore Custom.
18
Config.OnPlayerLoaded = 'QBCore:Client:OnPlayerLoaded' --Modify it if you use an QBCore Custom.
Last modified 2mo ago