Jump to content

hledám Fs Anti Ip Na Jiny Server Reklama


Fuggy

Recommended Posts

cau hledam fs kde kdyz nekdo da bud webou stranku nebo ip servera 85.118.131.200:7786 tak at ho to kickne ale aby to nnemohl nak obejit ze odstrani tecky atd pls !!

Link to comment
Share on other sites

#include 

public OnPlayerText(playerid,text[])
{
for(new ip1=1;ip1 < 10; ip1++)
{
for(new ip2=0;ip2 < 10; ip2++)
{
for(new ip3=0;ip3 < 10; ip3++)
{
for(new ip4=0;ip4 < 10; ip4++)
{

new string2[16];
format(string2, sizeof(string2), ":%d%d%d%d", ip1, ip2, ip3, ip4);
new string3[16];
format(string3, sizeof(string3), ": %d%d%d%d", ip1, ip2, ip3, ip4);
new string4[16];
format(string4, sizeof(string3), ": %d %d %d %d", ip1, ip2, ip3, ip4);

if(strfind(text, string2) >= 0)
{
new string[256] , name[24];
GetPlayerName(playerid, name, 24);
format(string, 256, "[ ANTIREKLAMA ] {FF0000}Hráč {0084FF}%s {FF0000}bol zabanovaný za reklamu", name);
SendClientMessageToAll(0xE10000AA, string);

format(string, sizeof(string), "Reklama");
BanEx(playerid, string);
return 0;
}
if(strfind(text, string3) >= 0)
{
SendClientMessage(playerid, 0xE10000AA, "Bol si zabanovaný za reklamovanie {0084FF}IP adresy");

new string[256];
format(string, sizeof(string), "Reklama");
BanEx(playerid, string);
return 0;
}
if(strfind(text, string4) >= 0)
{
SendClientMessage(playerid, 0xE10000AA, "Bol si zabanovaný za reklamovanie {0084FF}IP adresy");

new string[256];
format(string, sizeof(string), "Reklama");
BanEx(playerid, string);
return 0;
}
}
}
}
}
return 0;
}

A poprosim o REP :)

  • Líbí se mi to! (+1) 1
Link to comment
Share on other sites

 

#include a_samp

 

public OnPlayerText(playerid,text[])

{

for(new ip1=1;ip1 < 10; ip1++)

{

for(new ip2=0;ip2 < 10; ip2++)

{

for(new ip3=0;ip3 < 10; ip3++)

{

for(new ip4=0;ip4 < 10; ip4++)

{

 

new string2[16];

format(string2, sizeof(string2), ":%d%d%d%d", ip1, ip2, ip3, ip4);

new string3[16];

format(string3, sizeof(string3), ": %d%d%d%d", ip1, ip2, ip3, ip4);

new string4[16];

format(string4, sizeof(string3), ": %d %d %d %d", ip1, ip2, ip3, ip4);

 

if(strfind(text, string2) >= 0)

{

new string[256] , name[24];

GetPlayerName(playerid, name, 24);

format(string, 256, "[ ANTIREKLAMA ] {FF0000}Hráč {0084FF}%s {FF0000}bol vyhodený za reklamu", name);

SendClientMessageToAll(0xE10000AA, string);

 

format(string, sizeof(string), "Reklama");

Kick(playerid, string);

return 0;

}

if(strfind(text, string3) >= 0)

{

SendClientMessage(playerid, 0xE10000AA, "Bol si vyhodený za reklamovanie {0084FF}IP adresy");

 

new string[256];

format(string, sizeof(string), "Reklama");

Kick(playerid, string);

return 0;

}

if(strfind(text, string4) >= 0)

{

SendClientMessage(playerid, 0xE10000AA, "Bol si vyhodený za reklamovanie {0084FF}IP adresy");

 

new string[256];

format(string, sizeof(string), "Reklama");

Kick(playerid, string);

return 0;

}

}

}

}

}

return 0;

}

 

na :)

Link to comment
Share on other sites

ehmm

 

 

 

 

C:\Users\JAKUB\Desktop\Antireklama.pwn(29) : warning 202: number of arguments does not match definition

C:\Users\JAKUB\Desktop\Antireklama.pwn(38) : warning 202: number of arguments does not match definition

C:\Users\JAKUB\Desktop\Antireklama.pwn(47) : warning 202: number of arguments does not match definition

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...