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

# Client

## openUI

```lua
exports.tk_mdt:openUI(page)
```

Open UI, doesn't check for item.

page: `'police'` `'ambulance'` `'citizen'` `'report'`

## addCall

```lua
exports.tk_mdt:addCall(data)
```

Adds a call to the map view for either police or EMS.

* data: `table`
  * title: `string`
  * time?: `number` how long to wait before removing the call (in milliseconds), default 5 minutes
  * callsign?: `string`
  * gender?: `boolean` should player's gender be in included the call info
  * vehicle?: `boolean` should player's vehicle be in included the call info
  * weapon?: `boolean` should player's weapon be in included the call info
  * type: `'police'` `'ambulance'`

## createPoliceReport

```lua
exports.tk_mdt:createPoliceReport(data)
```

Creates a police report.

* data: `table`
  * title: `string`
  * content: `string`
  * hideName?: `boolean`
  * hidePhoneNumber?: `boolean`


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tk-scripts.gitbook.io/docs/tk_mdt/exports/client.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
