12.05.2014, 12:30
ongamemodeinit:
public synctimer:
and when i reach 80+ player this now is %d:00h dont show... like timer stop repeating
Код:
synctimer = SetTimer("SyncTime", 60000, true);
Код:
forward SyncTime(); public SyncTime() { new tmphour; new tmpminute; new tmpsecond; gettime(tmphour, tmpminute, tmpsecond); FixHour(tmphour); tmphour = shifthour; // SCMTA(CRVENA,"Priv deo sync time aktiviran."); if ((tmphour > ghour) || (tmphour == 0 && ghour == 23)) { new string[56]; format(string, sizeof(string), "{07C1F5}{ffffff}Now is {07C1F5}%d:00h",tmphour); SCMTA(BELA, string); PayDay(); } }