07.03.2015, 11:20
PHP код:
if((tmphour > ghour) || (tmphour == 0 && ghour == 23))
{
new string[64];
format(string,sizeof(string), "Сейчас времени %d:00 часов",tmphour);
ABroadCast(COLOR_LIGHTRED,string,6);
ghour = tmphour;
PayDay();
if(realtime) SetWorldTime(tmphour);
}