SickScripts Documentation
SickScripts DiscordProject ALPHA DiscordTebex Store
  • Overview
    • 💡SickScripts
    • ✨Useful Links
    • 🎯Newest ESX
  • Shared Framework
    • 👮SickDirtyCops
      • Robbery Trigger
      • Installation
      • Config
      • Buy/Sell Shop
      • Updates
      • Custom Events
    • 🚗Sick2Step
      • SetUp
      • Usage
    • 🌱SickTrapHouses
      • Installation
      • Events
    • 🗒️SickWarrants
      • Events
      • Examples
    • 💣SickCarBombs
      • Items
      • Config
    • 📎SickLockers
      • Config
      • Events
      • QBCore Users
    • 💰SickMoneyWash
      • Usage
      • Config
    • 🗺️SickTeleport
      • Installation
      • Default Locations
      • Donators
      • Config
  • ESX Scripts
    • 🎟️SickFines-PEFCL
      • Events
    • 🧑‍💼SickTraders
      • Traders
    • 🌭SickFoodStands
    • 🍔SickUpNAtom
      • General info
      • Ordering
      • Job Info
      • Boss Menu
  • 🔒SickJail
    • Events/Exports
    • Examples
    • Jobs
    • Drug Bag
    • Prison Break
    • Stashes
  • 📄SickReports
    • Options
  • 🇫🇲SickSafeZones
    • Info
    • Music
    • AirDrops
    • ScrapCars
  • QBCore
    • 🏨SickApartmentSelect
Powered by GitBook
On this page
  1. ESX Scripts
  2. SickUpNAtom

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
})
PreviousJob InfoNextSickJail
🍔