• Я зарабатываю 100 000 RUB / месяц на этом сайте!

    А знаешь как? Я всего-лишь публикую (создаю темы), а админ мне платит. Трачу деньги на мороженое, робуксы и сервера в Minecraft. А ещё на паль из Китая. 

    Хочешь так же? Пиши и узнавай условия: https://t.me/alex_redact
    Реклама: https://t.me/yougame_official

Гайд Нормальные подсказки (на нурик похожи)

  • Автор темы Автор темы ksenko
  • Дата начала Дата начала
Начинающий
Начинающий
Статус
Оффлайн
Регистрация
8 Июл 2024
Сообщения
97
Реакции
2
крч ищем класс Panel вашей шедевро Гуишки и в метод render вставляйте этот код


Код:
Expand Collapse Copy
        for (ModuleComponent modComponent : this.modules) {
            if (!modComponent.isMouseOver(mouseX, mouseY)) continue;

            String description = modComponent.getFunction().getDescription();
            if (description == null || description.isEmpty()) break;

            float textWidth = Fonts.sf_regular.getWidth(description, 13.0f);
            float textHeight = Fonts.sf_regular.getHeight(13.0f);

            // Настройки позиции
            float guiWidth = 825;
            float xOffset = 40.0f;   
            float xdesc = (guiWidth - textWidth) / 2.0f + xOffset;
            float ydesc = 40.0f;     

            Scissor.pop();

            
            DisplayUtils.drawRoundedRect(
                    xdesc - 5.0f,
                    ydesc - 70,
                    textWidth + 10.0f,
                    textHeight + 5.0f,
                    new Vector4f(4.0f, 4.0f, 4.0f, 4.0f),
                    ColorUtils.rgba(20, 20, 20, 180)
            );

            
            Fonts.sf_regular.drawText(
                    stack,
                    description,
                    xdesc,
                    ydesc - 66,
                    ColorUtils.rgb(255, 255, 255),
                    13.0f
            );

            Scissor.push();
            break;
        }

Тут вроде как все удобно +- и понятно

Пожалуйста, авторизуйтесь для просмотра ссылки.
 
ну скок ждать
 
крч ищем класс Panel вашей шедевро Гуишки и в метод render вставляйте этот код


Код:
Expand Collapse Copy
        for (ModuleComponent modComponent : this.modules) {
            if (!modComponent.isMouseOver(mouseX, mouseY)) continue;

            String description = modComponent.getFunction().getDescription();
            if (description == null || description.isEmpty()) break;

            float textWidth = Fonts.sf_regular.getWidth(description, 13.0f);
            float textHeight = Fonts.sf_regular.getHeight(13.0f);

            // Настройки позиции
            float guiWidth = 825;
            float xOffset = 40.0f;
            float xdesc = (guiWidth - textWidth) / 2.0f + xOffset;
            float ydesc = 40.0f;  

            Scissor.pop();

         
            DisplayUtils.drawRoundedRect(
                    xdesc - 5.0f,
                    ydesc - 70,
                    textWidth + 10.0f,
                    textHeight + 5.0f,
                    new Vector4f(4.0f, 4.0f, 4.0f, 4.0f),
                    ColorUtils.rgba(20, 20, 20, 180)
            );

         
            Fonts.sf_regular.drawText(
                    stack,
                    description,
                    xdesc,
                    ydesc - 66,
                    ColorUtils.rgb(255, 255, 255),
                    13.0f
            );

            Scissor.push();
            break;
        }

Тут вроде как все удобно +- и понятно

Пожалуйста, авторизуйтесь для просмотра ссылки.
:roflanEbalo:
нажми
 
вы че совсем деграднули? 3 темы создали чтобы примитивные квадратики с текстом отрисовать
 
крч ищем класс Panel вашей шедевро Гуишки и в метод render вставляйте этот код


Код:
Expand Collapse Copy
        for (ModuleComponent modComponent : this.modules) {
            if (!modComponent.isMouseOver(mouseX, mouseY)) continue;

            String description = modComponent.getFunction().getDescription();
            if (description == null || description.isEmpty()) break;

            float textWidth = Fonts.sf_regular.getWidth(description, 13.0f);
            float textHeight = Fonts.sf_regular.getHeight(13.0f);

            // Настройки позиции
            float guiWidth = 825;
            float xOffset = 40.0f;   
            float xdesc = (guiWidth - textWidth) / 2.0f + xOffset;
            float ydesc = 40.0f;     

            Scissor.pop();

            
            DisplayUtils.drawRoundedRect(
                    xdesc - 5.0f,
                    ydesc - 70,
                    textWidth + 10.0f,
                    textHeight + 5.0f,
                    new Vector4f(4.0f, 4.0f, 4.0f, 4.0f),
                    ColorUtils.rgba(20, 20, 20, 180)
            );

            
            Fonts.sf_regular.drawText(
                    stack,
                    description,
                    xdesc,
                    ydesc - 66,
                    ColorUtils.rgb(255, 255, 255),
                    13.0f
            );

            Scissor.push();
            break;
        }

