PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define msc "misc/noob.wav"
#define PLUGIN "Name Change Detector"
#define VERSION "1.0"
#define AUTHOR "Akhil"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
}
public client_infochanged ( id )
{
if(get_user_flags( id ) == ADMIN_ALL)
return PLUGIN_HANDLED;
new name[32]
get_user_name (id, name, 31)
set_hudmessage(255, 127, 42, 0.5, -1.0, 0, 6.0, 7.0);
show_hudmessage(0, "%s has changed the name And he's a Big Noob", name, name); // what a stupid plugin : (
client_print(id,print_chat,"%s YOU WEAK PATHETIC FOOL!!!!!",name)
//read about hud's channels if you don't want to print @UP message to player :)
client_cmd(id,"spk %s", msc)
return PLUGIN_HANDLED;
}
public plugin_precache()
{
precache_sound( msc )
}
And don't bump topics (!)
__________________