else if (PlayerTeam == TeamRed) { SetRespawnTime(); //Have to do this since valve likes to reset the TF_GameRules during rounds and map changes RespawnTime = GetConVarFloat(RespawnTimeRed); if (RespawnTime > 0) // Use the timer if the Respawn time is greater 0 { if (GetConVarBool(ShowRespawnMessage)) PrintHintText(client, "Respawning in %.1f seconds", RespawnTime); //inform the player time to wait for respond CreateTimer(RespawnTime, SpawnPlayerTimer, client, TIMER_FLAG_NO_MAPCHANGE); //Respawn the player at the specified time } else if (RespawnTime <= 0) // else respawn the player straight SpawnPlayer(client); }