SetWorldTime - 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: SetWorldTime (
/showthread.php?tid=67531)
SetWorldTime -
DeerHooves - 02.03.2009
I try to avoid asking questions like this as they seem easy to search for, but I can't seem to find any clear threads on the topic of syncing the clock for everyone.
Does SetWorldTime sync everyones time? If not, what is a stable way of syncing the clock for everyone?
I looked at all of the filterscripts but there don't seem to be any simple 24 hour clocks without dates and months and all.
Re: SetWorldTime -
Rks25 - 02.03.2009
just do:
pawn Код:
TogglePlayerClock(playerid, 1);
At OnPlayerConnect, and it will set the world time.
Else the function is SetWorldTime.