How to make a countdown - 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)
+--- Thread: How to make a countdown (
/showthread.php?tid=363318)
How to make a countdown -
ShawtyyMacJunior - 27.07.2012
I want to make a 1minute countdown that shows somewhere on the screen.
Re: How to make a countdown -
Matz - 27.07.2012
https://sampwiki.blast.hk/wiki/SetTimerEx
Re: How to make a countdown -
McFellow - 27.07.2012
pawn Код:
CMD:countdown(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 3)
{
SetTimer("Three", 1000, 0);
SetTimer("Two", 2000, 0);
SetTimer("One", 3000, 0);
SetTimer("GoGoGo", 4000, 0);
}
return 1;
}
You can edit it to your way