Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Police Scripts

Premium MultiJob FiveM resource preview

Premium MultiJob

Wasabi Scripts
Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
Version
1.3.1
Dependencies
esx_societyox_liboxmysql
File size
10.7 kB
Creator
Wasabi Scripts
Updated
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

Premium MultiJob (wasabi_multijob) is a multi-job and boss menu script for ESX. The author originally made it for their own server so that players are no longer restricted to one job. What started as a simple multi-job menu is now a full replacement for the default ESX boss menus.

Features

  • Adds every job to the job menu when a player is given a job they did not have before
  • Players can easily go on and off duty and switch between their jobs (/jobs or F5 by default)
  • Configurable maximum number of jobs per player
  • If a player deletes the job they are on duty for, their active job switches to the off-duty/unemployed job
  • Blacklist for jobs that should not be added to the job menu (for example prisoner)
  • Boss menus that you can place anywhere, for any job with a boss grade, in the config
  • Boss menus can change ranks and fire employees whether they are online or offline
  • Give bonuses to employees' bank accounts via the boss menu, even when the employee is offline
  • Boss menu reads from the wasabi_multijob SQL table instead of the job column of the users table, so all employees are listed even when they are not clocked in, and fired employees are removed
  • Society funds: deposit and withdraw money
  • Includes addon_account and addon_account_data tables in the SQL file, so you can add boss menus without adding data manually

Requirements

  • ESX (esx_society for the boss menus)
  • ox_lib
  • oxmysql

Installation

  • Import SQL.sql (creates wasabi_multijob, addon_account and addon_account_data if they do not exist).
  • Place the wasabi_multijob folder in your resources folder.
  • Add ensure wasabi_multijob to your server.cfg after ox_lib and oxmysql.

Note: the config below shows the original product version. In the included version 1.3.1 the config is in configuration/config.lua, the job menu settings are grouped under Config.openJobMenu, and boss menus are disabled by default (Config.bossMenus.enabled = false).

Config:

Config = {}

Config.JobMenuCommand = 'jobs' -- Command you want for opening job menu(/jobs default)
Config.JobMenuKey = '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(Good for adding boss menus for any job that has a 'boss' grade)
    enabled = true, -- Easily disable completely by switching to false
    marker = { -- Marker configuration
        type = 27,
        color = {r = 50, g = 50, b = 204},
        drawDistance = 10
    },
    locations = { -- Add/edit boss menu locations for defined jobs(Jobs must have a 'boss' grade to access menu)
    --  { coords = vector3(XX.XX, XX.XX, XX.XX), job = 'JOB_NAME_HERE' }, -- EXAMPLE
        {coords = vector3(-576.1141, -936.6058, 28.69531-0.9), job = "police", label = "POLICE"},
        {coords = vector3(334.95, -594.01, 43.28-0.9), job = "ambulance", label = "EMS"},
    }
}

