SA-MP Forums Archive
how to freeze WorldTime - 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: how to freeze WorldTime (/showthread.php?tid=129879)



how to freeze WorldTime - hardstop - 24.02.2010

i have
Код:
SetWorldTime(00);
in my OnGameModeInit

but in a few minutes the time is going to change and i want it to be night always how can i do like that?

how can i freeze time on 00 ?


Re: how to freeze WorldTime - geerdinho8 - 24.02.2010

Do you have a clock?


Re: how to freeze WorldTime - hardstop - 24.02.2010

no, i have only put SetWorldTime(00); on gamemodeinit


Re: how to freeze WorldTime - geerdinho8 - 24.02.2010

Can you post the whole script?

Because somewhere there is something thats change the time.


Re: how to freeze WorldTime - morris91 - 24.02.2010

Deleting TogglePlayerClock(playerid,1); then putting SetWorldTime(00); should work.


Re: how to freeze WorldTime - hardstop - 28.02.2010

Thx


Re: how to freeze WorldTime - DarkPower - 28.02.2010

Код:
TogglePlayerClock(playerid,1);



Re: how to freeze WorldTime - Fedee! - 28.02.2010

Or with a timer..