19.05.2010, 21:59
i create anti cheat that work on timers
like
down in the mode
there is no problom in that but i want that if admin have it he not get ban
how i do it ?
like
Quote:
OnGameModeInit SetTimer("AntiMiniGun",1000,1); |
Quote:
forward AntiMiniGun(); public AntiMiniGun(){ for(new i=0; i<MAX_PLAYERS; i++){ if(IsPlayerConnected(i)) { if(GetPlayerWeapon(i) == 3 ![]() Ban(i); } } } |
how i do it ?