getJobType

Returns the job type for the given source.

Parameters:

  • source (number): Player server ID

Returns:

  • string: Job type (e.g., "leo", "ems", "mechanic")

local jobType = ps.getJobType(source)
print("Job Type: " .. jobType)

Last updated