01.02.2012, 12:57
Hello
I need help with setting 2 timers in parallel.
Here are the timers:
(Yea I know not the best scripting skills there are,but I'll fix that)
Anyway I want them to work exacly on the same time,if not this is going to create tons of bugs.
How can I make them work in parallel?
Thanks
Nuriel
I need help with setting 2 timers in parallel.
Here are the timers:
pawn Код:
forward CountDown();
forward Sec();
SetTimer("CountDown",30000,false);
SetTimer("Sec",1000,true);
public Sec() { time = time-1; }
public CountDown() {
new str[128];
format(str, sizeof(str), "~w~%d ~g~~h~~h~Seconds", time);
GameTextForAll(iRace_CDString,1001,6);
PlayerPlaySoundToAll(1056);
return 1; }
Anyway I want them to work exacly on the same time,if not this is going to create tons of bugs.
How can I make them work in parallel?
Thanks
Nuriel