Events & Exports
NB Multijob Exports
NB Multijob Exports
GetConfig
Get current framework configuration.
---@return table
local config = exports["nb_multijob"]:GetConfig()Client Exports
addJob
Add a job to the current player.
exports["nb_multijob"]:addJob(identifier, jobName, grade)removeJob
Remove a job from the current player.
exports["nb_multijob"]:removeJob(identifier, jobName)setActiveJob
Set a job as active for the current player.
updateJobGrade
Update the grade of a job for the current player.
getJobs
Get all jobs of the current player (callback).
Server Exports
addJob
Add a job to a player.
removeJob
Remove a job from a player.
setActiveJob
Set a player's active job.
updateJobGrade
Update a player's job grade.
getJobs
Get all jobs of a player.
hasJob
Check if a player has a specific job.
getPlayersWithJob
Get all players with a specific job.
countJobs
Count how many players have a specific job.
Last updated