Anti mass Fakekill
#1

I need newest anticheat to prevent players using Fakekill and killing whole server.
Reply
#2

Use the search there are plenty of scripts.
Reply
#3

Try this:

pawn Код:
new stock bool:HasDied[MAX_PLAYERS];

public OnPlayerDeath(playerid, killerid,  reason)
{
    if(HasDied[playerid])
    {
        new string[128];
        GetPlayerName( playerid, string, sizeof(string) );
        format(string, sizeof(string), "%s (id: %i) has been kicked for fake kill cheat", string, playerid);
        SendClientMessageToAll(-1, string);
        print(string);
        Kick(playerid);
    }
    HasDied[playerid] = true;
    return 1;
}

public OnPlayerSpawn(playerid)
{
    HasDied[playerid] = false;
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)