Weather
#6

Just like this:

pawn Код:
//top
new ClockTime;
new Shour, Sminute, Ssecond;
forward Clock_Timer();
//---//

public OnGameModeInit() {
   ClockTime = SetTimer("Clock_Timer", 1000, true);
}

public Clock_Timer() {
   gettime(Shour, Sminute, Ssecond);
   for(new i; i<MAX_PLAYERS; i++) SetPlayerTime(i, Shour, Sminute);
   SetWorldTime(Shour);
}
Reply


Messages In This Thread
Weather - by AndriusZ* - 28.08.2010, 10:18
Re: Weather - by [HiC]TheKiller - 28.08.2010, 10:23
Re: Weather - by AndriusZ* - 28.08.2010, 10:46
Re: Weather - by AndriusZ* - 28.08.2010, 11:19
Re: Weather - by Adil - 28.08.2010, 11:44
Re: Weather - by CAR - 28.08.2010, 11:47
Re: Weather - by AndriusZ* - 28.08.2010, 12:12

Forum Jump:


Users browsing this thread: 1 Guest(s)