[Ajuda] Botz Fake-Kill
#1

Olб, galera tem alguem enviando BOTZ para o meu servidor, este bot entra no servidor faz o fake-kill e se desconecta, depois de uns 10 segundos ele volta faz de novo e desconecta, e assim vai...
Ja usei varios Anti Fake-Kill para tentar resolver o problema e nгo deu certo, gostaria de saber se alguem poderia me ajudar com este problema.

Obs: Mesmo voce colocando Kick ou Ban no codigo de Anti Fake-Kill o bot consegue voltar.

Se alguem quiser ver como funciona eu tenho ele aqui, mais sу para testes que irei usa-lo.
Reply
#2

Coloque isso em:

pawn Код:
//Topo do GM//
#define MAX_CONNECTIONS_FROM_IP 2
pawn Код:
//OnPlayerConnect
    // Anti-BOT //
    new connecting_ip[32+1];
    GetPlayerIp(playerid,connecting_ip,32);
    new num_players_on_ip = GetNumberOfPlayersOnThisIP(connecting_ip);
    if(num_players_on_ip > MAX_CONNECTIONS_FROM_IP) {
        printf("MAXIPs: Coneccoes (%d) exceeded %d IP connections from %s.", playerid, MAX_CONNECTIONS_FROM_IP, connecting_ip);
        Kick(playerid);
        return 0;
    }
    if(strcmp(connecting_ip,"255.255.255.255",true)==0)
    {
        Ban(playerid);
        return 0;
    }
    // Fim do anti-BOT //
Final do GM:
pawn Код:
stock GetNumberOfPlayersOnThisIP(test_ip[])
{
    new against_ip[32+1];
    new xxx = 0;
    new ip_count = 0;
    for(xxx=0; xxx<MAX_PLAYERS; xxx++) {
        if(IsPlayerConnected(xxx)) {
            GetPlayerIp(xxx,against_ip,32);
            if(!strcmp(against_ip,test_ip)) ip_count++;
        }
    }
    return ip_count;
}
Funcionou comigo.
Reply
#3

ta ae uns que eu ja usei os creditos de algum ae nem lembro mais quem for o dono pode ficar tranquilo o codigoo e seu e eu respeito os creditos!
ta ae so testei 2 desses ae e funciono tenta ae espero ter ajudado!
pawn Код:
#include <  a_samp  >

new fkill [ MAX_PLAYERS ] ;

forward MenosFKill ( id ) ;
public MenosFKill ( id ) if ( fkill [ id ] > 0 && fkill [ id ] < 3 ) fkill [ id ] -- ;

public OnPlayerDeath ( playerid , killerid , reason )
{
    if ( fkill [ playerid ] < 3 ) fkill[playerid]++ , SetTimerEx ( "MenosFKill" , 1000 , false , "d" , playerid ) ;
    else
    {
        new string23 [ 128 ] , nome23 [ MAX_PLAYER_NAME ] ;
        GetPlayerName ( playerid , nome23 , sizeof ( nome23 ) ) ;
        format ( string23 , sizeof ( string23 ) ,"%s[ID:%d] Foi Banido. (Fake-Kill)" , nome23 , playerid ) ;
        SendClientMessageToAll ( -1 , string23 ) , Ban(playerid);
    }
    return 1;
}

public OnPlayerConnect ( playerid ) fkill [ playerid ] = 0 ;
//ja usei esse ae acima e baum mais nao perfeito !
//nao lembro de quem e os creditos nao meu !
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(gettime() - GetPVarInt(playerid, "ultimaDeath") < 3) //  ou o jogador morreu mais de uma vez nos ъltimos 2 segundos
    {
        static bftmp[128];
        format(bftmp, 128, "[AdminBot] %s(%d) foi kickado por suspeita de fake-kill", PlayerName(playerid), playerid);
        SendClientMessageToAll(RED, bftmp);
        return true;
    }

    if(IsPlayerConnected(killerid) && killerid != INVALID_PLAYER_ID) { // caso ouver killerid
        if(GetDistanceBetweenPlayers(killerid, playerid) > 300 && GetPVarInt(playerid, "ultimoShoot") != killerid) { // caso a distancia entre o killerid for menor que 300
            static bftmp[128];
            format(bftmp, 128, "[AdminBot] %s(%d) foi kickado por suspeita de fake-kill", PlayerName(playerid), playerid);
            SendClientMessageToAll(RED, bftmp);
            return true;
        }
    }
    SetPVarInt(playerid, "ultimaDeath", gettime());
    return false;
}

