Duty System
Duty System

🔹 Main Features
Clock In / Clock Out
The main function is to switch between On Duty and Off Duty states.
Pressing Go On Duty sets the player as active in their job.
Pressing again switches them to Off Duty.
Player Information
Shows player name, citizen ID, and job.
Displays current status (On Duty / Off Duty).
Real-time clock is shown in the top-right corner for shift tracking.
Worker List
Shows all employees currently active in the same job (e.g., all on-duty police).
Lets officers/EMS see who else is available at that moment.
History
Logs each duty session with timestamps.
Example:
Furkan Test → Police
17:55:46 – 17:55:48 (0.0 minutes).
Helps track attendance and working hours for RP or server management.
🔹 Workflow Example
Player enters the duty management menu.
If off duty → presses Go On Duty.
System changes their status to active and logs the start time.
Other employees can see them listed in the Worker List.
When finishing work, player goes off duty → system logs the end time.
The duty session appears in the History tab.
🔹 Advantages
Transparency: Everyone can see who’s on duty.
Shift Tracking: Keeps accurate records of start and end times.
Roleplay Realism: Simulates real police/EMS duty logs.
Management Tool: History can be used by high command to check activity.
Last updated