public fw_elite_PriAttack(weapon)
{
if (!pev_valid(weapon))
return HAM_IGNORED;
static owner
owner = pev(weapon, pev_owner)
if (has_BlackWhite[owner])
{
if (cs_get_weapon_ammo(weapon) > 0)
{
user_shoot[owner] = true
}
if (!is_user_bot(owner))
{
emit_sound(owner, CHAN_AUTO, zombiehunter_weapons, 1.0, ATTN_NONE, 0, 150)
}
else
{
emit_sound(owner, CHAN_WEAPON, zombiehunter_weapons, 1.0, ATTN_NORM, 0, PITCH_NORM)
}
}
return HAM_IGNORED;
}
請問a78大大
我的條件是不是設定錯了
有一個新問題就是
按住會不斷播音效