> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_mdt/features/units-and-duty.md).

# Units and Duty

Organize department members into units and keep track of duty time.

## 🚓 Active Units

The **Home** screen shows the Active Units panel with the units from your department's `Units` list. Members can join and leave a unit from there, and the panel updates live for everyone.

```lua
Units = { 'Command', 'Adam-10', 'Adam-20', 'TAC' },
```

When [rcore\_dispatch](https://documentation.rcore.cz/paid-resources/rcore_mdt/integrations/dispatch.md) is running, the MDT also reads each officer's unit from it.

## ⏱️ Duty Time

The MDT records how long each member is active in their department. Every member sees their own hours on the **Home** screen.

| Framework  | Counted while                      |
| ---------- | ---------------------------------- |
| ESX        | The player has the department job. |
| QBCore/QBX | The player is on duty.             |

## 👮 Roster

The **Employees** screen lists the members of your department and shows who is online. Hiring, firing, and promotions are handled by your framework.
