Help with two problem???
#2

Код:
public EndGameTimer()
{
	new string[128];
	if(copsscore == 10)
	{
	  format(string,sizeof(string),"~r~Cops Have Won");
		GameTextForAll(string, 5000, 5);
		SetTimer("RestartGameMode", 10000, false);
	}
	else if(otherteamscore == 10)
	{
	  format(string,sizeof(string),"~r~OtherTeam Wins");
		GameTextForAll(string, 5000, 5);
		SetTimer("RestartGameMode", 10000, false);
	}
}

public RestartGameMode()
{
	SendClientMessageToAll(COLOR_YELLOW, "Game has been completed, restarting gamemode to start again");
	SendRconCommand("gmx");
}
Something like this?
Reply


Messages In This Thread
Help with two problem??? - by Fukara_GM - 28.07.2009, 22:05
Re: Help with two problem??? - by Mr_Finnigan - 28.07.2009, 22:14
Re: Help with two problem??? - by Fukara_GM - 28.07.2009, 22:43
Re: Help with two problem??? - by Fukara_GM - 28.07.2009, 23:15

Forum Jump:


Users browsing this thread: 1 Guest(s)