Fake Kill
#1

Hi,

Is this a good Anti Fake Kill ? If not how to make it more success +REP if helped

Код:
//anti fake kill
new antifakekill[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
    antifakekill[playerid] ++;
    SetTimerEx("antifakekill2", 1000,false,"i",playerid);
return 1;
}
forward antifakekill2(playerid);
public antifakekill2(playerid)
{
    antifakekill[playerid] --;
    if(antifakekill[playerid] > 3)
    {
    new string[64], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof string,"* %s was banned reason (Fake kill)",pName);
    SendClientMessageToAll(0xFF0000FF,string);
    BanEx(playerid, "Fake kill");
    }
    return 1;
}
Reply


Messages In This Thread
Fake Kill - by Hunud - 17.07.2017, 10:16
Re: Fake Kill - by Arbico - 17.07.2017, 14:01
Re: Fake Kill - by Freedom. - 17.07.2017, 14:17
Re: Fake Kill - by Arbico - 17.07.2017, 14:20
Re: Fake Kill - by FailerZ - 17.07.2017, 14:25
Re: Fake Kill - by Freedom. - 17.07.2017, 14:26
Re: Fake Kill - by Hunud - 17.07.2017, 14:32
Re: Fake Kill - by Abagail - 17.07.2017, 15:32
Re: Fake Kill - by Konstantinos - 17.07.2017, 21:53
Re: Fake Kill - by Paulice - 17.07.2017, 22:29

Forum Jump:


Users browsing this thread: 1 Guest(s)