Code:
#include <amxmodx>
new phrase[1][] = { "/hello" }
public say_event(id)
{
new sid[10]
num_to_str(id,sid,10)
new said[192]
read_args(said,191)
for(new i = 0 ;i < 1; i += 1)
if(containi(said,phrase[i]) != -1) {
set_hudmessage(225, 25, 25, -1.0, 0.32, 0, 2.0, 9.0, 0.8, 0.8, 2)
show_hudmessage(0,"Hello and welcome to this server")
set_task(1.0,"client",0,sid,10)
break
}
}
public client(sid[])
{
new id = str_to_num(sid)
engclient_cmd(id,"say", "Hello and welcome to server")
client_cmd(0, "spk ^"you are a ass hole^"")
}
public plugin_init()
{
register_plugin("Say Hello","0.4","SneakerBoots")
register_clcmd("say","say_event")
return PLUGIN_CONTINUE
}
When you type /hello nothing happens

Whats wrong with it?
__________________