SA-MP Forums Archive
how to get realistic 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: how to get realistic time? (/showthread.php?tid=627479)



how to get realistic time? - Rix70 - 28.01.2017

https://gyazo.com/e5857f60c47998c6a3a7f303a39bf76c with like relsitic hours and mintues and week days?


Re: how to get realistic time? - Hansrutger - 28.01.2017

https://sampwiki.blast.hk/wiki/Getdate is what I'd suggest. There is an example at the buttom. Not sure what you meant with "realistic" but I suppose the server's time is in fact realistic. xD


Re: how to get realistic time? - Rix70 - 28.01.2017

i mean like the time in the left corner


Re: how to get realistic time? - BiosMarcel - 28.01.2017

1. Can you stop spamming the section and simply ****** things
2. Hea meant that you get the actual hour / minute / second, after retrieving it you can Put it into a textdraw or do whatever you want with it


Re: how to get realistic time? - Rix70 - 28.01.2017

i already have it there but now its like seconds


Re: how to get realistic time? - Hansrutger - 28.01.2017

Ah I see thanks Marcel.

@Rix70, for time convertion, take a look at modulo operator. https://sampforum.blast.hk/showthread.php?tid=485069