πInstallation
Resource installation guide and dependencies
Framework
Dependencies
Resource
Install
Description
1 - Start
1. Download your resource from FiveM's Keymaster.
2. Unzip fs_dutysystem.zip folder and place it into your resource folder.
3. Install off duty jobs if ur using ESX. for Qbcore it uses framework duty system
2 - SQL
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_offpolice', 'Off Police', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_offpolice', 'Off Police', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_offpolice', 'Off Police', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('offpolice', 'Off Police')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('offpolice',0,'recruit','Recruit',20,'{}','{}'),
('offpolice',1,'officer','Officer',40,'{}','{}'),
('offpolice',2,'sergeant','Sergeant',60,'{}','{}'),
('offpolice',3,'lieutenant','Lieutenant',85,'{}','{}'),
('offpolice',4,'boss','Chief',100,'{}','{}')
;
3 - Configuration
* You must go through all configuration options & settings in config/Config.lua
* Make sure to add Webhhoks to get logs in config/Webhooks.lua
4 - Ready
Congratulations, you've successfully installed the resource. Restart the server and you will be all set.
Last updated