> For the complete documentation index, see [llms.txt](https://docs.menanak47.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.menanak47.com/qbcore/ak47_qb_policejob/events.md).

# Events

### Front Cuff

```lua
TriggerEvent("ak47_qb_policejob:cuff:near")
```

### Back Cuff

```lua
TriggerEvent("ak47_qb_policejob:backcuff:near")
```

### Un-Cuff

```lua
TriggerEvent("ak47_qb_policejob:uncuff:near")
```

### Escort

```lua
TriggerEvent("ak47_qb_policejob:escort:near")
```

### Tie

```lua
TriggerEvent("ak47_qb_policejob:tie:near")
```

### Untie

```lua
TriggerEvent("ak47_qb_policejob:untie:near")
```

### Put In Vehicle

```lua
TriggerEvent("ak47_qb_policejob:putinvehicle:near")
```

### Pull Out Vehicle

```lua
TriggerEvent("ak47_qb_policejob:pulloutvehicle:near")
```

### Set Blindfold

```lua
TriggerEvent("ak47_qb_policejob:setblindfold:near")
```

### Remove Blindfold

```lua
TriggerEvent("ak47_qb_policejob:removeblindfold:near")
```

### Impound Vehicle

```lua
TriggerEvent("ak47_qb_policejob:impoundvehicle:near")
```

### Depot Vehicle

```lua
TriggerEvent("ak47_qb_policejob:depotvehicle:near")
```

### Seize Vehicle

```lua
TriggerEvent("ak47_qb_policejob:seizevehicle:near")
```

### Check Plate

```lua
TriggerEvent("ak47_qb_policejob:checkplate:near")
```

### Get In Trunk

```lua
TriggerEvent("ak47_qb_policejob:getintrunk:near")
```

### Put In Trunk

```lua
TriggerEvent("ak47_qb_policejob:putintrunk:near")
```

### Pull Out Trunk

```lua
TriggerEvent("ak47_qb_policejob:pullouttrunk:near")
```

### Jail Player

{% tabs %}
{% tab title="Client" %}

```lua
TriggerEvent("ak47_qb_policejob:jailplayer", time)
TriggerServerEvent("ak47_qb_policejob:jailplayer", targetServerId, time, reason) -- only cop or admin
```

{% endtab %}

{% tab title="Server" %}

```lua
TriggerClientEvent("ak47_qb_policejob:jailplayer", source, time) 
```

{% endtab %}
{% endtabs %}

### Unjail Player

{% tabs %}
{% tab title="Client" %}

```lua
TriggerEvent("ak47_qb_policejob:unjailplayer")
TriggerServerEvent("ak47_qb_policejob:unjailplayer", targetServerId) -- only cop or admin
```

{% endtab %}

{% tab title="Server" %}

```lua
TriggerClientEvent("ak47_qb_policejob:unjailplayer", source) 
```

{% endtab %}
{% endtabs %}

### Community Player

{% tabs %}
{% tab title="Client" %}

```lua
TriggerEvent("ak47_qb_policejob:comsplayer", taskAmount)
TriggerServerEvent("ak47_qb_policejob:comsplayer", targetServerId, taskAmount, reason) -- only cop or admin
```

{% endtab %}

{% tab title="Server" %}

```lua
TriggerClientEvent("ak47_qb_policejob:comsplayer", source, taskAmount) 
```

{% endtab %}
{% endtabs %}

### Un-Community Player

{% tabs %}
{% tab title="Client" %}

```lua
TriggerEvent("ak47_qb_policejob:uncomplayer")
TriggerServerEvent("ak47_qb_policejob:uncomplayer", targetServerId) -- only cop or admin
```

{% endtab %}

{% tab title="Server" %}

```lua
TriggerClientEvent("ak47_qb_policejob:uncomplayer", source) 
```

{% endtab %}
{% endtabs %}


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.menanak47.com/qbcore/ak47_qb_policejob/events.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
