#include <amxmodx>
#include <amxmisc>
new g_Replacements[][100]={
"jakis tekst",
"jakis tekst",
"jakis tekst",
"jakis tekst",
"jakis tekst",
"jakis tekst",
"jakis tekst"
}
public plugin_init() {
register_plugin("Anty IP","0.1","grankee")
register_clcmd("say","check")
register_clcmd("say_team", "check")
// Add your code here...
}
public check(id)
{
new said[192]
read_argv(1,said,191)
if(contain(said,":27")!=-1)
{
client_print(0,print_center,"Nie reklamuj serwerow patalachu")
client_cmd(id,"say ^"%s^"",g_Replacements[random_num(0,sizeof(g_Replacements)-1)])
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}
wylapuje i zamienia gry napisze np.:
dsada:27015
a nie wylapujesz jak napisze
194.3.102.237:27015
zastrzegam, że ip jest fake, uzyte tu dla przykladu, ktory akurat sprawdzilem
Użytkownik grankee edytował ten post 21.01.2011 23:00