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
  1. FS SCRIPTS
  2. Duty System

[ESX] Config Files

Please read before purchase to under full functionality of our script

ESX Config
Config = {}

Config.framework_core = { esx = 'es_extended', qb = 'qb-core' }

Config.core_functions = {
    player_loaded = { esx = 'esx:playerLoaded', qb = 'QBCore:Client:OnPlayerLoaded' },
    player_unloaded = { esx = 'esx:onPlayerLogout', qb = 'QBCore:Client:OnPlayerUnload' },
    player_updatejob = { esx = 'esx:setJob', qb = 'QBCore:Client:OnJobUpdate' }
}

Config.target = true --false will use textui and true will use ox target/qb-target

Config.Admin = {
    enable = true,
    command = 'dutymenu',
    Groups = {
        ['admin'] = true,
		['god'] = true,
    },
    Identifier = {
        ['discord:628640109897711636'] = true,     -- discord id u can get from txadmin from players
        ['license:1c17a180cdad995771fea75248f0ed95569b9e6a'] = true, --any lic id u can get from txadmin
        ['AJK40853'] = true,                                         --qbcore citizen id from players table
        ['char1:1c17a180cdad995771fea75248f0ed95569b9e6a'] = true,   -- esx identifier from users table
		-- you add more 
	
    },
	--add this in server cfg
	--add_ace license:1c17a180cdad995771fea75248f0ed95569b9e6a "fs_dutysystem" allow #Capy
    
	Ace = 'fs_dutysystem'
}
 
Config.DutyPoints = {
    [1] = {
        department = 'LSPD',
        jobs = {
            onduty = 'police',
            offduty = 'offpolice', -- off duty job only needed for esx
        },
        ped = { enable = true, coords = vector4(-72.5268, -1820.8704, 26.9421, 230.5248), model = 's_m_m_ciasec_01'}
    },
    [2] = {
        department = 'EMS',
        jobs = {
            onduty = 'ambulance',
            offduty = 'offambulance', -- off duty job only needed for esx
        },
        ped = { enable = true, coords = vector4(-81.5411, -1832.2010, 27.0970, 226.0478), model = 's_m_m_doctor_01'}
    },



}
 Webhook lua also unlocked where you can put your webhook to get logs for each job seprately
PreviousDuty SystemNext[QB] Config Files

Last updated 8 months ago

๐Ÿ•
๐Ÿ“–