getJobName
Returns the job name for the given source.
Parameters:
source
(number): Player server ID
Returns:
string
: Job name
Example:
local jobName = ps.getJobName(source)
if jobName == 'police' then
print("Player is a police officer")
end
Last updated