setJob
Description
Sets the player's job to the specified job name and rank.
Parameters
source(number): The server-side source ID of the player.jobName(string): The name of the job (e.g.,"police").rank(number, optional): The grade/rank level (default:0).
Example Use Case
ps.setJob(source, "mechanic", 1)
print("Player job set to mechanic - rank 1")Last updated