public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    SetPVarInt(playerid, "ultimoShoot", issuerid);
    return true;
}
pawn Код:
#include <a_samp>
new antifakekill[MAX_PLAYERS];
public OnFilterScriptInit()
{
    print(" Anti Fake Kill by; LuizFel");
    return 1;
}

public OnPlayerText(playerid, text[])
{
   if(strfind(text,"!kill",true) == 0) return Kick(playerid);
   if(strfind(text,"www.samphax.tk",true) == 0) return Kick(playerid);

   return 1;
}

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] > 5)
    {
        SendClientMessage(playerid, 0xFF0000AA, "Este servidor esta protegido por um Anti Fake Kill");
        Ban(playerid); // aki era kick eu mudei para ban
    }
    return 1;
}
Reply
#4

@[XPG]MarlonCS - Cara й somente 1 BOT, o bloqueio de varios IP's ao mesmo tempo nao adiantaria, e foi a primeira coisa que tentei.

@billy the kid - Vou tentar usar o seu 2є cуdigo, ele deu alguns erros que consegui arrumar mais tem este que nao consegui:
pawn Код:
GetDistanceBetweenPlayers
Alguem poderia dizer como resolver?
Reply
#5

Tenta isso, fiz aqui usando GetPlayerDistanceFromPoint acho que deve funcionar.
pawn Код:
stock Float:GetDistanceBetweenPlayers(playerid,vitima)
{
    new Float:distancia[3];
    GetPlayerPos(playerid,distancia[0],distancia[1], distancia[2]);
    return GetPlayerDistanceFromPoint(vitima,distancia[0],distancia[1],distancia[2]);
}

// mode de usar
GetDistanceBetweenPlayers(playerid,vitima) < 5) // caso esteja a menos de 5 metros.
Reply
#6

--EDIT--

Achei que tinha funcionado mais nao adiantou veja:

