> 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/misc.md).

# Misc

## OpenExtrasMenu

With following export you can open vehicle extras menu

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

***

## ToggleRadar

Use following export to toggle police radar.

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

***

## EditRadar

Use following command to edit radar size or position.

```lua
/edit_radar
```

***

## PlayAudio

Use following export to play audio for one player.

```lua
exports['p_policejob']:PlayAudio(file, volume)
```

* file: `string`
  * File name from web folder
* volume: `number`
  * Value between 0.0 - 1.0

***

## TrunkEditor

Use following export to open trunk editor.

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

You can also use command.

```lua
/trunk_editor
```

***

## Camera Creator

Use following command to open camera creator.

```lua
/camera_creator
```

***

## Camera Remove

Use following command to remove closest camera

```lua
/camera_remove
```

***

## CreateOutfitMenu

Use following export to open outfit creator menu

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

You can also use a command

```lua
/police_outfit
```

***

## RemoveOutfitMenu

Use following export to open outfit remove menu

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

You can also use a command

```lua
/remove_police_outfit
```

***

## getRadarPlates

Use following exports to get front or rear antena plate

```lua
local frontPlate = exports['p_policejob']:frontPlate()
```

Return:

* frontPlate: `string` or `nil`

```lua
local rearPlate = exports['p_policejob']:rearPlate()
```

Return:

* rearPlate: `string` or `nil`

***

## hasTrackingBand

Use following statebag to check if player has tracking band

```lua
Player(playerId).state.hasTrackingband
```

* playerId: `number`
  * Existing player server id

Return:

* state: `boolean`

***

## Create Ticket

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

/issueTicket
```
