28.08.2010, 11:47
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);
}