Setting a timer to repeat 3 times?
#1

How do i make a timer to repeat 3 times?
For example

Код:
SetTimer ("lol1",0,false);
How do i make that one repeat 3 times?
Does SetTimerEx work with this or what?
Reply
#2

pawn Код:
SetTimerEx("0wn3d",1000,false,"d",3); // 3 times
pawn Код:
public 0wn3d(times)
{
    if(times)
    {
        // do something
        SetTimerEx("0wn3d",1000,false,"d",times-1);
    }else{
        // race start or whatever
    }
    return 1;
}
Reply
#3

you have 666 posts :O
Ill try that one btw.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)