Skip to content

function setPlayerRespawnTime (server-side)

Available since version: 0.0.2

Note

The respawnTime can't be smaller than 1001 miliseconds.

This function will set the player time to respawn after death.

Declaration

void setPlayerRespawnTime(int id, int respawnTime)

Parameters

  • int id: the player id.
  • int respawnTime: the new respawn time in miliseconds.