Wasabi Scripts
StoreDiscordGitHub
  • Documentation
  • Dependency
    • 🔗wasabi_bridge
      • Dependencies
      • Installation
      • Configuration
      • Custom Notifications
      • Common Issues & Fixes
  • Advanced Series
    • 🚑wasabi_ambulance
      • Dependencies
      • Installation
      • Configuration
      • Death Screens
      • Exports / Events
      • State Bags
      • Customizations
      • Common Issues
        • QBCore
    • 🩺wasabi_crutch
      • Dependencies
      • Installation
      • Configuration
      • Exports
    • 👮‍♂️wasabi_police
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • State Bags
      • Events
      • Customizations
    • 🔎wasabi_evidence
      • Dependencies
      • Installation
      • Configuration
      • Customizations
    • 🛡️wasabi_adminmenu
      • Dependencies
      • Installation
      • Configuration
    • 👷wasabi_multijob
      • Dependencies
      • Installation
      • Configuration
      • Replace ESX Boss Menus
    • 🔑wasabi_carlock
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Common Issues
        • QBCore
  • Core UI Series
    • 🖥️wasabi_loadingscreen
      • Configuration
    • 🧑‍🤝‍🧑wasabi_multichar
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Events
    • 💳wasabi_banking
      • Dependencies
      • Installation
      • Configuration
      • Exports
    • 👼wasabi_spawn
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Events
    • 🔔wasabi_notify
      • Exports / Events
      • Configuration
      • Change Framework Notify
    • ⏸️wasabi_pausemenu
      • Dependencies
      • Installation
      • Configuration
      • Exports
  • Heist Series
    • 🏦wasabi_pacificrobbery
      • Dependencies
      • Installation
      • Configuration
      • Events
    • 🏦wasabi_paletorobbery
      • Dependencies
      • Installation
      • Configuration
      • Events
    • 🏦wasabi_fleecarobberies
      • Dependencies
      • Installation
      • Configuration
      • Events
  • 💎wasabi_vangelicorobbery
    • Dependencies
    • Installation
    • Configuration
    • Events
  • 🔫wasabi_ammunationrobbery
    • Dependencies
    • Installation
    • Configuration
    • Events
  • 🚢wasabi_yachtheist
    • Dependencies
    • Installation
    • Configuration
    • Events
  • Free Releases
    • 👕fivem-appearance
      • Installation
      • Dependencies
      • Common Issues
      • Snippets
      • Exports
      • Examples
    • 👩‍💻wasabi_discord
      • Installation
      • Exports
Powered by GitBook
On this page
  1. Advanced Series
  2. wasabi_multijob

Configuration

All Wasabi Scripts contain various editable and unobscured files containing, exports, client and server functions, configuration methods and more.


Config.lua
-----------------For support, scripts, and more----------------
--------------- https://discord.gg/wasabiscripts  -------------
---------------------------------------------------------------

Config = {}

Config.openJobMenu = {
    enabled = true, -- If true then enabled job menu. Otherwise disabled
    command = 'jobs', -- Command for opening job menu (/jobs default)
    key = 'F5' -- Configure to whichever desired key. Set to false if undesired
}

Config.maxJobs = 4 -- Maximum jobs a player can have in their menu(Set to false to disable limit

Config.offDutyJob = {-- Job it switches you to while off duty.
    name = 'unemployed',
    grade = 0
}

Config.blacklist = { -- Jobs you don't want awarded to menu when given to player(I.e prisoner)
--  ['JOB_HERE'] = true,
    ['prisoner'] = true,
}

Config.bossMenus = { -- Configurable boss menus(REQUIRES ESX_SOCIETY - Good for adding boss menus for any job that has a 'boss' grade)
    enabled = false, -- Easily disable completely by switching to false
    label = '[E] - Access Boss Menu',
    depositAccount = 'bank', -- Account used for deposits to boss menu
    withdrawalAccount = 'bank', -- Account used for withdrawals from boss menu
    key = 38, -- Default: 38 (E)
    distance = 2.0, -- Distance before showing text ui/being able to open boss menu
    locations = { -- Add/edit boss menu locations for defined jobs(Jobs must have a 'boss' grade to access menu)
    --  { coords = vec3(XX.XX, XX.XX, XX.XX), job = 'JOB_NAME_HERE' }, -- EXAMPLE
        {coords = vec3(-576.11, -936.61, 28.7), job = "police", label = "POLICE"},
        {coords = vec3(334.95, -594.01, 43.28), job = "ambulance", label = "EMS"},
    }
}

--[[Config.toggleDutyZones = { -- Configurable spots to clock in / off of jobs
    enabled = true, -- Disable whole features by setting as false
    labels = {
        clockoff = '[E] - Clock Off(%s)', -- String to show when clocked in(To clock off)
        clockon = '[E] - Clock On(%s)' -- String to show when clocked out(To clock on)
    },
    key = 38,
    distance = 2.0,
    locations = {
    --  { coords = vec3(XX.XX, XX.XX, XX.XX), job = 'JOB_NAME_HERE' }, -- EXAMPLE
        {coords = vec3(-576.11, -936.61, 28.7), job = "police", label = "POLICE"},
    }
}]]-- Coming next update
PreviousInstallationNextReplace ESX Boss Menus

Last updated 1 year ago

👷