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.
| Argument | Type | Required | Description |
|---|---|---|---|
jobName | string | No | Job to open the boss menu for. Defaults to the player’s active job. |
jobLabel | string | No | Display 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.
| Argument | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Bold heading of the notification. |
description | string | Yes | Body text below the heading. |
variant | string | No | default | success | warning | danger | info. Defaults to default. |
duration | number | No | Auto-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.
| Event | Notes |
|---|---|
zephyr_multijob:client:refresh | Internal UI refresh signal. Do not rely on this from other resources. |