05.07.2009, 20:24
Hello, I know this not quite what you looking for, never seen that done before, but you could however use a second timer and do a count down although I'm not sure if it will satisfy your needs.
Sorry for that blank post, it mess up while writing this and post.
sorry if its totally not what you want, i tried
Sorry for that blank post, it mess up while writing this and post.
pawn Код:
new CountDown = 10;
new CountTimer;
forward CountDownTime();
pawn Код:
public CountDownTime()
{
if(Countdown <1)
{
KillTimer(CountTimer);
CountDown = 10;
return 1;
}
else
{
new string[16];
format(string, sizeof(string), "Count Down:%d", CountDown);
GameTextForAll(string, 1000, 3);
CountTimer = SetTimer("CountDownTime", 1000, 0);
CountDown--;
}
return 1;
}