hook.Add("Think", "EKypaad", function()
if !convar("epads"):GetBool() then return end
for k,v in pairs(ents.FindByClass("keypad")) do
if v:GetStatus() == 1 and (isfunction(v.GetDisplayText) and !v:GetDisplayText():find("*") or isfunction(v.GetText) and !v:GetText():find("*") ) and !v.kozel then
v.kozel = isfunction(v.GetDisplayText) and v:GetDisplayText() or isfunction(v.GetText) and v:GetText()
end
end
end)
hook.Add("HUDPaint", "Eky1245paads", function()
if !convar("epads"):GetBool() then return end
for k, v in pairs(ents.FindInSphere(LocalPlayer():EyePos(), 4096)) do
if v.kozel then
local pos = v:GetPos():ToScreen()
draw.SimpleText(v.kozel, "DermaDefault", pos.x, pos.y, Color(255, 255, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
end
end
end)