PHP код:
[11:09:56] [join_A_b_c has joined the server (ip)
[
11:10:00] [kill_A_b_c killed _A_b_c 
[11:10:00] [kill_A_b_c killed _A_b_c Brass Knuckles
[11:10:00] [kill_A_b_c killed _A_b_c Golf Club
[11:10:00] [kill_A_b_c killed _A_b_c Nite Stick
[11:10:00] [kill_A_b_c killed _A_b_c Knife
[11:10:00] [kill_A_b_c killed _A_b_c Baseball Bat
[11:10:00] [kill_A_b_c killed _A_b_c Shovel
[11:10:00] [kill_A_b_c killed _A_b_c Pool Cue
[11:10:00] [kill_A_b_c killed _A_b_c Katana
[11:10:00] [kill_A_b_c killed _A_b_c Chainsaw
[11:10:00] [kill_A_b_c killed _A_b_c Dildo
[11:10:00] [kill_A_b_c killed _A_b_c Dildo
[11:10:00] [kill_A_b_c killed _A_b_c Vibrator
[11:10:00] [kill_A_b_c killed _A_b_c Vibrator
[11:10:00] [kill_A_b_c killed _A_b_c Flowers
[11:10:00] [kill_A_b_c killed _A_b_c Cane
[11:10:00] [kill_A_b_c killed _A_b_c Grenade
[11:10:00] [kill_A_b_c killed _A_b_c Teargas
[11:10:00] [kill_A_b_c killed _A_b_c 
[11:10:00] [kill_A_b_c killed _A_b_c 
[11:10:00] [kill_A_b_c killed _A_b_c 
[11:10:00] [kill_A_b_c killed _A_b_c 
[11:10:00] [kill_A_b_c killed _A_b_c Colt 45
[11:10:00] [kill_A_b_c killed _A_b_c Silenced Pistol
[11:10:00] [kill_A_b_c killed _A_b_c Desert Eagle
[11:10:00] [kill_A_b_c killed _A_b_c Shotgun
[11:10:00] [kill_A_b_c killed _A_b_c Sawn-off Shotgun
[11:10:00] [kill_A_b_c killed _A_b_c Combat Shotgun
[11:10:00] [kill_A_b_c killed _A_b_c UZI
[11:10:00] [kill_A_b_c killed _A_b_c MP5
[11:10:00] [kill_A_b_c killed _A_b_c AK47
[11:10:00] [kill_A_b_c killed _A_b_c M4
[11:10:00] [kill_A_b_c killed _A_b_c TEC9
[11:10:00] [kill_A_b_c killed _A_b_c Rifle
[11:10:00] [kill_A_b_c killed _A_b_c Sniper Rifle
[11:10:00] [kill_A_b_c killed _A_b_c Rocket Launcher
[11:10:00] [kill_A_b_c killed _A_b_c Heat Seaker
[11:10:00] [kill_A_b_c killed _A_b_c Flamethrower
[11:10:00] [kill_A_b_c killed _A_b_c Minigun
[11:10:00] [kill_A_b_c killed _A_b_c Satchel Explosives
[11:10:00] [kill_A_b_c killed _A_b_c Bomb
[11:10:00] [kill_A_b_c killed _A_b_c Spray Can
[11:10:00] [kill_A_b_c killed _A_b_c Fire Extinguisher
[11:10:00] [kill_A_b_c killed _A_b_c Camera
[11:10:00] [kill_A_b_c killed _A_b_c 
[11:10:00] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c Brass Knuckles
[11:10:01] [kill_A_b_c killed _A_b_c Golf Club
[11:10:01] [kill_A_b_c killed _A_b_c Nite Stick
[11:10:01] [kill_A_b_c killed _A_b_c Knife
[11:10:01] [kill_A_b_c killed _A_b_c Baseball Bat
[11:10:01] [kill_A_b_c killed _A_b_c Shovel
[11:10:01] [kill_A_b_c killed _A_b_c Pool Cue
[11:10:01] [kill_A_b_c killed _A_b_c Katana
[11:10:01] [kill_A_b_c killed _A_b_c Chainsaw
[11:10:01] [kill_A_b_c killed _A_b_c Dildo
[11:10:01] [kill_A_b_c killed _A_b_c Dildo
[11:10:01] [kill_A_b_c killed _A_b_c Vibrator
[11:10:01] [kill_A_b_c killed _A_b_c Vibrator
[11:10:01] [kill_A_b_c killed _A_b_c Flowers
[11:10:01] [kill_A_b_c killed _A_b_c Cane
[11:10:01] [kill_A_b_c killed _A_b_c Grenade
[11:10:01] [kill_A_b_c killed _A_b_c Teargas
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c Colt 45
[11:10:01] [kill_A_b_c killed _A_b_c Silenced Pistol
[11:10:01] [kill_A_b_c killed _A_b_c Desert Eagle
[11:10:01] [kill_A_b_c killed _A_b_c Shotgun
[11:10:01] [kill_A_b_c killed _A_b_c Sawn-off Shotgun
[11:10:01] [kill_A_b_c killed _A_b_c Combat Shotgun
[11:10:01] [kill_A_b_c killed _A_b_c UZI
[11:10:01] [kill_A_b_c killed _A_b_c MP5
[11:10:01] [kill_A_b_c killed _A_b_c AK47
[11:10:01] [kill_A_b_c killed _A_b_c M4
[11:10:01] [kill_A_b_c killed _A_b_c TEC9
[11:10:01] [kill_A_b_c killed _A_b_c Rifle
[11:10:01] [kill_A_b_c killed _A_b_c Sniper Rifle
[11:10:01] [kill_A_b_c killed _A_b_c Rocket Launcher
[11:10:01] [kill_A_b_c killed _A_b_c Heat Seaker
[11:10:01] [kill_A_b_c killed _A_b_c Flamethrower
[11:10:01] [kill_A_b_c killed _A_b_c Minigun
[11:10:01] [kill_A_b_c killed _A_b_c Satchel Explosives
[11:10:01] [kill_A_b_c killed _A_b_c Bomb
[11:10:01] [kill_A_b_c killed _A_b_c Spray Can
[11:10:01] [kill_A_b_c killed _A_b_c Fire Extinguisher
[11:10:01] [kill_A_b_c killed _A_b_c Camera
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c Brass Knuckles
[11:10:01] [kill_A_b_c killed _A_b_c Golf Club
[11:10:01] [kill_A_b_c killed _A_b_c Nite Stick
[11:10:01] [kill_A_b_c killed _A_b_c Knife
[11:10:01] [kill_A_b_c killed _A_b_c Baseball Bat
[11:10:01] [kill_A_b_c killed _A_b_c Shovel
[11:10:01] [kill_A_b_c killed _A_b_c Pool Cue
[11:10:01] [kill_A_b_c killed _A_b_c Katana
[11:10:01] [kill_A_b_c killed _A_b_c Chainsaw
[11:10:01] [kill_A_b_c killed _A_b_c Dildo
[11:10:01] [kill_A_b_c killed _A_b_c Dildo
[11:10:01] [kill_A_b_c killed _A_b_c Vibrator
[11:10:01] [kill_A_b_c killed _A_b_c Vibrator
[11:10:01] [kill_A_b_c killed _A_b_c Flowers
[11:10:01] [kill_A_b_c killed _A_b_c Cane
[11:10:01] [kill_A_b_c killed _A_b_c Grenade
[11:10:01] [kill_A_b_c killed _A_b_c Teargas
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c Colt 45
[11:10:01] [kill_A_b_c killed _A_b_c Silenced Pistol
[11:10:01] [kill_A_b_c killed _A_b_c Desert Eagle
[11:10:01] [kill_A_b_c killed _A_b_c Shotgun
[11:10:01] [kill_A_b_c killed _A_b_c Sawn-off Shotgun
[11:10:01] [kill_A_b_c killed _A_b_c Combat Shotgun
[11:10:01] [kill_A_b_c killed _A_b_c UZI
[11:10:01] [kill_A_b_c killed _A_b_c MP5
[11:10:01] [kill_A_b_c killed _A_b_c AK47
[11:10:01] [kill_A_b_c killed _A_b_c M4
[11:10:01] [kill_A_b_c killed _A_b_c TEC9
[11:10:01] [kill_A_b_c killed _A_b_c Rifle
[11:10:01] [kill_A_b_c killed _A_b_c Sniper Rifle
[11:10:01] [kill_A_b_c killed _A_b_c Rocket Launcher
[11:10:01] [kill_A_b_c killed _A_b_c Heat Seaker
[11:10:01] [kill_A_b_c killed _A_b_c Flamethrower
[11:10:01] [kill_A_b_c killed _A_b_c Minigun
[11:10:01] [kill_A_b_c killed _A_b_c Satchel Explosives
[11:10:01] [kill_A_b_c killed _A_b_c Bomb
[11:10:01] [kill_A_b_c killed _A_b_c Spray Can
[11:10:01] [kill_A_b_c killed _A_b_c Fire Extinguisher
[11:10:01] [kill_A_b_c killed _A_b_c Camera
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [kill_A_b_c killed _A_b_c 
[11:10:01] [part_A_b_c has left the server (0:2)
[
11:10:14Incoming connectionIp
[11:10:14] [join_A_b_c has joined the server (Ip)
[
11:10:14] [kill_A_b_c killed _A_b_c 
[11:10:14] [kill_A_b_c killed _A_b_c Brass Knuckles
[11:10:14] [kill_A_b_c killed _A_b_c Golf Club
[11:10:14] [kill_A_b_c killed _A_b_c Nite Stick
[11:10:14] [kill_A_b_c killed _A_b_c Knife
[11:10:14] [kill_A_b_c killed _A_b_c Baseball Bat
[11:10:14] [kill_A_b_c killed _A_b_c Shovel
[11:10:14] [kill_A_b_c killed _A_b_c Pool Cue
[11:10:14] [kill_A_b_c killed _A_b_c Katana
[11:10:14] [kill_A_b_c killed _A_b_c Chainsaw
[11:10:14] [kill_A_b_c killed _A_b_c Dildo
[11:10:14] [kill_A_b_c killed _A_b_c Dildo
[11:10:14] [kill_A_b_c killed _A_b_c Vibrator
[11:10:14] [kill_A_b_c killed _A_b_c Vibrator
[11:10:14] [kill_A_b_c killed _A_b_c Flowers
[11:10:14] [kill_A_b_c killed _A_b_c Cane
[11:10:14] [kill_A_b_c killed _A_b_c Grenade
[11:10:14] [kill_A_b_c killed _A_b_c Teargas
[11:10:14] [kill_A_b_c killed _A_b_c 
[11:10:14] [kill_A_b_c killed _A_b_c 
[11:10:14] [kill_A_b_c killed _A_b_c 
[11:10:14] [kill_A_b_c killed _A_b_c 
[11:10:14] [kill_A_b_c killed _A_b_c Colt 45
[11:10:14] [kill_A_b_c killed _A_b_c Silenced Pistol
[11:10:14] [kill_A_b_c killed _A_b_c Desert Eagle
[11:10:14] [kill_A_b_c killed _A_b_c Shotgun
[11:10:14] [kill_A_b_c killed _A_b_c Sawn-off Shotgun
[11:10:14] [kill_A_b_c killed _A_b_c Combat Shotgun
[11:10:14] [kill_A_b_c killed _A_b_c UZI
[11:10:14] [kill_A_b_c killed _A_b_c MP5
[11:10:14] [kill_A_b_c killed _A_b_c AK47
[11:10:14] [kill_A_b_c killed _A_b_c M4
[11:10:14] [kill_A_b_c killed _A_b_c TEC9
[11:10:14] [kill_A_b_c killed _A_b_c Rifle
[11:10:14] [kill_A_b_c killed _A_b_c Sniper Rifle
[11:10:14] [kill_A_b_c killed _A_b_c Rocket Launcher
[11:10:14] [kill_A_b_c killed _A_b_c Heat Seaker
[11:10:14] [kill_A_b_c killed _A_b_c Flamethrower
[11:10:14] [kill_A_b_c killed _A_b_c Minigun
[11:10:14] [kill_A_b_c killed _A_b_c Satchel Explosives
[11:10:14] [kill_A_b_c killed _A_b_c Bomb
[11:10:14] [kill_A_b_c killed _A_b_c Spray Can
[11:10:14] [kill_A_b_c killed _A_b_c Fire Extinguisher
[11:10:14] [kill_A_b_c killed _A_b_c Camera
[11:10:14] [kill_A_b_c killed _A_b_c 
[11:10:14] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c Brass Knuckles
[11:10:15] [kill_A_b_c killed _A_b_c Golf Club
[11:10:15] [kill_A_b_c killed _A_b_c Nite Stick
[11:10:15] [kill_A_b_c killed _A_b_c Knife
[11:10:15] [kill_A_b_c killed _A_b_c Baseball Bat
[11:10:15] [kill_A_b_c killed _A_b_c Shovel
[11:10:15] [kill_A_b_c killed _A_b_c Pool Cue
[11:10:15] [kill_A_b_c killed _A_b_c Katana
[11:10:15] [kill_A_b_c killed _A_b_c Chainsaw
[11:10:15] [kill_A_b_c killed _A_b_c Dildo
[11:10:15] [kill_A_b_c killed _A_b_c Dildo
[11:10:15] [kill_A_b_c killed _A_b_c Vibrator
[11:10:15] [kill_A_b_c killed _A_b_c Vibrator
[11:10:15] [kill_A_b_c killed _A_b_c Flowers
[11:10:15] [kill_A_b_c killed _A_b_c Cane
[11:10:15] [kill_A_b_c killed _A_b_c Grenade
[11:10:15] [kill_A_b_c killed _A_b_c Teargas
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c Colt 45
[11:10:15] [kill_A_b_c killed _A_b_c Silenced Pistol
[11:10:15] [kill_A_b_c killed _A_b_c Desert Eagle
[11:10:15] [kill_A_b_c killed _A_b_c Shotgun
[11:10:15] [kill_A_b_c killed _A_b_c Sawn-off Shotgun
[11:10:15] [kill_A_b_c killed _A_b_c Combat Shotgun
[11:10:15] [kill_A_b_c killed _A_b_c UZI
[11:10:15] [kill_A_b_c killed _A_b_c MP5
[11:10:15] [kill_A_b_c killed _A_b_c AK47
[11:10:15] [kill_A_b_c killed _A_b_c M4
[11:10:15] [kill_A_b_c killed _A_b_c TEC9
[11:10:15] [kill_A_b_c killed _A_b_c Rifle
[11:10:15] [kill_A_b_c killed _A_b_c Sniper Rifle
[11:10:15] [kill_A_b_c killed _A_b_c Rocket Launcher
[11:10:15] [kill_A_b_c killed _A_b_c Heat Seaker
[11:10:15] [kill_A_b_c killed _A_b_c Flamethrower
[11:10:15] [kill_A_b_c killed _A_b_c Minigun
[11:10:15] [kill_A_b_c killed _A_b_c Satchel Explosives
[11:10:15] [kill_A_b_c killed _A_b_c Bomb
[11:10:15] [kill_A_b_c killed _A_b_c Spray Can
[11:10:15] [kill_A_b_c killed _A_b_c Fire Extinguisher
[11:10:15] [kill_A_b_c killed _A_b_c Camera
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c Brass Knuckles
[11:10:15] [kill_A_b_c killed _A_b_c Golf Club
[11:10:15] [kill_A_b_c killed _A_b_c Nite Stick
[11:10:15] [kill_A_b_c killed _A_b_c Knife
[11:10:15] [kill_A_b_c killed _A_b_c Baseball Bat
[11:10:15] [kill_A_b_c killed _A_b_c Shovel
[11:10:15] [kill_A_b_c killed _A_b_c Pool Cue
[11:10:15] [kill_A_b_c killed _A_b_c Katana
[11:10:15] [kill_A_b_c killed _A_b_c Chainsaw
[11:10:15] [kill_A_b_c killed _A_b_c Dildo
[11:10:15] [kill_A_b_c killed _A_b_c Dildo
[11:10:15] [kill_A_b_c killed _A_b_c Vibrator
[11:10:15] [kill_A_b_c killed _A_b_c Vibrator
[11:10:15] [kill_A_b_c killed _A_b_c Flowers
[11:10:15] [kill_A_b_c killed _A_b_c Cane
[11:10:15] [kill_A_b_c killed _A_b_c Grenade
[11:10:15] [kill_A_b_c killed _A_b_c Teargas
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c Colt 45
[11:10:15] [kill_A_b_c killed _A_b_c Silenced Pistol
[11:10:15] [kill_A_b_c killed _A_b_c Desert Eagle
[11:10:15] [kill_A_b_c killed _A_b_c Shotgun
[11:10:15] [kill_A_b_c killed _A_b_c Sawn-off Shotgun
[11:10:15] [kill_A_b_c killed _A_b_c Combat Shotgun
[11:10:15] [kill_A_b_c killed _A_b_c UZI
[11:10:15] [kill_A_b_c killed _A_b_c MP5
[11:10:15] [kill_A_b_c killed _A_b_c AK47
[11:10:15] [kill_A_b_c killed _A_b_c M4
[11:10:15] [kill_A_b_c killed _A_b_c TEC9
[11:10:15] [kill_A_b_c killed _A_b_c Rifle
[11:10:15] [kill_A_b_c killed _A_b_c Sniper Rifle
[11:10:15] [kill_A_b_c killed _A_b_c Rocket Launcher
[11:10:15] [kill_A_b_c killed _A_b_c Heat Seaker
[11:10:15] [kill_A_b_c killed _A_b_c Flamethrower
[11:10:15] [kill_A_b_c killed _A_b_c Minigun
[11:10:15] [kill_A_b_c killed _A_b_c Satchel Explosives
[11:10:15] [kill_A_b_c killed _A_b_c Bomb
[11:10:15] [kill_A_b_c killed _A_b_c Spray Can
[11:10:15] [kill_A_b_c killed _A_b_c Fire Extinguisher
[11:10:15] [kill_A_b_c killed _A_b_c Camera
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:15] [kill_A_b_c killed _A_b_c 
[11:10:16] [part_A_b_c has left the server (0:2)
[
11:10:28Incoming connectionIp
[11:10:28] [join_A_b_c has joined the server (Ip)
[
11:10:28] [kill_A_b_c killed _A_b_c 
[11:10:28] [kill_A_b_c killed _A_b_c Brass Knuckles
[11:10:28] [kill_A_b_c killed _A_b_c Golf Club
[11:10:28] [kill_A_b_c killed _A_b_c Nite Stick
[11:10:28] [kill_A_b_c killed _A_b_c Knife
[11:10:28] [kill_A_b_c killed _A_b_c Baseball Bat
[11:10:28] [kill_A_b_c killed _A_b_c Shovel
[11:10:28] [kill_A_b_c killed _A_b_c Pool Cue
[11:10:28] [kill_A_b_c killed _A_b_c Katana
[11:10:28] [kill_A_b_c killed _A_b_c Chainsaw
[11:10:28] [kill_A_b_c killed _A_b_c Dildo
[11:10:28] [kill_A_b_c killed _A_b_c Dildo
[11:10:28] [kill_A_b_c killed _A_b_c Vibrator
[11:10:28] [kill_A_b_c killed _A_b_c Vibrator
[11:10:28] [kill_A_b_c killed _A_b_c Flowers
[11:10:28] [kill_A_b_c killed _A_b_c Cane
[11:10:28] [kill_A_b_c killed _A_b_c Grenade
[11:10:28] [kill_A_b_c killed _A_b_c Teargas
[11:10:28] [kill_A_b_c killed _A_b_c 
[11:10:28] [kill_A_b_c killed _A_b_c 
[11:10:28] [kill_A_b_c killed _A_b_c 
[11:10:28] [kill_A_b_c killed _A_b_c 
[11:10:28] [kill_A_b_c killed _A_b_c Colt 45
[11:10:28] [kill_A_b_c killed _A_b_c Silenced Pistol
[11:10:28] [kill_A_b_c killed _A_b_c Desert Eagle
[11:10:28] [kill_A_b_c killed _A_b_c Shotgun
[11:10:28] [kill_A_b_c killed _A_b_c Sawn-off Shotgun
[11:10:28] [kill_A_b_c killed _A_b_c Combat Shotgun
[11:10:28] [kill_A_b_c killed _A_b_c UZI
[11:10:28] [kill_A_b_c killed _A_b_c MP5
[11:10:28] [kill_A_b_c killed _A_b_c AK47
[11:10:28] [kill_A_b_c killed _A_b_c M4
[11:10:28] [kill_A_b_c killed _A_b_c TEC9
[11:10:28] [kill_A_b_c killed _A_b_c Rifle
[11:10:28] [kill_A_b_c killed _A_b_c Sniper Rifle
[11:10:28] [kill_A_b_c killed _A_b_c Rocket Launcher
[11:10:28] [kill_A_b_c killed _A_b_c Heat Seaker
[11:10:28] [kill_A_b_c killed _A_b_c Flamethrower
[11:10:28] [kill_A_b_c killed _A_b_c Minigun
[11:10:28] [kill_A_b_c killed _A_b_c Satchel Explosives
[11:10:28] [kill_A_b_c killed _A_b_c Bomb
[11:10:28] [kill_A_b_c killed _A_b_c Spray Can
[11:10:28] [kill_A_b_c killed _A_b_c Fire Extinguisher
[11:10:28] [kill_A_b_c killed _A_b_c Camera
[11:10:28] [kill_A_b_c killed _A_b_c 
[11:10:28] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c Brass Knuckles
[11:10:29] [kill_A_b_c killed _A_b_c Golf Club
[11:10:29] [kill_A_b_c killed _A_b_c Nite Stick
[11:10:29] [kill_A_b_c killed _A_b_c Knife
[11:10:29] [kill_A_b_c killed _A_b_c Baseball Bat
[11:10:29] [kill_A_b_c killed _A_b_c Shovel
[11:10:29] [kill_A_b_c killed _A_b_c Pool Cue
[11:10:29] [kill_A_b_c killed _A_b_c Katana
[11:10:29] [kill_A_b_c killed _A_b_c Chainsaw
[11:10:29] [kill_A_b_c killed _A_b_c Dildo
[11:10:29] [kill_A_b_c killed _A_b_c Dildo
[11:10:29] [kill_A_b_c killed _A_b_c Vibrator
[11:10:29] [kill_A_b_c killed _A_b_c Vibrator
[11:10:29] [kill_A_b_c killed _A_b_c Flowers
[11:10:29] [kill_A_b_c killed _A_b_c Cane
[11:10:29] [kill_A_b_c killed _A_b_c Grenade
[11:10:29] [kill_A_b_c killed _A_b_c Teargas
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c Colt 45
[11:10:29] [kill_A_b_c killed _A_b_c Silenced Pistol
[11:10:29] [kill_A_b_c killed _A_b_c Desert Eagle
[11:10:29] [kill_A_b_c killed _A_b_c Shotgun
[11:10:29] [kill_A_b_c killed _A_b_c Sawn-off Shotgun
[11:10:29] [kill_A_b_c killed _A_b_c Combat Shotgun
[11:10:29] [kill_A_b_c killed _A_b_c UZI
[11:10:29] [kill_A_b_c killed _A_b_c MP5
[11:10:29] [kill_A_b_c killed _A_b_c AK47
[11:10:29] [kill_A_b_c killed _A_b_c M4
[11:10:29] [kill_A_b_c killed _A_b_c TEC9
[11:10:29] [kill_A_b_c killed _A_b_c Rifle
[11:10:29] [kill_A_b_c killed _A_b_c Sniper Rifle
[11:10:29] [kill_A_b_c killed _A_b_c Rocket Launcher
[11:10:29] [kill_A_b_c killed _A_b_c Heat Seaker
[11:10:29] [kill_A_b_c killed _A_b_c Flamethrower
[11:10:29] [kill_A_b_c killed _A_b_c Minigun
[11:10:29] [kill_A_b_c killed _A_b_c Satchel Explosives
[11:10:29] [kill_A_b_c killed _A_b_c Bomb
[11:10:29] [kill_A_b_c killed _A_b_c Spray Can
[11:10:29] [kill_A_b_c killed _A_b_c Fire Extinguisher
[11:10:29] [kill_A_b_c killed _A_b_c Camera
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c Brass Knuckles
[11:10:29] [kill_A_b_c killed _A_b_c Golf Club
[11:10:29] [kill_A_b_c killed _A_b_c Nite Stick
[11:10:29] [kill_A_b_c killed _A_b_c Knife
[11:10:29] [kill_A_b_c killed _A_b_c Baseball Bat
[11:10:29] [kill_A_b_c killed _A_b_c Shovel
[11:10:29] [kill_A_b_c killed _A_b_c Pool Cue
[11:10:29] [kill_A_b_c killed _A_b_c Katana
[11:10:29] [kill_A_b_c killed _A_b_c Chainsaw
[11:10:29] [kill_A_b_c killed _A_b_c Dildo
[11:10:29] [kill_A_b_c killed _A_b_c Dildo
[11:10:29] [kill_A_b_c killed _A_b_c Vibrator
[11:10:29] [kill_A_b_c killed _A_b_c Vibrator
[11:10:29] [kill_A_b_c killed _A_b_c Flowers
[11:10:29] [kill_A_b_c killed _A_b_c Cane
[11:10:29] [kill_A_b_c killed _A_b_c Grenade
[11:10:29] [kill_A_b_c killed _A_b_c Teargas
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c Colt 45
[11:10:29] [kill_A_b_c killed _A_b_c Silenced Pistol
[11:10:29] [kill_A_b_c killed _A_b_c Desert Eagle
[11:10:29] [kill_A_b_c killed _A_b_c Shotgun
[11:10:29] [kill_A_b_c killed _A_b_c Sawn-off Shotgun
[11:10:29] [kill_A_b_c killed _A_b_c Combat Shotgun
[11:10:29] [kill_A_b_c killed _A_b_c UZI
[11:10:29] [kill_A_b_c killed _A_b_c MP5
[11:10:29] [kill_A_b_c killed _A_b_c AK47
[11:10:29] [kill_A_b_c killed _A_b_c M4
[11:10:29] [kill_A_b_c killed _A_b_c TEC9
[11:10:29] [kill_A_b_c killed _A_b_c Rifle
[11:10:29] [kill_A_b_c killed _A_b_c Sniper Rifle
[11:10:29] [kill_A_b_c killed _A_b_c Rocket Launcher
[11:10:29] [kill_A_b_c killed _A_b_c Heat Seaker
[11:10:29] [kill_A_b_c killed _A_b_c Flamethrower
[11:10:29] [kill_A_b_c killed _A_b_c Minigun
[11:10:29] [kill_A_b_c killed _A_b_c Satchel Explosives
[11:10:29] [kill_A_b_c killed _A_b_c Bomb
[11:10:29] [kill_A_b_c killed _A_b_c Spray Can
[11:10:29] [kill_A_b_c killed _A_b_c Fire Extinguisher
[11:10:29] [kill_A_b_c killed _A_b_c Camera
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:29] [kill_A_b_c killed _A_b_c 
[11:10:30] [part_A_b_c has left the server (0:2
Obs: Fiz o teste sem ninguem no servidor, apenas o BOT!
Reply
#7

@Resolvido!

O leonardo1434 conseguiu resolver pra min rs.

Obrigado a todos que postaram!
Reply
#8

Pra que quiser eliminar com os bots apenas usar este code bem simples que fiz !
pawn Код:
new totaldemortes[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
    totaldemortes[playerid]++;
    if(totaldemortes[playerid] >  2) return SendClientMessage(playerid,-1,"Crйditos a tio le le leo.!"),Ban(playerid);
    SetTimerEx("funfa", 1000, false, "i",playerid);
    return 1;
}


forward funfa(playerid);
public funfa(playerid)
{
    totaldemortes[playerid] = 0;
}
Reply
#9

Pessoal , estou procurando um ANt Fake Kill que funcione fiz de tudo nos codigos acima e nгo deu certo , se poderem me passar agradeзo
Reply
#10

Quote:
Originally Posted by leonardo1434
Посмотреть сообщение
Tenta isso, fiz aqui usando GetPlayerDistanceFromPoint acho que deve funcionar.
pawn Код:
stock Float:GetDistanceBetweenPlayers(playerid,vitima)
{
    new Float:distancia[3];
    GetPlayerPos(playerid,distancia[0],distancia[1], distancia[2]);
    return GetPlayerDistanceFromPoint(vitima,distancia[0],distancia[1],distancia[2]);
}

// mode de usar
GetDistanceBetweenPlayers(playerid,vitima) < 5) // caso esteja a menos de 5 metros.
E se matar o player de sniper? '-'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)