you can use statsx for the first blood sound
or use this code:
Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "first blood"
#define VERSION "1.0"
#define AUTHOR "bugg3r"
new g_iFirstBlood_Enable, bool:g_bFirstBlood = false//every map change
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
g_iFirstBlood_Enable = register_cvar("fb_enabled", "1")
register_event("DeathMsg", "death_player", "a", "1>0")
}
public plugin_precache()
precache_sound("misc/firstblood2_ultimate")
public death_player()
{
new killer = read_data(1)
new victim = read_data(2)
if(get_pcvar_num(g_iFirstBlood_Enable) && killer != victim && !g_bFirstBlood)
{
g_bFirstBlood = true
client_cmd(0,"spk misc/firstblood2_ultimate")
}
}
__________________