12.05.2014, 12:26
Hi guys, i have problem with timers, when i have more then 80 players on server payday timer stop working, and under 80 player payday timer works perfect
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();
}
}