SA-MP Forums Archive
[HELP]World 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: [HELP]World time (/showthread.php?tid=79275)



[HELP]World time - aleksandra - 27.05.2009

Heya guys...

On my server is time freezed... always is 12.00 anyone knows how can i change this so it wont be freezed?


Re: [HELP]World time - v0nz - 27.05.2009

Its most likely the actually time script not an external problem... try getting a new one.


Re: [HELP]World time - yezizhu - 27.05.2009

forward setWorldTime();
static stock
worldTime;
public setWorldTime(){
if(worldTime > 23)
worldTime = 0;
SetWorldTime(worldTime++,0);
return true;
}

public OnGameModeInit(){
SetTimer("setWorldTime",1,1000*60);
return true;
}