> For the complete documentation index, see [llms.txt](https://arrayscripts.gitbook.io/arrayscripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arrayscripts.gitbook.io/arrayscripts/products/array_deathtimeout/api-reference.md).

# API Reference

{% hint style="info" %} <mark style="color:$info;">**Developer Note:**</mark> All exports and events listed below are available once the resource has been started.
{% endhint %}

## Exports

{% tabs %}
{% tab title="Client Exports" %}
{% code lineNumbers="true" expandable="true" %}

```
exports['array_deathtimeout']:RemoveDeathTimeOut() | return true
exports['array_deathtimeout']:GetDeathTimeOut() | return Seconds or false
```

{% endcode %}
{% endtab %}

{% tab title="Server Exports" %}
{% code lineNumbers="true" expandable="true" %}

```
No exports are currently available for this resource.
```

{% endcode %}
{% endtab %}
{% endtabs %}

## Events

{% tabs %}
{% tab title="Client Events" %}
{% code lineNumbers="true" expandable="true" %}

```
No Events are currently available for this resource.
```

{% endcode %}
{% endtab %}

{% tab title="Server Events" %}
{% code lineNumbers="true" expandable="true" %}

```
TriggerClientEvent("array_deathtimeout:removedeathtimeout", playerid)
```

{% endcode %}
{% endtab %}
{% endtabs %}

## Commands

{% tabs %}
{% tab title="Ingame Commands" %}
{% code lineNumbers="true" expandable="true" %}

```
/rd player {id} - Enter the player's ID. Example: rd player 1 (or "me")
/rd job {jobname} - Enter the job name. Example: rd job police
/rd radius {radius} - Remove timeout from all players within the radius. Example: rd radius 100
```

{% endcode %}
{% endtab %}

{% tab title="Console Commands" %}
{% code lineNumbers="true" expandable="true" %}

```
/rd player {id} - Enter the player's ID. Example: rd player 1
/rd job {jobname} - Enter the job name. Example: rd job police
```

{% endcode %}
{% endtab %}
{% endtabs %}
