CountDown help
#1

Hi everyoe. I want to make a cout system like this
-------------------------------------------------------------------------------
public CountDown()
{
switch(Count)
{
case 6: { GameTextForAll("~n~~n~~n~~n~~n~~n~~r~o o ", 1100, 3); }
case 5: { GameTextForAll("~n~~n~~n~~n~~n~~n~~r~o o", 1100, 3); }
case 4: { GameTextForAll("~n~~n~~n~~n~~n~~n~~y~o o", 1100, 3); }
case 3: { GameTextForAll("~n~~n~~n~~n~~n~~n~~y~o o", 1100, 3); }
case 2: { GameTextForAll("~n~~n~~n~~n~~n~~n~~g~o o", 1100, 3); }
case 1: { GameTextForAll("~n~~n~~n~~n~~n~~n~~g~o o", 1100, 3); }
case 0:
{
GameTextForAll("~n~~n~~n~~n~~n~~n~~g~ GO! ", 2000, 3);
KillTimer(CountdownTimer);
IsCountdownStarted = false;
}
}
Count--;
}
but i want to make it stay. like

case 6: { GameTextForAll("~n~~n~~n~~n~~n~~n~~r~o o ", 1100, 3); } It wait for next
case 5: { GameTextForAll("~n~~n~~n~~n~~n~~n~~r~o o", 1100, 3); } It wait for next
case 4: { GameTextForAll("~n~~n~~n~~n~~n~~n~~y~o o", 1100, 3); }It wait for next
case 3: { GameTextForAll("~n~~n~~n~~n~~n~~n~~y~o o", 1100, 3); }It wait for next
case 2: { GameTextForAll("~n~~n~~n~~n~~n~~n~~g~o o", 1100, 3); }It wait for next
case 1: { GameTextForAll("~n~~n~~n~~n~~n~~n~~g~o o", 1100, 3); }It wait for next
when all shows it disapear\
i want it make somethig like NFS PS signal lights
Reply
#2

take this , is better http://forum.sa-mp.com/index.php?topic=91713.0
Reply
#3

yea but i want it more like NFS
Reply
#4

..or u can modify a count script
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)