我試過用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)
}
}
請問有什麼問題