zephyr_multijobEventsClient

Client Events

These are client-side net events registered by zephyr_multijob. Trigger them from another resource’s client script using TriggerEvent.


zephyr_multijob:client:openJobMenu

Opens the job-selection panel for the local player. Uses the custom NUI panel when Config.UseCustomUI is true, otherwise falls back to an ox_lib context menu.

Arguments: none

TriggerEvent('zephyr_multijob:client:openJobMenu')

zephyr_multijob:client:openBossMenu

Opens the boss management panel after validating the player has boss access for the given job.

ArgumentTypeRequiredDescription
jobNamestringNoJob to open the boss menu for. Defaults to the player’s active job.
jobLabelstringNoDisplay label. Inferred from the registry when omitted.
TriggerEvent('zephyr_multijob:client:openBossMenu', 'police', 'Police')

zephyr_multijob:client:openGangMenu

Opens the gang-management panel. Only works when Config.EnableGangBossMenu is true. The player must hold boss rank in at least one gang.

Arguments: none

TriggerEvent('zephyr_multijob:client:openGangMenu')

zephyr_multijob:client:notify

Pushes a Zephyr-styled toast notification to the local player’s screen.

ArgumentTypeRequiredDescription
titlestringYesBold heading of the notification.
descriptionstringYesBody text below the heading.
variantstringNodefault | success | warning | danger | info. Defaults to default.
durationnumberNoAuto-dismiss in ms. 0 = sticky. Defaults to 4000.
TriggerEvent('zephyr_multijob:client:notify', 'Title', 'Something happened', 'success')

Internal Events

These exist inside the resource but are not stable cross-resource integration points.

EventNotes
zephyr_multijob:client:refreshInternal UI refresh signal. Do not rely on this from other resources.