28.02.2012, 19:38
well, I have problems with timers, I got a lot timers and all doing in same time and very quikly and that make lagg for players and server, how I can use timers in other way for more easy and useful
how you see, I have a lot tiemrs
any body have some ideas?
pawn Код:
OnGameModeInit()
{
SweeperTimer = SetTimer("Sweeper",60000,1);
BenzinUpdatetimer = SetTimer("BenzinUpdate", 999, 1);
checkgastimer = SetTimer("CheckGas", 42000, 1);
streamtimer = SetTimer("StreamPickups",1500,true);
ammutimer = SetTimer("CheckAmmu",1100,1);
ziptimer = SetTimer("CheckZip",1110,1);
scoretimer = SetTimer("ScoreTime",200000,1);
banktimer2 = SetTimer("BankTime",100,1);
banktimer3 = SetTimer("BankTime2",1500,1);
banktimer = SetTimer("CheckBank",1100,1);
godtimer = SetTimer("InfiniteLife",900,1);
abusertimer = SetTimer("CheckAbuser",20000,1);
citytimer = SetTimer("CheckCity",1300,1);
jobtimer = SetTimer("JobCheck",1400,1);
floodtimer = SetTimer("UpdateCmdFreq",2500,1);
newmem = SetTimer("Member",200000,1);
cheater = SetTimer("SendMSG2",900000,1);
metimer = SetTimer("Shout",1000,1);
afklol = SetTimer("vAFK",55000,1);
afklol2 = SetTimer("AFKtime",60000,1);
cop = SetTimer("CheckCop",800,1);
owner = SetTimer("CheckOwner",2000,1);
return 1;
}
any body have some ideas?