# Events

### Front Cuff

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

### Back Cuff

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

### Un-Cuff

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

### Escort

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

### Tie

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

### Untie

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

### Put In Vehicle

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

### Pull Out Vehicle

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

### Set Blindfold

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

### Remove Blindfold

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

### Impound Vehicle

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

### Depot Vehicle

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

### Seize Vehicle

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

### Check Plate

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

### Get In Trunk

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

### Put In Trunk

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

### Pull Out Trunk

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

### Jail Player

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

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

{% endtab %}

{% tab title="Server" %}

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

{% endtab %}
{% endtabs %}

### Unjail Player

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

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

{% endtab %}

{% tab title="Server" %}

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

{% endtab %}
{% endtabs %}

### Community Player

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

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

{% endtab %}

{% tab title="Server" %}

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

{% endtab %}
{% endtabs %}

### Un-Community Player

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

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

{% endtab %}

{% tab title="Server" %}

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

{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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://docs.menanak47.com/esx/ak47_policejob/events.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.
