//Topo do GM//
#define MAX_CONNECTIONS_FROM_IP 2
//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 //
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;
}
#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 !
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;
}
#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;
}
GetDistanceBetweenPlayers
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.
[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:14] Incoming connection: Ip
[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:28] Incoming connection: Ip
[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)
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;
}
Tenta isso, fiz aqui usando GetPlayerDistanceFromPoint acho que deve funcionar.
pawn Код:
|