setJobDuty

Description

Sets whether the player is currently on or off duty.

Parameters

  • source (number): The server-side source ID of the player.

  • duty (boolean): true for on-duty, false for off-duty.

Example Use Case

ps.setJobDuty(source, true)
print("Player is now on duty.")

Last updated