Timer help...
#2

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.

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;
}
sorry if its totally not what you want, i tried
Reply


Messages In This Thread
Timer help... - by introzen - 05.07.2009, 19:36
Re: Timer help... - by happyface - 05.07.2009, 20:24
Re: Timer help... - by refshal - 05.07.2009, 20:26

Forum Jump:


Users browsing this thread: 2 Guest(s)