📣Job Announcement

Discord u can claim your role with /claim https://discord.gg/rC8c4aNC2f

INSTALLATION

First step

How to use (Client side)

Open/Close

The script works with ox_lib and more specifically with menus/callback. To use the "Open/Close" option, simply this export in your job menu.

-- In the menu's options:
exports["dawsmo_jobannouncement"]:OpenClose()

To be precise, the menu is only used by the player to choose to open or close via the job menu, so the export will directly open a menu with two options, simply "open" and "close", and the script will retrieve the job name via "ESX.PlayerData.job.name".


Announcement

For the ads section, use this export to open a menu:

exports["dawsmo_jobannouncement"]:JobAds()

As for the other, this export will directly open a menu with the possibility of setting a title, message and duration (configurable in Config).

Last updated