SA-MP Forums Archive
CountDown help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: CountDown help (/showthread.php?tid=88745)



CountDown help - Vadonis - 28.07.2009

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


Re: CountDown help - Serediucr - 28.07.2009

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


Re: CountDown help - Vadonis - 28.07.2009

yea but i want it more like NFS


Re: CountDown help - Serediucr - 28.07.2009

..or u can modify a count script


Re: CountDown help - Vadonis - 28.07.2009

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