Help with two problem???
#1

1 - ) If cops team score 10 send message Cops are win!!
2 - ) Countdown from 10 minute and show it with TextDraw (10:00 9:59 9:58 9:57...)
3 - ) And If CountDown 0:00 Send message Round finished... If team score < 10 thiefts win If team score > 10 cops win

How can I do those Sorry for English

Thanks for replys
Reply
#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
#3

yeah but how can i start countdown with textdraw
Reply
#4

help please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)