02.04.2013, 09:15
Ah I see... Well this is the timer which is called every 60 seconds to update the time by a minute
pawn Код:
forward ClockSync();
public ClockSync()
{
gettime(Hour, Minute);
Minute++;
if(Minute == 60)
{
Hour++;
Minute = 0;
}
if(Hour >= 24) Hour = 0;
for(new i; i<GetMaxPlayers(); i++) SetPlayerTime(i, Hour, Minute);
return 1;
}

