Should work.
Code:
#include <amxmodx>
new const gs_Sound[] = "sound/mysound.mp3";
public plugin_init ()
{
register_event ( "DeathMsg", "Event_DeathMsg", "a" );
}
public Event_DeathMsg ()
{
client_cmd ( read_data( 2 ), "mp3 play %s", gs_Sound );
}
If the sound is a .wav change "mp3 play" by "play" or "spk", and remove "sound/" in 'gs_Sound'.
__________________