Тут вроде как все удобно +- и понятно

Пожалуйста, авторизуйтесь для просмотра ссылки.
это пиздец, мои глаза
 
крч ищем класс Panel вашей шедевро Гуишки и в метод render вставляйте этот код


Код:
Expand Collapse Copy
        for (ModuleComponent modComponent : this.modules) {
            if (!modComponent.isMouseOver(mouseX, mouseY)) continue;

            String description = modComponent.getFunction().getDescription();
            if (description == null || description.isEmpty()) break;

            float textWidth = Fonts.sf_regular.getWidth(description, 13.0f);
            float textHeight = Fonts.sf_regular.getHeight(13.0f);

            // Настройки позиции
            float guiWidth = 825;
            float xOffset = 40.0f;  
            float xdesc = (guiWidth - textWidth) / 2.0f + xOffset;
            float ydesc = 40.0f;    

            Scissor.pop();

           
            DisplayUtils.drawRoundedRect(
                    xdesc - 5.0f,
                    ydesc - 70,
                    textWidth + 10.0f,
                    textHeight + 5.0f,
                    new Vector4f(4.0f, 4.0f, 4.0f, 4.0f),
                    ColorUtils.rgba(20, 20, 20, 180)
            );

           
            Fonts.sf_regular.drawText(
                    stack,
                    description,
                    xdesc,
                    ydesc - 66,
                    ColorUtils.rgb(255, 255, 255),
                    13.0f
            );

            Scissor.push();
            break;
        }

Тут вроде как все удобно +- и понятно

Пожалуйста, авторизуйтесь для просмотра ссылки.
1745396644980.png

Спасибо!! 10/10
 
крч ищем класс Panel вашей шедевро Гуишки и в метод render вставляйте этот код


Код:
Expand Collapse Copy
        for (ModuleComponent modComponent : this.modules) {
            if (!modComponent.isMouseOver(mouseX, mouseY)) continue;

            String description = modComponent.getFunction().getDescription();
            if (description == null || description.isEmpty()) break;

            float textWidth = Fonts.sf_regular.getWidth(description, 13.0f);
            float textHeight = Fonts.sf_regular.getHeight(13.0f);

            // Настройки позиции
            float guiWidth = 825;
            float xOffset = 40.0f;  
            float xdesc = (guiWidth - textWidth) / 2.0f + xOffset;
            float ydesc = 40.0f;    

            Scissor.pop();

           
            DisplayUtils.drawRoundedRect(
                    xdesc - 5.0f,
                    ydesc - 70,
                    textWidth + 10.0f,
                    textHeight + 5.0f,
                    new Vector4f(4.0f, 4.0f, 4.0f, 4.0f),
                    ColorUtils.rgba(20, 20, 20, 180)
            );

           
            Fonts.sf_regular.drawText(
                    stack,
                    description,
                    xdesc,
                    ydesc - 66,
                    ColorUtils.rgb(255, 255, 255),
                    13.0f
            );

            Scissor.push();
            break;
        }

Тут вроде как все удобно +- и понятно

Пожалуйста, авторизуйтесь для просмотра ссылки.
/del хуета + есть уже на форуме
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
/del
Перезалив
 
крч ищем класс Panel вашей шедевро Гуишки и в метод render вставляйте этот код


Код:
Expand Collapse Copy
        for (ModuleComponent modComponent : this.modules) {
            if (!modComponent.isMouseOver(mouseX, mouseY)) continue;

            String description = modComponent.getFunction().getDescription();
            if (description == null || description.isEmpty()) break;

            float textWidth = Fonts.sf_regular.getWidth(description, 13.0f);
            float textHeight = Fonts.sf_regular.getHeight(13.0f);

            // Настройки позиции
            float guiWidth = 825;
            float xOffset = 40.0f;  
            float xdesc = (guiWidth - textWidth) / 2.0f + xOffset;
            float ydesc = 40.0f;    

            Scissor.pop();

           
            DisplayUtils.drawRoundedRect(
                    xdesc - 5.0f,
                    ydesc - 70,
                    textWidth + 10.0f,
                    textHeight + 5.0f,
                    new Vector4f(4.0f, 4.0f, 4.0f, 4.0f),
                    ColorUtils.rgba(20, 20, 20, 180)
            );

           
            Fonts.sf_regular.drawText(
                    stack,
                    description,
                    xdesc,
                    ydesc - 66,
                    ColorUtils.rgb(255, 255, 255),
                    13.0f
            );

            Scissor.push();
            break;
        }

Тут вроде как все удобно +- и понятно

Пожалуйста, авторизуйтесь для просмотра ссылки.
/del хуэта
 
Бля сделайте интелку платной
 
нахуй оно сверху вообще
и нахуй код с гпт
и блять почему оно кривое
/del
 
Назад
Сверху Снизу