[SIMPLE] Creating a 1 minute countdown [SIMPLE]
#4

It should be like This.
pawn Code:
forward countdown(number)
public countdown(number)
{
    new l_2[4];
    if(number > 0) {
        format(l_2),sizeof(l_2),"%d",number - 1);
        GameTextForAll(l_2, 1000, 4);
        SetTimer("timer", 1000, false);
    }
    else {
        GameTextForAll("Go", 1000, 4);
    }
}
Reply


Messages In This Thread
[SIMPLE] Creating a 1 minute countdown [SIMPLE] - by ShawtyyMacJunior - 27.07.2012, 21:42
Re: [SIMPLE] Creating a 1 minute countdown [SIMPLE] - by Dubya - 27.07.2012, 21:45
Re: [SIMPLE] Creating a 1 minute countdown [SIMPLE] - by Dubya - 27.07.2012, 22:00
Re: [SIMPLE] Creating a 1 minute countdown [SIMPLE] - by leonardo1434 - 27.07.2012, 23:29

Forum Jump:


Users browsing this thread: 1 Guest(s)