getJob

Bridge.getJob(frPlayer)

Arguments

  • frPlayer (object): The player object.

Returns

  • response (table): A table containing job information of the player.

Example Usage

local job = Bridge.getJob(frPlayer)

print("Job Name: " .. job.name)
print("Job Label: " .. job.label)
print("Job Grade: " .. job.grade)
print("Job Grade Name: " .. job.grade_name)
print("Job Grade Label: " .. job.grade_label)

Return Structure

If player is valid:

{
    name = "job name",
    label = "job label",
    grade = "job grade",
    grade_name = "job grade name",
    grade_label = "job grade label"
}

If player is not valid:

nil

Last updated