27.09.2013, 22:22
Hum, tenta esse ..
pawn Код:
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.botaoforumdosvaqui.com",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, "Esse servidor tem um sistema de proteзгo AntFake Kill... ");
Kick(playerid);
}
return 1;
}