Boss Menu

One of the most important steps is the boss men. In order for this to work I made an edit to esx_society! Super easy to do and a small walk through will be provided!

ESX_SOCIETY

Here I will show the small edits to esx_society that will make you able to use this portion. This also makes it easier for you to use in other scripts instead of base events!

In esx_society client.lua Search for:

AddEventHandler('esx_society:openBossMenu', function(society, close, options)
	OpenBossMenu(society, close, options)
end)

Above or Below this handler add this snippet of code:

exports('openBossMenu',function(society, close, options)
	OpenBossMenu(society, close, options)
end)

From here you can now use this export in any script Example usage:

exports.esx_society:openBossMenu(JOB, BOOLEAN, options)
exports.esx_society:openBossMenu(job, true, {
    withdraw = true, 
    deposit = true, 
    wash = false, 
    employees = true, 
    grades = true
})