SA-MP Forums Archive
A question about 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: A question about time. (/showthread.php?tid=129607)



A question about time. - bajskorv123 - 22.02.2010

I have this on my GameModeInit()
pawn Код:
SetWorldTime(0);
When you die, time advances by 12 hours, i want the server time to follow its schedule, you know what i mean?
How to prevent this?
You have to use text draw clock?


Re: A question about time. - silvan - 22.02.2010

take a look in the " Realtime.pwn " fs which is found in the download package of server


Re: A question about time. - bajskorv123 - 22.02.2010

But im not looking for realtime...
I'm looking for something to fix the error when i set the server time to 0, then when a player dies it goes forward by 12 hours, i want it to stay.


Re: A question about time. - silvan - 22.02.2010

time, or you want it to stay at night? because if you need it only at night you can set the " SetWorldTime(0); " and remove the clock.


Re: A question about time. - bajskorv123 - 22.02.2010

When the server starts the server time should be set to 0.
Then it should start going forward like the clock in singleplayer.
A automatic clock with automatic day and night