Загрузка данных


concommand.Add("findhtml", function()
    print("===== HTML-панели =====")
    for _, pnl in ipairs(vgui.GetAll()) do
        if IsValid(pnl) and pnl:GetClassName() == "HtmlPanel" then
            print("Panel:", pnl)
            print("  Visible:", pnl:IsVisible())
            print("  Pos:", pnl:GetPos(), "Size:", pnl:GetSize())
            print("  Parent:", pnl:GetParent())
            print("  Parent class:", IsValid(pnl:GetParent()) and pnl:GetParent():GetClassName() or "nil")
            print("---")
        end
    end
    print("=======================")
end)