π¦Installation
How to install and setup (ESX)
Requirements
Step 1 - Place resource in [qb] folder
Place the folder qb-pos inside your folder with all the other qb scripts. This is most likely called [qb]
Step 2 - Database
Execute the following code in your database
CREATE TABLE `es_banktrucks` (
`citizenid` varchar(255) NOT NULL,
`completed` varchar(500) NOT NULL,
`current` varchar(500) DEFAULT NULL,
`routes` varchar(255) DEFAULT NULL,
`xp` int(255) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `es_banktrucks`
ADD PRIMARY KEY (`citizenid`);
INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('hacking_device', 'Hacking Device', 1, 0, 1),
('thermitecharge', 'Thermite Charge', 1, 0, 1),
('routes_normal', 'Low Routes', 1, 0, 1),
('routes_better', 'Mid Routes', 1, 0, 1),
('routes_elite', 'High Routes', 1, 0, 1);Step 3 - Edit fxmanifest
Open up the fxmanifest.lua file and uncomment the following line
Step 4 - Upload Images
Add the images found in the images folder into your inventory script images folder if needed
Step 5 - Make changes to configuration
Change the framework to esx
Change target to ox-target. If you are not using ox-target, open a ticket in Discord to add compatibility
Change dispatch script to none. Currently there is no support for dispatch on esx. If you would like to get compatibility added, please open a ticket in Discord.
Change payment type to an esx payment type. You can do: money bank black_money
Change Config.GetPlayerIdentifier to esx version
Change Config.GetPlayerByIdentifier to esx version
Change Config.Email to esx version
Step 6 - Configure
Configure to your liking. It is very lengthy because it contains the data for the missions. I recommend that you do not mess with any of the mission data, other than stuff like costs, rewards, spawns, ect. You should not be editing stuff like the names of missions, ect, as you will probably break something. It is already pre-configured so you shouldn't have to change much other than what I mentioned above.
Last updated