Exports

CLIENT

Export(s) available for use on the client.

OpenBossMenu

Opens boss menu.

exports.ejj_multijob:OpenBossMenu()

OpenMultijobMenu

Opens multijob menu.

exports.ejj_multijob:OpenMultijobMenu

SERVER

GetPlayerJobs

Retrieves all jobs associated with a player..

Parameters

  • source (number): The server ID of the player.

Returns

  • table: A table containing the player's jobs (from cache or database).

  • nil: If the player identifier is invalid or no jobs are found.

GetActivePlayerJob

Retrieves the currently active job for a player.

Parameters

  • source (number): The server ID of the player.

Returns

  • table: A table containing the active job's data (e.g., name, active status).

  • nil: If no active job is found or the player identifier is invalid.

RefreshPlayerJobs

Refreshes the cached job data for a player by reloading it from the database.

Parameters

  • source (number): The server ID of the player.

Returns

  • boolean: true if the refresh was successful, false if the player identifier is invalid.

Last updated