isBoss

Checks if the player is a boss of their job.

Parameters:

  • source (number): Player server ID

Returns:

  • boolean: True if boss, false otherwise

if ps.isBoss(source) then
    print("This player is a boss.")
else
    print("This player is not a boss.")
end

Last updated