for d := 0 to 4 do if (Game.Teams[d].Score >= Game.ScoreLimit) or (Game.TimeLeft = 0) then begin // Pauses the game after score limit is reached or timelimit is over
for d := 0 to 4 do if (Game.Teams[d].Score >= Game.ScoreLimit) or (Game.TimeLeft = 0) then begin // Pauses the game after score limit is reached or timelimit is over
Game.Paused := true; // Pause the game when the map ends
Game.Paused := true; // Pause the game when the map ends
Game.ScoreLimit := Game.ScoreLimit + 1; // There is a chance that the scorelimit is reached by 2 teams at the same tick or go over the limit if for example, 2 players die at the same time. I think it would cause weird bugs, better safe than sorry
Game.ScoreLimit := Game.ScoreLimit + 1; // There is a chance that the scorelimit is reached by 2 teams at the same tick or go over the limit if for example, 2 players die at the same time. I think it would cause weird bugs, better safe than sorry
UpCount := 1; // Amount of time (in seconds) that the game will be paused before /map command is executed, don't use anything below 1 or else it will loop /map command
UpCount := 1; // Amount of time (in seconds) that the game will be paused before /map command is executed, don't use anything below 1 or else it will loop /map command