Getting player's real 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)
+--- Thread: Getting player's real time. (
/showthread.php?tid=544353)
Getting player's real time. -
Mitchelll - 01.11.2014
What's the best way to get a player's time?
Respuesta: Getting player's real time. -
Cerealguy - 01.11.2014
playing time ?, explain that wants to get
Re: Getting player's real time. -
Ahammad - 01.11.2014
What meaning
Re: Getting player's real time. -
DanishHaq - 01.11.2014
I think he means getting the time of someone's location.
Example: The server time is at 00:00, and at GMT + 2. If someone is to play from the UK he would want to get that time zone somehow and make it work.
By the way, I don't know an accurate solution but I would check the IP location somehow, perhaps using an existing plugin and then determine with that where they are from and then get the time zone.
Respuesta: Getting player's real time. -
Cerealguy - 01.11.2014
Danish
https://sampforum.blast.hk/showthread.php?tid=85969
Re: Respuesta: Getting player's real time. -
DanishHaq - 01.11.2014
Quote:
Originally Posted by Cerealguy
|
Yea that's what I meant.
OP: You can use that sort of tool to determine the location of the player and then use the time zones that you can easily find on ******.