Timer for next round - 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: Timer for next round (
/showthread.php?tid=273801)
Timer for next round -
Millionaire - 03.08.2011
How to make a timer for the next Round? that means after 300000 Milliseconds , the next round should come but i need the textdraw for the time for example 1:00 , 0.59 ,0.58 , 0.57 and so on.Can anyone please help me to do this
Re: Timer for next round -
Cameltoe - 03.08.2011
new Timer = 60;
new Started = 0; // bool if preferable
pawn Код:
public OnGameModeInit()
{
SetTimer("NextRound", 1000, true);
}
forward NextRound();
public NextRound()
{
if(!Started) return 0;
if(Timer < 0)
{
Timer = 60;
// Round Ended.
}
else
{
Timer--;
// Update textdraw here. Use the Timer variable.
}
}
Re: Timer for next round -
Millionaire - 03.08.2011
yes but i need the textdraw

and i dont know how to make that
Re: Timer for next round -
System64 - 03.08.2011
lol zamaroth's textdraw editor
Re: Timer for next round -
Millionaire - 03.08.2011
Dude i dont know how to script textdraw of time please help me
Re: Timer for next round -
Millionaire - 03.08.2011
help me plz