16.03.2013, 09:10
Quote:
There is probably a timer in your script, which sets the world time every x seconds.
Try searching for SetWorldTime in your script, and comment it if you find the timed one. |
{
SetWorldTime(wtime);
gTime = wtime;
}
__________________________________________________ __
if (realtime)
{
new tmphour;
new tmpminute;
new tmpsecond;
gettime(tmphour, tmpminute, tmpsecond);
FixHour(tmphour);
tmphour = shifthour;
SetWorldTime(tmphour);
gTime = tmphour;
}
__________________________________________________ __
format(string, sizeof(string), "The time is now %d:00.",tmphour);
BroadCast(COLOR_WHITE,string);
ghour = tmphour;
TotalUptime += 1;
PayDay();
if (realtime)
{
SetWorldTime(tmphour);
gTime = tmphour;
}
__________________________________________________ __
SetWorldTime(time);
FixHour(time);
shifthour = time;
ghour = time;
wtime = time;
gTime = time;
format(string, sizeof(string), "Time set to %d:00.", time);
BroadCast(COLOR_GRAD1, string);