Om3n 78 Odesláno: 11. Říjen, 2009 Share Odesláno: 11. Říjen, 2009 Tak tuhle anti-reklamu sem udelal uz pred nejakou dobou...funguje tak ze kontroluje pokud hrac napise v textu port serveru...neni to zase tak dokonaly ale 90% reklam to pochyta. Davam vam to sem v pwn. ps: Pridano na prani Tudora Link to comment Share on other sites More sharing options...
RmT_Kjuba 10 Odesláno: 11. Říjen, 2009 Share Odesláno: 11. Říjen, 2009 vybormě jako vždy u tebe xD .... Hele mohl by jsi neco přidat pro mě ban na reklamu WWW. popřípade cz Link to comment Share on other sites More sharing options...
Om3n 78 Odesláno: 11. Říjen, 2009 Author Share Odesláno: 11. Říjen, 2009 public OnPlayerText(playerid, text[]) { if(strfind(text, "www.") >= 0) { SendClientMessage(playerid, 0xE10000AA, "To byl blbej pokus o reklamu :)"); new string[256]; format(string, sizeof(string), "REKLAMA"); BanEx(playerid, string); return 0; } else if(strfind(text, "WWW.") >= 0) { SendClientMessage(playerid, 0xE10000AA, "To byl blbej pokus o reklamu :)"); new string[256]; format(string, sizeof(string), "REKLAMA"); BanEx(playerid, string); return 0; } return 1; } a delej si s tim co chces...melo by to bejt spravne Link to comment Share on other sites More sharing options...
RmT_Kjuba 10 Odesláno: 11. Říjen, 2009 Share Odesláno: 11. Říjen, 2009 Děkuju uctivě ... Na tebe je spoleh... Link to comment Share on other sites More sharing options...
Guest Tudor Odesláno: 11. Říjen, 2009 Share Odesláno: 11. Říjen, 2009 Diky moc, seš fakt úžasnej Link to comment Share on other sites More sharing options...
_Killer_ 1 Odesláno: 26. Říjen, 2009 Share Odesláno: 26. Říjen, 2009 public OnPlayerText(playerid, text[]) { if(strfind(text, "www.") >= 0) { SendClientMessage(playerid, 0xE10000AA, "To byl blbej pokus o reklamu :)"); new string[256]; format(string, sizeof(string), "REKLAMA"); BanEx(playerid, string); return 0; } else if(strfind(text, "WWW.") >= 0) { SendClientMessage(playerid, 0xE10000AA, "To byl blbej pokus o reklamu :)"); new string[256]; format(string, sizeof(string), "REKLAMA"); BanEx(playerid, string); return 0; } return 1; } a delej si s tim co chces...melo by to bejt spravne diki toto som hladal Link to comment Share on other sites More sharing options...
Guest energy610 Odesláno: 26. Říjen, 2009 Share Odesláno: 26. Říjen, 2009 public OnPlayerText(playerid, text[]) { if(strfind(text, "www.") >= 0) { SendClientMessage(playerid, 0xE10000AA, "To byl blbej pokus o reklamu :)"); new string[256]; format(string, sizeof(string), "REKLAMA"); BanEx(playerid, string); return 0; } else if(strfind(text, "WWW.") >= 0) { SendClientMessage(playerid, 0xE10000AA, "To byl blbej pokus o reklamu :)"); new string[256]; format(string, sizeof(string), "REKLAMA"); BanEx(playerid, string); return 0; } return 1; } a delej si s tim co chces...melo by to bejt spravne diki toto som hladal I když dneska se moc www nepoužívá Link to comment Share on other sites More sharing options...
Guest Hammy Odesláno: 12. Listopad, 2009 Share Odesláno: 12. Listopad, 2009 :thumbup: teď budeme čekat kdy to někdo překopčí a bude to na nějakém kktbxu, nebo samp foru vydávat za své :D no ale good man :thumbup: :thumbup: Link to comment Share on other sites More sharing options...
Om3n 78 Odesláno: 12. Listopad, 2009 Author Share Odesláno: 12. Listopad, 2009 i kdyby tak co?:D:D me to je jedno...ja si na to zadny autorsky prava nedelam a kdyby mi to jedno nebylo tak tady nezverejnim pwn...ale aspon se mozna z toho scriptu nekdo necemu priuci Link to comment Share on other sites More sharing options...
Guest Hammy Odesláno: 12. Listopad, 2009 Share Odesláno: 12. Listopad, 2009 no přiučí určitě.. tak mě je taky jedno, jestli někdo moje FS kopčí taky dávám PWN Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 12. Listopad, 2009 Share Odesláno: 12. Listopad, 2009 udelas mi to naty bany pls neumym vubec pawno dekuj i moc Tohle je anti reklama ktera mu da automaticky ban Link to comment Share on other sites More sharing options...
Om3n 78 Odesláno: 12. Listopad, 2009 Author Share Odesláno: 12. Listopad, 2009 a co takhle stahnout si pawno...otevrit to co tady stahnes a zmackout F5 ? Link to comment Share on other sites More sharing options...
Jean 0 Odesláno: 12. Listopad, 2009 Share Odesláno: 12. Listopad, 2009 tak tenhle typ lamy se jen tak nevidi, zadna snaha a jen tri slova to umi "udelejte mi to" na to je spousta reakci ale jen jedna ktera neni vulgarni "Bez snahy ničeho nedosáhneš aneb stahni si pawno a uč se" Link to comment Share on other sites More sharing options...
Om3n 78 Odesláno: 12. Listopad, 2009 Author Share Odesláno: 12. Listopad, 2009 a co tam presne pises? Link to comment Share on other sites More sharing options...
Om3n 78 Odesláno: 12. Listopad, 2009 Author Share Odesláno: 12. Listopad, 2009 si delas srandu?! koukal si vubec do toho scriptu?! to je anti-reklama na IP adresy...nena www...pokud chces anti-reklamu na www tak si tam pridej to co je na 1 strance tohohle topicu Link to comment Share on other sites More sharing options...
Roox 1 Odesláno: 12. Listopad, 2009 Share Odesláno: 12. Listopad, 2009 Diky om3ne....Hodi se to fakt dik uz sem si to hodil do modu xD Link to comment Share on other sites More sharing options...
AvestX 5 Odesláno: 12. Listopad, 2009 Share Odesláno: 12. Listopad, 2009 Hlavně nezapomínej na CTRL + C & CTRL + V Link to comment Share on other sites More sharing options...
Om3n 78 Odesláno: 12. Listopad, 2009 Author Share Odesláno: 12. Listopad, 2009 lol...tedka sem se nad tim zamyslel a je tam chyba :D:D...pokud nekdo napise IP:PORT a v tom portu bude cislo 9 tak to neblokne a nezabanuje ...dystak si prepis tu 9 na 10 a nebo "<" na "<=" Link to comment Share on other sites More sharing options...
Guest Calebs Odesláno: 15. Listopad, 2009 Share Odesláno: 15. Listopad, 2009 Nevíte jak mám přidat k té antireklamě to že v chatu kdyby někdo napsal tak by se zobrazilo Nick (ID: 0): text zkoušel jsem to takto: new string[256]; format(string, sizeof(string), "(ID:%d) %s", playerid, text); SendPlayerMessageToAll(playerid, string); for(new ip1=1;ip1 < 9; ip1++) { for(new ip2=0;ip2 < 9; ip2++) { for(new ip3=0;ip3 < 9; ip3++) { for(new ip4=0;ip4 < 9; 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) { SendClientMessage(playerid, 0xE10000AA, "Banned. No advertising ."); SendClientMessage(playerid, 0xE10000AA, "For unban write to www.ZombiesEra.tk ."); new string[256]; format(string, sizeof(string), "advertising"); BanEx(playerid, string); return 0; } if(strfind(text, string3) >= 0) { SendClientMessage(playerid, 0xE10000AA, "Banned. No advertising ."); SendClientMessage(playerid, 0xE10000AA, "For unban write to www.ZombiesEra.tk ."); new string[256]; format(string, sizeof(string), "advertising"); BanEx(playerid, string); return 0; } if(strfind(text, string4) >= 0) { SendClientMessage(playerid, 0xE10000AA, "Banned. No advertising ."); SendClientMessage(playerid, 0xE10000AA, "For unban write to www.ZombiesEra.tk ."); new string[256]; format(string, sizeof(string), "advertising"); BanEx(playerid, string); return 0; } } } } } return 1; } ale toto nefunguje když se pak napíše v chatu tak to napíše Nick + id a hned podtím to samé akorád bez id, předem moc díky Link to comment Share on other sites More sharing options...
Om3n 78 Odesláno: 15. Listopad, 2009 Author Share Odesláno: 15. Listopad, 2009 udešlej to takhle...ale do modu si to vloz...jinak by to mohlo blbnout jako FS: 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) { SendClientMessage(playerid, 0xE10000AA, "Banned. No advertising ."); SendClientMessage(playerid, 0xE10000AA, "For unban write to www.ZombiesEra.tk ."); new string[256]; format(string, sizeof(string), "advertising"); BanEx(playerid, string); return 0; } if(strfind(text, string3) >= 0) { SendClientMessage(playerid, 0xE10000AA, "Banned. No advertising ."); SendClientMessage(playerid, 0xE10000AA, "For unban write to www.ZombiesEra.tk ."); new string[256]; format(string, sizeof(string), "advertising"); BanEx(playerid, string); return 0; } if(strfind(text, string4) >= 0) { SendClientMessage(playerid, 0xE10000AA, "Banned. No advertising ."); SendClientMessage(playerid, 0xE10000AA, "For unban write to www.ZombiesEra.tk ."); new string[256]; format(string, sizeof(string), "advertising"); BanEx(playerid, string); return 0; } } } } } new string[256]; format(string, sizeof(string), "(ID:%d) %s", playerid, text); SendPlayerMessageToAll(playerid, string); return 0; } tedka vlastne to nejdriv prohlidne text zpravy jestli to neni reklama...potom to posle zpravu do chatu za toho hrace i s jeho ID...a pak to ukonci funkci jelikoz tam je return 0;...tak to neodesle tu klasickou zpravu. Link to comment Share on other sites More sharing options...
Guest Calebs Odesláno: 15. Listopad, 2009 Share Odesláno: 15. Listopad, 2009 Díky moc Om3ne a pěkně jsi to vysvětlil Link to comment Share on other sites More sharing options...
癌癌癌 1 Odesláno: 15. Listopad, 2009 Share Odesláno: 15. Listopad, 2009 Díky moc omene funguje to i na 0.3? Link to comment Share on other sites More sharing options...
Guest Odesláno: 15. Listopad, 2009 Share Odesláno: 15. Listopad, 2009 Díky moc omene funguje to i na 0.3? Podle mě jo.. když ma Zombies era na verzi 0.3 xD Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 15. Listopad, 2009 Share Odesláno: 15. Listopad, 2009 Tam myslim ze anti reklamu nemá, já se bál tak sem to nezkoušel PS: Má tam Anti-Weaponhack Link to comment Share on other sites More sharing options...
Guest Odesláno: 15. Listopad, 2009 Share Odesláno: 15. Listopad, 2009 Tam myslim ze anti reklamu nemá, já se bál tak sem to nezkoušel PS: Má tam Anti-Weaponhack Právě proto, že si to nezkoušel, tak jí tam podle mě má =D 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