我试过用if (zp_get_zombie_class_id("始祖丧尸"))
但是不行
以下是我的插件
if (zp_get_zombie_class_id("狂奔丧尸"))
{
if (get_user_health(id) == max_health)
{
engfunc(EngFunc_EmitSound, id, CHAN_VOICE, zombie_heal_female, 1.0, ATTN_NORM, 0, PITCH_NORM)
}
}
else if (zp_get_zombie_class_id("铁血丧尸"))
{
if (get_user_health(id) == max_health)
{
engfunc(EngFunc_EmitSound, id, CHAN_VOICE, zombie_heal_heavy, 1.0, ATTN_NORM, 0, PITCH_NORM)
}
}
else
{
if (get_user_health(id) == max_health)
{
engfunc(EngFunc_EmitSound, id, CHAN_VOICE, zombie_heal, 1.0, ATTN_NORM, 0, PITCH_NORM)
}
}
请问有什么问题