SA-MP Forums Archive
SetWorldTime Bug? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: SetWorldTime Bug? (/showthread.php?tid=518705)



SetWorldTime Bug? - Aerotactics - 11.06.2014

In my script, I've modified the gl_realtime to be a custom time speed, however, when I try to set the server time to the hour, 1am - 12pm work fine, but at 1 pm, the time sets to night again, and from 1pm to 12am, the time acts as if it were 1am - 12pm. The SetWorldTime number is represented by an integer between 0 and 23. If you need to see my script: https://sampforum.blast.hk/showthread.php?tid=516980


Re: SetWorldTime Bug? - Guest4390857394857 - 13.06.2014

It happened to me before.
So just unload that fs and use setworldtime function in your gamemode!
Hope it worked.


Respuesta: SetWorldTime Bug? - Swedky - 13.06.2014

Guy, you use 'TogglePlayerClock'? This function change the worldid every much so time.


Re: SetWorldTime Bug? - Wex3go - 15.06.2014

Yeah like my proplem mate ...


Re: SetWorldTime Bug? - Aerotactics - 23.06.2014

Quote:
Originally Posted by ShivRp
Посмотреть сообщение
It happened to me before.
So just unload that fs and use setworldtime function in your gamemode!
Hope it worked.
I will be moving it to my GM when it is working.

Quote:
Originally Posted by EnzoMetlc
Посмотреть сообщение
Guy, you use 'TogglePlayerClock'? This function change the worldid every much so time.
I want the clock to run at a custom speed, and I want it to be a global clock.

Quote:
Originally Posted by Wex3go
Посмотреть сообщение
Yeah like my proplem mate ...
Glad I'm not the only one with this issue.

Edit: "SA-MP Best Forum Team & Beta Testers of 2020!"
Did they pay you to write that? lol