14.06.2010, 06:09
Does anyone knows how to get the world time? Because the function to change it "SetWorldTime", does it means to get it "GetWorldTime"? Please help!
Originally Posted by www.******.com
|
Originally Posted by Flashy
What do you mean?
GetTime get the time from your server. I think you must learn basics thinks. Please try to learn how to script. |
new WorldTime;
WorldTime = strval(tmp/params); SetWorldTime(WorldTime);
new str[7]; format(str,7,"%d:00",WorldTime);
Originally Posted by TheInnocentOne
Quote:
The gettime functions gets the time of the time of the actual server/computer the server.exe program is running on. gettime has nothing to do with in-game world time. https://sampwiki.blast.hk/wiki/Gettime |
Originally Posted by Jakku
Gettime gets the time from the computer the server is hosted from. Not the server world time.
|