+#include "notify.qh"
// Notification area (#4)
void HUD_Notify_Push(string icon, string attacker, string victim)
return;
HUD_Panel_UpdateCvars();
+ if (autocvar_hud_panel_notify_dynamichud)
+ HUD_Scale_Enable();
+ else
+ HUD_Scale_Disable();
HUD_Panel_DrawBg(1);
if (!autocvar__hud_configure)
{
attacker = sprintf(_("Player %d"), count + 1);
victim = sprintf(_("Player %d"), count + 2);
- icon = get_weaponinfo(min(WEP_FIRST + count * 2, WEP_LAST)).model2;
+ icon = Weapons_from(min(WEP_FIRST + count * 2, WEP_LAST)).model2;
alpha = bound(0, 1.2 - count / entry_count, 1);
}
else