Files
2026-03-30 10:39:52 +03:00

11 lines
439 B
Lua

include("shared.lua")
killicon.Add("mg_arrow_emp", "VGUI/entities/mg_crossbow", Color(255, 0, 0, 255))
hook.Add("HUDShouldDraw", "MW19_HUDShouldDraw_EMP", function(name)
if (IsValid(GetViewEntity())) then
if (CurTime() < GetViewEntity():GetNWFloat("MW19_EMPEffect", CurTime())) then
return name != "CHudAmmo" && name != "CHudBattery" && name != "CHudHealth" && name != "CHudSecondaryAmmo"
end
end
end)