All pastes #805666 Raw Edit

Something

public text v1 · immutable
·published 2007-12-04 15:38 UTC
rendered paste body
public CountDown(Count)
{
    for (new i=0;i<MAX_PLAYERS;i++) if (IsPlayerConnected(i)) TogglePlayerControllable(i, 0);
	if(Count != 0) {
		new string[256];
		format(string, 256, "~r~%d", Count);
		GameTextForAll(string, 1100, 3);
		Count--;
		return SetTimerEx("CountDown", 1000, 0, "i", Count);
	}
	for (new i=0;i<MAX_PLAYERS;i++) if (IsPlayerConnected(i)) TogglePlayerControllable(i, 1);
	return GameTextForAll("~g~GO!", 5000, 3);
}