SA-MP Forums Archive
Is there a way to - 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: Is there a way to (/showthread.php?tid=194418)



Is there a way to - iTorran - 29.11.2010

Hello,

Im trying to create a clock that updates every 12 seconds,
And ive got stuck. So i was wondering if there is a way to get teh servers time?
Like lets say ingame it was 09:00, How can i get that time and set it on textdraw?
I guess like a GetWorldTime thing, Anyone know how i can do that?
Not IRL Time, Just server time, I am really stuck on this


Re: Is there a way to - Vandooz - 29.11.2010

Quote:
Originally Posted by iTorran
Посмотреть сообщение
Hello,

Im trying to create a clock that updates every 12 seconds,
And ive got stuck. So i was wondering if there is a way to get teh servers time?
Like lets say ingame it was 09:00, How can i get that time and set it on textdraw?
I guess like a GetWorldTime thing, Anyone know how i can do that?
Not IRL Time, Just server time, I am really stuck on this
https://sampwiki.blast.hk/wiki/SetWorldTime

&

https://sampwiki.blast.hk/wiki/SetTimer