problem with worldtime and realtime
#2

whats the problem with that ?
though ur code can be shortened:

pawn Код:
public Time()
{
    new hour,minute,second;
    gettime(hour,minute,second);
    FixHour(hour);
    hour = shifthour;
   if( hour >= 24 ) SetWorldTime(0);
   else SetWorldTime(hour);
   SetWeather(random(18));
}
add Time() in ongamemodeinit;
like
pawn Код:
public OnGameModeInit()
{
       Time();//will call the function
}
Reply


Messages In This Thread
problem with worldtime and realtime[SOLVED] - by drichie - 27.06.2013, 05:35
Re: problem with worldtime and realtime - by Niko_boy - 27.06.2013, 05:44
Re: problem with worldtime and realtime - by drichie - 27.06.2013, 06:04
Re: problem with worldtime and realtime - by drichie - 27.06.2013, 06:56
Re: problem with worldtime and realtime - by drichie - 27.06.2013, 09:03

Forum Jump:


Users browsing this thread: 4 Guest(s)