FWB STUDIO
Visit Store
  • Fwb Studios
    • 👋Welcome to FWB STUDIOS
      • FWB STUDIOS
    • ❓Common Questions
    • ⬆️How to Get Updates On Scripts
  • FiveM Escrow Errors
    • 🛠️ERRORS
      • ⚠️Is my error caused by FiveM escrow system?
      • ❓Failed to verify protected resource
      • ❓What steps should be taken if there are still errors?
  • How To Do This
    • 🛠️Install FwB Scripts
      • 5️ESX/QB Installation
  • FS SCRIPTS
    • 🌉Bridge
      • 📋Installation
      • Logs Setup
      • Integration
        • 📖Client_Override
        • 📖Server_Override
      • ❗Common Issues
    • 💳Fraud System
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 👠Skitz
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ⚒️Functions/Exports
      • ❗Common Issues
    • 🦱Weave Wear
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ⚒️Functions/Exports
      • ❗Common Issues
    • ⌛Safezone Creator
      • 📖[ESX/QB] Config Files
      • 📖Unlocked FIle
      • 📋Installation
      • ❗Common Issues
    • 🍌Useable Foods
      • 📋Installation
      • ❗Common Issues
    • 🍕Pizza Shop
      • 📖[ESX/QB] Config
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🍔Burger Shop
      • 📖[ESX/QB] Config
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 📱Trap Phone
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🚗Carwipe
      • 📖[ESX/QB] Config Files
      • 📄Send Vehicle Garage
      • 📖Unlocked FIle
      • 📋Installation
      • 📖Exports
      • ❗Common Issues
    • 📦Placeables
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • Money As Item in Ox Inventory
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🚬Smoking
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🌱White Widow
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • 🧾Exports / Functions
      • ❗Common Issues
    • 👕Clothing As Item
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • 📖Item Whitelist
      • ❗Common Issues
    • 💎Ice Box
      • 📖[ESX] ALL Configs Files
      • 📖[QBCore] ALL Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🔫Switch
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📖Integrations
      • ❗Common Issues
    • 🔫Gun Jamming
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 👀Lashes Saloon
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 💅Nails Saloon
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • ❗Common Issues
    • 🕐Duty System
      • 📖[ESX] Config Files
      • 📖[QB] Config Files
      • 📋Installation
      • 🧾Exports / Functions
      • ❗Common Issues
    • 🦱Wigs Bundle
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📋Create New Wigs
    • 🚗Chop Shop
      • 📖[ESX] Config Files
      • 📖[QBCore] Config Files
      • 📋Installation
      • 📋Exports (Optional)
      • ❗Copy of Common Issues
Powered by GitBook
On this page
  • Framework
  • Dependencies
  • 1 - Start
  • 2 - SQL
  • 3 - Configuration
  • 4 - Ready
  1. FS SCRIPTS
  2. Duty System

Installation

Resource installation guide and dependencies

Previous[QB] Config FilesNextExports / Functions

Last updated 7 months ago

Framework

Dependencies

Resource
Install
Description

Required

callbacks,notification

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,'{}','{}')
;
INSERT INTO `addon_account` (name, label, shared) VALUES
	('society_offambulance', 'Off Ambulance', 1)
;

INSERT INTO `datastore` (name, label, shared) VALUES
	('society_offambulance', 'Off Ambulance', 1)
;

INSERT INTO `addon_inventory` (name, label, shared) VALUES
	('society_offambulance', 'Off Ambulance', 1)
;

INSERT INTO `jobs` (name, label) VALUES
	('offambulance', 'Off Ambulance')
;

INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
	('offambulance',0,'ambulance','Paramedic',20,'{}','{}'),
	('offambulance',1,'doctor','Doctor',40,'{}','{}'),
	('offambulance',2,'chief_doctor','Chief Doctor',60,'{}','{}'),
	('offambulance',3,'boss','Director',85,'{}','{}')
;

```
-- no sql need script use ingame duty system

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.

🕐
📋
ESX
QBCore
ox_lib