Clock Sync - 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: Clock Sync (
/showthread.php?tid=502913)
Clock Sync -
MikeMike1997 - 26.03.2014
If I use
TogglePlayerClock(playerid,1);
Does the clock auto sync for people joining?
So say if I joined and then 5 minutes later my mate joined would we have the same time?
Re: Clock Sync -
TheFlyer - 26.03.2014
well ofc
Re: Clock Sync -
MikeMike1997 - 26.03.2014
Ahh it doesn't actually:P Had to make a sync script...
Re: Clock Sync -
TheFlyer - 26.03.2014
what?
the clock auto sync's
Re: Clock Sync -
MikeMike1997 - 26.03.2014
It does not sync the same time...
Re: Clock Sync -
Dokins - 26.03.2014
You have to create your own time system, use a textdraw if you want them all to be synced.
Re: Clock Sync -
MP2 - 26.03.2014
It does not sync. What I do is re-sync everyone's time every 4 hours (real 4 minutes), and sync the time of newly connecting players.
If you don't want interpolating weather (which TogglePlayerClock enables), then don't use TogglePlayerClock and just make time progress manually with SetPlayerTime.