> For the complete documentation index, see [llms.txt](https://docs.frozen-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.frozen-scripts.com/scripts/frozen-police-job/exports.md).

# Exports

{% hint style="danger" %}
Resource must be named `frozen_police`
{% endhint %}

### Client Exports

|                     Export                     |                              Result                             |
| :--------------------------------------------: | :-------------------------------------------------------------: |
| `exports.frozen_police:searchPlayer(PlayerId)` |              Searches players inventory(Client ID)              |
|  `exports.frozen_police:openOutfits(station)`  | Opens cloakroom of whichever station specified in the parameter |
| `exports.frozen_police:escortPlayer(serverId)` |                    Escorts player(Server ID)                    |
|     `exports.frozen_police:IsHandcuffed()`     |              Returns if local player is handcuffed              |

### Server Exports

|                   Export                  |                                                              Result                                                             |
| :---------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------: |
| `exports.frozen_police:getPoliceOnline()` | Returns integer of how many police are online regardless of department(Good for robbery scripts that need to count all pd jobs) |
