feat(announcement): remove client menu hud announcement display

Delete the HUD announcement menu implementation that was displaying announcements on the client screen using the rndx drawing library. This feature is no longer needed or has been replaced with an alternative implementation.
This commit is contained in:
nocode committed 2026-07-20 12:46:41 +02:00
1 parent 113d99c090
commit 55ad3924f2
1 file changed
-23
-23
View File
@@ -1,23 +0,0 @@
local rndx = include("lib/rndx.lua")
local logo = Material("nocode/announcement/logo.png")
hook.Add("HUDPaint", "BladeWin:Announcement", function()
local ply = LocalPlayer()
if not IsValid(ply) then return end
--[[
rndx.Draw(14, 788, 38, 343, 133, nil, rndx.SHAPE_FIGMA + rndx.BLUR)
rndx.Draw(14, 788, 38, 343, 133, Color(0,0,0, 200), rndx.SHAPE_FIGMA)
rndx.DrawOutlined(14, 788, 38, 343, 133, Color(255, 255, 255), 3, rndx.SHAPE_FIGMA)
rndx.DrawMaterial(0, 910, 20, 100, 100, color_white, logo)
draw.SimpleText("Annonce", "bladw_text", 960, 113, color_white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
draw.SimpleText("Lorem ipsum dolor sit amet, consectetur.", "bladw_text_Medium", 960, 140, color_white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
]]
rndx.Draw(14, 788, 38, 343, 133, nil, rndx.SHAPE_FIGMA + rndx.BLUR)
rndx.Draw(14, 788, 38, 343, 133, Color(0,0,0, 200), rndx.SHAPE_FIGMA)
rndx.DrawOutlined(14, 788, 38, 343, 133, Color(255, 255, 255), 3, rndx.SHAPE_FIGMA)
rndx.DrawMaterial(0, 788, 20, 100, 100, color_white, logo)
draw.SimpleText("Annonce", "bladw_text", 960, 113, color_white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
draw.SimpleText("Lorem ipsum dolor sit amet, consectetur.", "bladw_text_Medium", 960, 140, color_white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
rndx.Draw(14, 900, 40, 200, 15, color_white, rndx.SHAPE_FIGMA)
end)