SetWorldTime Bug?
#1

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
Reply
#2

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

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

Yeah like my proplem mate ...
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)