Problem with timers
#1

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
Reply
#2

Show us your PayDay Code (stock / public, whatever...).
Reply
#3

ongamemodeinit:
Код:
synctimer = SetTimer("SyncTime", 60000, true);
public synctimer:
Код:
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();
          }
}
and when i reach 80+ player this now is %d:00h dont show... like timer stop repeating
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)