SA-MP Forums Archive
GetPlayerTime? - 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: GetPlayerTime? (/showthread.php?tid=496121)



GetPlayerTime? - phoon - 20.02.2014

Is it possible to get player's time?
I actually searched everywhere and i get nothing.

Can anyone make a script that returns player's time?
And by time, i mean their computer's time.


Re: GetPlayerTime? - Misiur - 20.02.2014

Sorry, it's not possible. All I can think of would be using GeoIP to try and match IP to player's timezone.


Re: GetPlayerTime? - MP2 - 20.02.2014

-too late-


Re: GetPlayerTime? - dovyansas - 20.02.2014

Maybye this


Re: GetPlayerTime? - Konstantinos - 20.02.2014

Quote:
Originally Posted by dovyansas
Посмотреть сообщение
Maybye this
Did you read the two posts above yours? Also did you read the Wiki?

Quote:
Originally Posted by SA-MP Wiki
Get the player's current game time. Set by SetWorldTime, SetWorldTime, or by TogglePlayerClock.



Re: GetPlayerTime? - Abagail - 20.02.2014

I believe it's not possible to get their actual computer's time... How-ever, - you could use GeoIP and possibly get what their PC time should be like...


Re: GetPlayerTime? - phoon - 20.02.2014

Quote:
Originally Posted by Abagail
Посмотреть сообщение
I believe it's not possible to get their actual computer's time... How-ever, - you could use GeoIP and possibly get what their PC time should be like...
I was thinking same thing. But i don't know how to get PC time by using GeoIP.
Can you make a script, please?