下面这个插件 明明有一段是
public he_kills(){
new killer_id = read_data(1)
new victim_id = read_data(2)
new killer_name[32], victim_name[33]
get_user_name(killer_id,killer_name,33)
get_user_name(victim_id,victim_name,33)
new hekmode[8]
get_cvar_string("hekill_mode",hekmode,8)
new hekmode_bit = read_flags(hekmode)
if (hekmode_bit & 1) {
if (victim_id != killer_id)
{
if (hekmode_bit & 4) {
client_cmd(0,"spk misc/grenade")
}
set_hudmessage(Orange[0], Orange[1], Orange[2], -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 1)
show_hudmessage(0,he_messages[ random_num(0,HE_MESSAGES-1)],killer_name,victim_name)
}
}
if (hekmode_bit & 2) {
if (victim_id == killer_id)
{
if (hekmode_bit & 4) {
client_cmd(0,"spk misc/grenade")
}
set_hudmessage(Orange[0], Orange[1], Orange[2], -1.0, 0.30, 0, 6.0, 6.0, 0.5, 0.15, 1)
show_hudmessage(0,hes_messages[ random_num(0,HE_SMESSAGES-1) ],victim_name)
}
}
}
我的misc/grenade.wav也在 为什么用O4炸死人后还是没音效呢
帮忙看下 谢谢 |