Server Time = Real Time
#4

What it basically do is get the real time (the server's host location) - it stores the returned hour & minute time of the server's host location real time into a variable. You use that variable to set a player's game time using the SetPlayerTime function.

Placing it on a timer or OnPlayerUpdate callback will cause you no hassle or troubles as no matter what you do, set the player time manually with a cmd etc. it will set back to the server's real time hence why I recommend you to put it on a timer or OnPlayerUpdate.
Reply


Messages In This Thread
Server Time = Real Time - by TahaMhr - 28.12.2017, 21:27
Re: Server Time = Real Time - by JaKe Elite - 28.12.2017, 21:36
Re: Server Time = Real Time - by TahaMhr - 28.12.2017, 21:46
Re: Server Time = Real Time - by JaKe Elite - 28.12.2017, 21:51
Re: Server Time = Real Time - by Lucases - 28.12.2017, 21:53
Re: Server Time = Real Time - by Sew_Sumi - 28.12.2017, 22:18
Re: Server Time = Real Time - by TahaMhr - 29.12.2017, 09:04
Re: Server Time = Real Time - by Sew_Sumi - 29.12.2017, 18:24
Re: Server Time = Real Time - by TahaMhr - 30.12.2017, 20:14
Re: Server Time = Real Time - by Sew_Sumi - 30.12.2017, 22:16

Forum Jump:


Users browsing this thread: 1 Guest(s)