---
name: "playerRespawnTime"
type: command
status: ok
groups: ["Multiplayer"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/playerRespawnTime
revid: 353208
updated: 2024-03-12T13:57:45Z
---

# playerRespawnTime

*Command · Multiplayer · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Return the player's remaining time before respawn, or -1 if it is not available (such as when the player is alive).

## Syntax

```sqf
playerRespawnTime
```

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

## Examples

### Example 1

```sqf
waitUntil { playerRespawnTime <= 0 };
```

## See also

[setPlayerRespawnTime](../commands/setPlayerRespawnTime.md)

## Community notes

**Synide** — 2007-06-21

When playerRespawnTime reaches zero the player respawns as expected. When the player has completed respawning this command returns -1.

---

**RolanDecoy** — 2009-02-25

Also note that spawning doesn't create a body to use, but allows a player to choose an already existing one as defined either in the mission editor or in a script as [player](../commands/player.md) or playable.

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