I need help
#2

pawn Код:
new countn, counttimer;

forward CountDown();
at the start countdown command or w/e
pawn Код:
countn = 15;
counttimer = SetTime("CountDown", 1000, true);
and somewhere
pawn Код:
public CountDown()
{
  new string[20];
  format(string, sizeof(string), "~g~%d", countn);
  GameTextForAll(string, 0, 500);
  countn--;
  if(countn <= -1)
  {
    KillTimer(counttime);
  }
  return 1;
}
I hope that works, as I just wrote it up...
Reply


Messages In This Thread
I need help - by Cjgogo - 19.05.2011, 14:14
Re: I need help - by Sascha - 19.05.2011, 14:26

Forum Jump:


Users browsing this thread: 1 Guest(s)