A script designed with a sleek and modern design for being able to display your current jobs as well as switching between them.
Find the following event
qb-bossmenu:server:FireEmployee
Insert the TriggerEvent right under the notification for 'Employee Fired!'. The TriggerEvent should be added twice, once near line 174 and once near line 199.
TriggerClientEvent('QBCore:Notify', src, "Employee fired!", "success")
TriggerEvent('ps-multijob:server:removeJob', target)
GetJobs(citizenid)
Example usage:
local jobs = exports["ps-multijob"]:GetJobs("citizenid here")
AddJob(citizenid, job, grade)
Example usage:
exports["ps-multijob"]:AddJob("citizenid here", "police", 0)
UpdateJobRank(citizenid, job, grade) Example usage:
exports["ps-multijob"]:UpdateJobRank("citizenid here", "police", 3)
RemoveJob(citizenid, job)
Example usage:
exports["ps-multijob"]:RemoveJob("citizenid here", "police")