Installation

  1. Remove either esx_society or qb-management from your server

  2. Make sure all of the dependencies are installed and running.

  3. Drag the script into your resources folder

    Make sure to add it to your `server.cfg` after the dependencies

  4. Upload the upload.sql file to your database

  5. Restart your server

QBCore Users

In order to have some of the functions of the QBcore version working, you need to make some edits to your script. Go to the PaycheckInterval function near line 207 of qb-core/server/functions.lua

Place this event anywhere in the file

RegisterNetEvent("nass_bossmenu:editSalary", function(job, data)
    QBCore.Shared.Jobs[job] = data
end)

Then near line 215 find

 local account = exports['qb-banking']:GetAccountBalance(Player.PlayerData.job.name)

And replace it with

local account = exports['nass_bossmenu']:getAccount(Player.PlayerData.job.name)

You will also need to change this export near line 221

exports['qb-banking']:RemoveMoney(Player.PlayerData.job.name, payment, 'Employee Paycheck')

And replace it with

exports['nass_bossmenu']:removeMoney(Player.PlayerData.job.name, payment)

If you have followed all of the steps correctly, it should look something like this

Last updated