---
name: "setPlayerRespawnTime"
type: command
status: ok
groups: ["Multiplayer"]
arma3_since: "0.50"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setPlayerRespawnTime
revid: 378018
updated: 2026-01-22T12:47:44Z
---

# setPlayerRespawnTime

*Command · Multiplayer · Arma 3 v0.50 · introduced in Arma 2: Operation Arrowhead v1.57*

Locality: effect **local**

## Description

Sets the time interval (in seconds) that the player must wait before respawn, for the next respawn only.
It resets to mission default on mission start.
In Single Player or when respawn type is GROUP or SIDE in Multiplayer, setting player respawn time has no effect, and [playerRespawnTime](../commands/playerRespawnTime.md) will always return -1.

## Syntax

```sqf
setPlayerRespawnTime interval
```

**Parameters:**

- `interval`: [Number](../topics/Number.md) - respawn time in seconds

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
setPlayerRespawnTime 5; // next respawn (and only this one) will happen 5s after death
```

### Example 2

Set the respawn duration through variable:

```sqf
player addEventHandler ["Killed", {
    setPlayerRespawnTime (player getVariable ["TAG_RespawnDelay", 10]);
}];
```

Somewhere else, e.g on objective completion:

```sqf
player setVariable ["TAG_RespawnDelay", 5];
```

or if that player is on another machine:

```sqf
waitUntil { not alive _target };
_thatPlayer setVariable ["TAG_RespawnDelay", 5, true];
```

### Example 3

Increase respawn duration every death:

```sqf
player addEventHandler ["Killed", {
    private _respawnTime = player getVariable ["TAG_RespawnDelay", 8];
    setPlayerRespawnTime _respawnTime;
    player setVariable ["TAG_RespawnDelay", _respawnTime + 1]; // don't die too many times
}];
```

## See also

[playerRespawnTime](../commands/playerRespawnTime.md) · [respawnVehicle](../commands/respawnVehicle.md)

<sub>Source: [BI Community Wiki — setPlayerRespawnTime](https://community.bistudio.com/wiki/setPlayerRespawnTime) (revision 378018).</sub>
