28.07.2009, 16:26
ok i make something like this
public CountDown()
{
switch(Count)
{
case 5: { GameTextForAll("~n~~r~o o", 1000, 3); }
case 4: { GameTextForAll("~n~~n~~r~~r~o o", 1000, 3); }
case 3: { GameTextForAll("~n~~n~~n~~r~~y~o o", 1000, 3); }
case 2: { GameTextForAll("~n~~n~~n~~n~~r~~y~o o", 1000, 3); }
case 1: { GameTextForAll("~n~~n~~n~~n~~n~~n~~g~o o", 1000, 3); }
case 0:
{
GameTextForAll("~n~~n~~n~~n~~n~~n~~g~ go! ", 2000, 3);
KillTimer(CountdownTimer);
IsCountdownStarted = false;
}
}
Count--;
}
But i need timer
public CountDown()
{
switch(Count)
{
case 5: { GameTextForAll("~n~~r~o o", 1000, 3); }
case 4: { GameTextForAll("~n~~n~~r~~r~o o", 1000, 3); }
case 3: { GameTextForAll("~n~~n~~n~~r~~y~o o", 1000, 3); }
case 2: { GameTextForAll("~n~~n~~n~~n~~r~~y~o o", 1000, 3); }
case 1: { GameTextForAll("~n~~n~~n~~n~~n~~n~~g~o o", 1000, 3); }
case 0:
{
GameTextForAll("~n~~n~~n~~n~~n~~n~~g~ go! ", 2000, 3);
KillTimer(CountdownTimer);
IsCountdownStarted = false;
}
}
Count--;
}
But i need timer