getSharedJobGrade
Description
Retrieves a specific grade from a shared job by its numerical index.
Parameters
jobName(string): The name of the job (e.g.,"mechanic").grade(number): The grade level to retrieve (e.g.,1,2).
Return Value
Returns the grade table if found.
Returns
nilif the job or grade doesn't exist.
Example Use Case
local grade = ps.getSharedJobGrade("police", 3)
if grade then
    print("Grade name: " .. grade.name)
else
    print("Grade not found.")
endLast updated