Hi there. As you can see, I'm new around here. Just started to learn a little about AMXX and I want to make a plugin for a friend of mine. Here we go.
What I want is this: play a sound when player with the name "x" dies...it sounds fairly easy, but I can't get it working

Any help would be appreciated. Here's what I've done so far:
Code:
#include <amxmodx>
new PLUGIN[]="kenny's death"
new AUTHOR[]="xenon"
new VERSION[]="1.0"
public plugin_init() {
register_plugin(PLUGIN,AUTHOR,VERSION)
register_event("DeathMsg", "k_die", "a")
}
public k_die() {
new victim = read_data(2)
new player[] = "kenny"
if(get_user_name(victim,player,5)) {
client_cmd(0,"stopsound")
client_cmd(0,"spk misc/kenny1")
}
return PLUGIN_HANDLED
}
public plugin_precache()
{
precache_sound("misc/kenny1.wav")
return PLUGIN_CONTINUE
}
I did something. But, when ANY player dies, I hear that sound. It's the opposite of what I want. I need that all players hear the sound when I die.