Fuggy 2 Odesláno: 23. Leden, 2013 Share Odesláno: 23. Leden, 2013 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 More sharing options...
Mivčo 90 Odesláno: 23. Leden, 2013 Share Odesláno: 23. Leden, 2013 #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 1 Link to comment Share on other sites More sharing options...
Fuggy 2 Odesláno: 23. Leden, 2013 Author Share Odesláno: 23. Leden, 2013 ale chcu kick Link to comment Share on other sites More sharing options...
Mivčo 90 Odesláno: 23. Leden, 2013 Share Odesláno: 23. Leden, 2013 #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 More sharing options...
Fuggy 2 Odesláno: 23. Leden, 2013 Author Share Odesláno: 23. Leden, 2013 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 More sharing options...
Mivčo 90 Odesláno: 23. Leden, 2013 Share Odesláno: 23. Leden, 2013 To nevadí Link to comment Share on other sites More sharing options...
rhsCZ 19 Odesláno: 23. Leden, 2013 Share Odesláno: 23. Leden, 2013 To nevadí jak to nevadí to vadí Link to comment Share on other sites More sharing options...
Mivčo 90 Odesláno: 23. Leden, 2013 Share Odesláno: 23. Leden, 2013 aj tak to ide Link to comment Share on other sites More sharing options...
oN3 0 Odesláno: 23. Leden, 2013 Share Odesláno: 23. Leden, 2013 Kick(playerid, string); Toto je pičovina zmeň to na: Kick(playerid); Link to comment Share on other sites More sharing options...
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 accountSign in
Already have an account? Sign in here.
Sign In Now