getJob

Get a player's job

Parameters description

ParameterTypeDescriptionDefault

playerId

integer

target player server Id

----

returnGrade

boolean?

choose to receive the job grade or not

false

Return:

  • string? jobName

  • integer? jobGrade

Example

local job, grade = HRLib.bridge.getJob(1, true)
print('Player Job:', job, '\nPlayer Grade:', grade)

Last updated