18.08.2012, 13:50
Hey, what would happen if i set AC timer to 100MS, would i couse alot of lagg? Players 20-50 at one time.
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.
}