26.01.2011, 04:24
You mean this?
pawn Код:
forward TimeUpdate();
new worldTime;
public OnPlayerConnect(playerid)
{
SetTimer("TimeUpdate",65009, 1);
TogglePlayerClock(playerid, 1);
return 1;
}
public TimeUpdate()
{
worldTime++;
worldTime%=24;
SetWorldTime(worldTime);
}