what should i do with this ..
#1

I made a anti-cheat so when player kills other player with minigun he will be banned.
I puted the code on OnPlayerDeath:

pawn Код:
if(GetPlayerWeapon(killerid) == 38) Ban(killerid);
    {
        new string[248],pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid,pName,sizeof(pName));
        format(string,sizeof(string),"[ANTI-CHEAT]: %s [ID:%d] has been banned for weapons hax.",pName,playerid);
        SendClientMessageToAll(red,string);
    }
But how do I make that when player takes minigun from his cheat program
that he will be banned even he didn't killed anyone with that weapon.
Should I put that code ^ OnPlayerUpdate ?
Reply


Messages In This Thread
what should i do with this .. - by Matej_ - 22.09.2010, 08:03
Re: what should i do with this .. - by Retardedwolf - 22.09.2010, 08:04
Re: what should i do with this .. - by Voldemort - 22.09.2010, 08:04
Re: what should i do with this .. - by willsuckformoney - 22.09.2010, 08:05
Re: what should i do with this .. - by Matej_ - 22.09.2010, 08:13

Forum Jump:


Users browsing this thread: 1 Guest(s)