help 2 add some thing in anti cheat
#1

i create anti cheat that work on timers
like
Quote:

OnGameModeInit
SetTimer("AntiMiniGun",1000,1);

down in the mode
Quote:

forward AntiMiniGun();
public AntiMiniGun(){
for(new i=0; i<MAX_PLAYERS; i++){
if(IsPlayerConnected(i)) {
if(GetPlayerWeapon(i) == 3
Ban(i);
}
}
}

there is no problom in that but i want that if admin have it he not get ban
how i do it ?
Reply


Messages In This Thread
help 2 add some thing in anti cheat - by rong13 - 19.05.2010, 21:59
Re: help 2 add some thing in anti cheat - by DaneAMattie - 19.05.2010, 22:07
Re: help 2 add some thing in anti cheat - by rong13 - 19.05.2010, 22:20

Forum Jump:


Users browsing this thread: 1 Guest(s)