Jump to content
  • 0

pomoc Nejde písať do chatu!


Dannynator

Dotaz

Dobrý den, kamarát mi poslal tento FS, nevedel ani on čo s tým je, že nejde písať do chatu... vrajže to niekde zohnal, dám vám sem pwn kód, proste idem na server napíšem do chatu a nič..

 

#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);
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);
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);
return 0;
}
}
}
}
}
return 0;
}

 

 

Díky za skorú pomoc :)

Link to comment
Share on other sites

2 odpovědí na tuto otázku

Recommended Posts

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...