> For the complete documentation index, see [llms.txt](https://piotreq-scripts.gitbook.io/piotreq-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://piotreq-scripts.gitbook.io/piotreq-scripts/assets-and-guides/police-job/client-exports/duty-gps.md).

# Duty GPS

## isGpsActive

With following export you can check if gps is currently active.

```lua
exports['p_policejob']:isGpsActive()
```

Return:

* state: `boolean`

***

## ToggleGPS

With following export you can manually toggle player gps.

```lua
exports['p_policejob']:gps()
```
