18.08.2012, 14:21
at the very beginning of the callback, add
then play and watch the gametext(-s annoying all players). it shows the milliseconds the whole AC-checks need. if you set the timer to a lower value than the ms shown ingame, then it will perhaps skip one iteration...
pawn Код:
public AntiCheat(blabla);
new debugtime=GetTickCount();
//your AC stuff inside. could be...
//
//very
//
//long. and at its end, add:
debugtime=GetTickCount()-debugtime;
new debugstring[32];
format(debugstring,sizeof(debugstring),"%d",debugtime);
GameTextForAll(debugstring,500,5);
// return 1; //no need to insert this, you already got that return 1. but to illustrate the gametext should be at the very end.
}

