# 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) |
