SA-MP Forums Archive
Speeding up server time - 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: Speeding up server time (/showthread.php?tid=187243)



Speeding up server time - WillyP - 01.11.2010

Hey, I have an idea of fast forwarding server time, but I want it to be really smooth, not like uneven and choppy. Any ideas?


Re: Speeding up server time - cessil - 01.11.2010

if you mean by using a textdraw to display the time then use a quicker timer


Re: Speeding up server time - Miguel - 01.11.2010

To make it smoother use SetPlayerTime, it has minutes and hours.

pawn Код:
public EveryMinute()
{
    for(new i = 0; i < GetMaxPlayers(); i ++) SetPlayerTime(minutes, hour);
    return 1;
}