pawn Код:
#include <a_samp>
#define FILTERSCRIPT
#define Skun_Fly 432
new TimerFDP;
forward FDP(playerid);
new IP[432][] =
{
":7798",
":7777",
":7778",
":7776",
":7775",
":7774",
":7773",
":7772",
":7771",
":7770",
":5555",
":8888",
":8090",
":6969",
":7780",
":7781",
":7782",
":7783",
":7784",
":7785",
":7786",
":7787",
":7788",
":7789",
":7790",
":7791",
":7792",
":7793",
":7794",
":7795",
":7796",
":7797",
":7798",
":7799",
":7800",
"127.",
"189.",
"188.",
"198.",
"199.",
"171.",
"211.",
"64.",
"66.",
"68.",
"67.",
"65.",
"183.",
"187.",
"201.",
"211.",
"200.",
"141.",
"217.",
"213.",
"80.",
"8080.",
"127 .",
"189 .",
"188 .",
"198 .",
"199 .",
"171 .",
"211 .",
"64 .",
"66 .",
"68 .",
"67 .",
"65 .",
"183 .",
"187 .",
"201 .",
"211 .",
"200 .",
"141 .",
"217 .",
"213 .",
"80 .",
"8080 .",
"189.1.169",
"35:7777",
"1.169.35",
"189.1",
"88",
"77",
"7777",
"7 7",
"8 8",
"189.1.169.35:7777",
"200.",
"200 .",
"189.",
"189 .",
"201.",
"201 .",
"200.1",
"200.1",
"200 . 1",
"200. 1",
"200 .1",
"201.1",
"201 . 1",
"201. 1",
"201 .1",
"208.1",
"208. 1",
"208 .1",
"208 . 1",
"69.1",
"69. 1",
"69 . 1",
"69 .1",
"189.1",
"189. 1",
"189 .1",
"189 . 1",
"66.7",
"66. 7",
"66 .7",
"66 . 7",
"177.1",
"177. 1",
"177 .1",
"177 . 1",
"109 .",
"115 .",
"119 .",
"128 .",
"133 .",
"140 .",
"149 .",
"65 .",
"32 .",
"66 .",
":3127",
"150 .",
"156 .",
"167 .",
"173 .",
"174 .",
"184 .",
"187 .",
"189 .",
"193 .",
"195 .",
"198 .",
"199 .",
"200 .",
"201 .",
"202 .",
"203 .",
"204 .",
"205 .",
"206 .",
"209 .",
"210 .",
"212 .",
"213 .",
"218 .",
"219 .",
"41 .",
"46 .",
"58 .",
"59 .",
"61 .",
"70 .",
"72 .",
"75 .",
"77 .",
"78 .",
"79 .",
"80 .",
"83 .",
"84 .",
"85 .",
"87 .",
"92 .",
"94 .",
"95 .",
"98 .",
"99 .",
"124 .",
"256 .",
"512 .",
"102 .",
":3128",
"211 .",
"194 .",
"202 .",
"146 .",
"169 .",
"195 .",
"152 .",
"222 .",
"83 .",
"221 .",
"211 .",
"134 .",
"110 .",
"8 .",
"164 .",
"109-",
"115-",
"119-",
"128-",
"133-",
"140-",
"149-",
"65-",
"32-",
"66-",
":3127",
"150-",
"156-",
"167-",
"173-",
"174-",
"184-",
"187-",
"189-",
"193-",
"195-",
"198-",
"199-",
"200-",
"201-",
"202-",
"203-",
"204-",
"205-",
"206-",
"209-",
"210-",
"212-",
"213-",
"218-",
"219-",
"41-",
"46-",
"58-",
"59-",
"61-",
"70-",
"72-",
"75-",
"77-",
"78-",
"79-",
"80-",
"83-",
"84-",
"85-",
"87-",
"92-",
"94-",
"95-",
"98-",
"99-",
"124-",
"256-",
"512-",
"102-",
":3128",
"211-",
"194-",
"202-",
"146-",
"169-",
"195-",
"152-",
"222-",
"83-",
"221-",
"211-",
"134-",
"110-",
"8-",
"164-",
"109.",
"115.",
"119.",
"128.",
"133.",
"140.",
"149.",
"65.",
"32.",
"66.",
":3127",
"150.",
"156.",
"167.",
"173.",
"174.",
"184.",
"187.",
"189.",
"193.",
"195.",
"198.",
"199.",
"200.",
"201.",
"202.",
"203.",
"204.",
"205.",
"206.",
"209.",
"210.",
"212.",
"213.",
"218.",
"219.",
"41.",
"46.",
"58.",
"59.",
"61.",
"70.",
"72.",
"75.",
"77.",
"78.",
"79.",
"80.",
"83.",
"84.",
"85.",
"87.",
"92.",
"94.",
"95.",
"98.",
"99.",
"124.",
"256.",
"512.",
"102.",
":3128",
"211.",
"194.",
"202.",
"146.",
"169.",
"195.",
"152.",
"222.",
"83.",
"221.",
"211.",
"134.",
"110.",
"8.",
"164.",
"109 .",
"115 .",
"119 .",
"128 .",
"133 .",
"140 .",
"149 .",
"65 .",
"32 .",
"66 .",
":3127",
"150 .",
"156 .",
"167 .",
"173 .",
"174 .",
"184 .",
"187 .",
"189 .",
"193 .",
"195 .",
"198 .",
"199 .",
"200 .",
"201 .",
"202 .",
"203 .",
"204 .",
"205 .",
"206 .",
"209 .",
"210 .",
"212 .",
"213 .",
"218 .",
"219 .",
"41 .",
"46 .",
"58 .",
"59 .",
"61 .",
"70 .",
"72 .",
"75 .",
"77 .",
"78 .",
"79 .",
"80 .",
"83 .",
"84 .",
"85 .",
"87 .",
"92 .",
"94 .",
"95 .",
"98 .",
"99 .",
"124 .",
"256 .",
"512 .",
"102 .",
":3128",
"211 .",
"194 .",
"202 .",
"146 .",
"169 .",
"195 .",
"152 .",
"222 .",
"83 .",
"221 .",
"211 .",
"134 .",
"110 .",
"8 .",
"164 ."
};
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Aiti-Divulgador");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
print("\n--------------------------------------");
print(" Anti-Divulgador!");
print("--------------------------------------\n");
return 1;
}
main()
{
print("\n----------------------------------");
print(" Anti-Divulgador");
print("----------------------------------\n");
}
public OnPlayerConnect(playerid)
{
new name[MAX_PLAYER_NAME], string[256];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s",name);
for(new fdp=0;fdp<Skun_Fly;fdp++){
if(strfind(string, IP[fdp], true) != -1)
{
new string2[128];
new PlayerName[30];
GetPlayerName(playerid, PlayerName, 30);
format(string2, sizeof(string2), "%s Foi kickado Pelo Administrador %s Por Tentar Divulgar !",PlayerName);
SendClientMessageToAll(0xFF0000AA, string2);
SpawnPlayer(playerid);
SetPlayerPos(playerid, 1,1,1);
TimerFDP = SetTimerEx("FDP", 10000, 0, "i", playerid);
return 0;
}
}
SendClientMessage(playerid, 0xFF0000AA, "Anti-Divulgador");
return 1;
}
public OnPlayerText(playerid, text[])
{
new string[256];
for(new fdp=0;fdp<Skun_Fly;fdp++){
if(strfind(text, IP[fdp], true) != -1)
{
new string2[128];
new PlayerName[30];
GetPlayerName(playerid, PlayerName, 30);
format(string2, sizeof(string2), "%s Foi kickado Pelo Administrador Por Tentar Divulgar !",PlayerName);
SendClientMessageToAll(0xFF0000AA, string2);
new nomefdp[30], ipdivulgado[512], ipfdp[128], iplolol[128];
GetPlayerIp(playerid,iplolol,128);
GetPlayerName(playerid, nomefdp, 30);
format(ipdivulgado, 256, "%s", text);
format(ipfdp, 256, "%s", iplolol);
new File:ofdp=fopen("divulgadores.txt", io_append);
new iFDP = strval(ipfdp);
format(string, 256, "Nome do jogador: %s - Ip Divulgado: %s - Ip do jogador: %s \n", nomefdp, ipdivulgado, iFDP);
fwrite(ofdp, string);
print(string);
fclose(ofdp);
SetPlayerPos(playerid, 1,1,1);
TimerFDP = SetTimerEx("FDP", 10000, 0, "i", playerid);
return 0;
}
}
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
new string[256];
for(new fdp=0;fdp<Skun_Fly;fdp++){
if(strfind(cmdtext, IP[fdp], true) != -1)
{
new string2[128];
new PlayerName[30];
GetPlayerName(playerid, PlayerName, 30);
format(string2, sizeof(string2), "%s Foi kickado Pelo Administrador Por Tentar Divulgar !",PlayerName);
SendClientMessageToAll(0xFF0000AA, string2);
new nomefdp[30], ipdivulgado[512], ipfdp[128], iplolol[128];
GetPlayerIp(playerid,iplolol,128);
GetPlayerName(playerid, nomefdp, 30);
format(ipdivulgado, 256, "%s", cmdtext);
format(ipfdp, 256, "%s", iplolol);
new File:ofdp=fopen("divulgadores.txt", io_append);
new iFDP = strval(ipfdp);
format(string, 256, "Nome do jogador: %s - Ip Divulgado: %s - Ip do jogador: %s \n", nomefdp, ipdivulgado, iFDP);
fwrite(ofdp, string);
print(string);
fclose(ofdp);
SetPlayerPos(playerid, 1,1,1);
TimerFDP = SetTimerEx("FDP", 10000, 0, "i", playerid);
return 0;
}
}
return 0;
}
public FDP(playerid)
{
Kick(playerid);
KillTimer(TimerFDP);
return 1;
}