Strings = {
    -- All strings for language change purposes

    -- Notifications
    ['hired_header'] = 'You\'ve been Hired!',
    ['hired_content'] = 'A job has been awarded in your job menu.',
    ['alr_clocked'] = 'Already Clocked In',
    ['alr_clocked_desc'] = 'You are already clocked in to this job.',
    ['clocked_out'] = 'Clocked Out',
    ['clocked_out_desc'] = 'You have successfully clocked out.',
    ['deleted'] = 'Deleted',
    ['deleted_desc'] = 'Job successfully deleted.',
    ['no_perm'] = 'No Permision',
    ['no_perm_desc'] = 'You are not authorized to access this!',
    ['invalid_amount'] = 'Invalid Amount',
    ['invalid_amount_desc'] = 'Please input a valid amount!',
    ['deposit_successful'] = 'Deposit Successful',
    ['deposit_successful_desc'] = 'You have successfully deposited $%s in to the business account',
    ['lacking_funds'] = 'Lacking Funds',
    ['lacking_funds_desc'] = 'You don\'t have enough cash for this transaction',
    ['withdrawal_funds'] = 'Withdrawal Funds',
    ['withdrawal_successful'] = 'Withdrawal Successful',
    ['withdrawal_successful_desc'] = 'You have successfully withdrawaled $%s from the business account',
    ['success'] = 'Success',
    ['success_desc'] = 'Action Successful!',
    ['invalid_id'] = 'Invalid ID',
    ['invalid_id_desc'] = 'Player not found with ID entered',
    ['hire_success'] = 'Hire Successful',
    ['hire_success_desc'] = 'You have successfully hired %s',
    ['bonus_success_desc'] = 'You successfully send %s a $%s bonus',
    ['bonus_title'] = 'Bonus Received!',
    ['bonus_msg'] = 'You were granted a $%s employment bonus from %s.',
    ['no_money'] = 'Insufficient Funds',
    ['no_money_desc'] = 'There are not enough funds for this action',
    ['delete_confirm'] = 'Caution!',
    ['delete_confirm_desc'] = 'Are you sure you wish to delete this job?',
    ['fire_confirm_desc'] = 'Are you sure you wish to fire this employee?',
    ['cancelled'] = 'Cancelled',
    ['cancelled_desc'] = 'You cancelled your previous action',
    ['fired'] = 'Employee Terminated',
    ['fired_desc'] = 'You successfully fired the employee',

    --Main Menu
    ['offduty_header'] = 'Off Duty',
    ['clockedin_job'] = 'Current Job:',
    ['grade_label'] = 'Position:',
    ['no_jobs'] = 'No Saved Jobs!',
    ['nojob_desc'] = 'Try applying at local businesses',
    ['jobs_menu'] = 'Jobs Menu',
    ['go_back'] = '< Go Back',

    -- Job Clock In / Out / Delete Menu
    ['clock_in'] = 'Clock In',
    ['clock_out'] = 'Clock Out',
    ['delete_job'] = 'Delete Job',

    -- Boss Menu
    ['employee_list'] = 'Employee List',
    ['employee_count'] = 'You currently have %s employees',
    ['society_funds'] = 'Manage Funds',
    ['society_funds_desc'] = 'Total Funds:',
    ['currency'] = '$',
    ['deposit_funds'] = 'Deposit Funds',
    ['withdrawal_funds'] = 'Withdrawal Funds',
    ['amount'] = 'Amount:',
    ['job_position'] = 'Position:',
    ['job_salary'] = 'Salary:',
    ['edit_rank'] = 'Promote/Demote',
    ['edit_rank_desc'] = 'Position: %s | Salary: $%s',
    ['fire_employee'] = 'Terminate Employment',
    ['employee_list'] = 'Employees',
    ['current_position'] = '(Current)',
    ['hire_employee'] = 'Hire Employee',
    ['hire_employee_desc'] = 'Hire someone by ID',
    ['player_id'] = 'Player\'s ID:',
    ['give_bonus'] = 'Give Bonus',
    ['give_bonus_desc'] = 'Send an employee a bonus',
    ['open_boss_menu_3d'] = '[~b~E~w~] Access Boss Menu'
}
Read more

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

Premium MultiJob

In your downloads
  • Origen Police
    • ESX
    • QBCore
    Not for your framework

    Origen Police (QBCore & ESX)

    Origen Network

    $23.00$16.10
  • CD Dispatch FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    CD Dispatch

    Codesign

    $20.00$14.00
  • MDT
    • ESX
    Not for your framework

    Police System CAD/MDT

    $24.99$17.49
  • Megaphone Mod (Vehicle & Handheld) FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Megaphone Mod (Vehicle & Handheld)

    ScriptsM

    $19.00$13.30
  • Advanced Police Job FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Advanced Police Job

    Wasabi Scripts

    $29.99$20.99
  • Prison
    • ESX
    • Standalone, QBCore, Qbox

    Prison all-in-one system

    rcore

    $32.00$22.40
  • Helicopter Camera FiveM resource preview
    • ESX
    • QBCore, Standalone

    Helicopter Camera

    Mads

    $12.00$8.40
  • BodyCam + Dashcam (Infinity & OneSync) FiveM resource preview
    • ESX
    Not for your framework

    BodyCam + Dashcam (Infinity & OneSync)

    $15.99$11.19