What would happen if i set AC 100MS
#2

at the very beginning of the callback, add
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.
}
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...
Reply


Messages In This Thread
What would happen if i set AC 100MS - by No Fear - 18.08.2012, 13:50
Re: What would happen if i set AC 100MS - by Babul - 18.08.2012, 14:21

Forum Jump:


Users browsing this thread: 1 Guest(s)