# Client Exports

{% hint style="warning" %}
REMEMBER ABOUT CLIENT SIDE AND SERVER SIDE IN CHOOSING EXPORT!
{% endhint %}

***

## Open Bossmenu

Use following export to open Bossmenu

```lua
local job = 'police' -- Job/Gang Name
exports['xnr-bossmenu']:openBossmenu(job)
```

## Open Admin Panel

Use following export to open Admin Panel (requires appropriate permissions)

```lua
exports['xnr-bossmenu']:openAdminPanel()
```

## Switch Duty Status

Use following export to switch duty status

```lua
local status = 2 -- (0 = off duty, 1 = on duty, 2 = break)
exports['xnr-bossmenu']:switchDuty(status)
```
