JS-скрипт Useless netgraph on otcv3

govno?

  • da

    Голосов: 11 50.0%
  • da

    Голосов: 11 50.0%

  • Всего проголосовало
    22
HVHLEGENDARY
Пользователь
Статус
Оффлайн
Регистрация
9 Авг 2019
Сообщения
315
Реакции[?]
115
Поинты[?]
2K
Хз зачем, мб кому-то и надо для визуальности :LUL:
скинул друг я чуть потрогал скриптик, сделал +- норм треугольник ну и текст немного
да скрипт юзлес, вт не дает логов вообще касомак :CoolStoryBob: код лучше не чек :cry:
1615406535050.png1615406572917.png
 

Вложения

Забаненный
Статус
Оффлайн
Регистрация
17 Янв 2021
Сообщения
183
Реакции[?]
94
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Хз зачем, мб кому-то и надо для визуальности :LUL:
скинул друг я чуть потрогал скриптик, сделал +- норм треугольник ну и текст немного
да скрипт юзлес, вт не дает логов вообще касомак :CoolStoryBob: код лучше не чек :cry:
Посмотреть вложение 136722Посмотреть вложение 136723
Зачем ты скрин сайз делишь на 3, и вычитаешь -300?


JavaScript:
        {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1, UY + 3, 0, "!", ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3], font3);
        } else {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1 * 1.0031, UY + 3, 0, "!", signColor, font3);
        }
 
Забаненный
Статус
Оффлайн
Регистрация
17 Янв 2021
Сообщения
183
Реакции[?]
94
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
щас в дс добавлюсь, там скинешь, оке?
JavaScript:
UI.AddDropdown("Style", ["one", "two"]);

function isDoubleTapActive() {
    var isCheckboxActive = UI.GetValue("Rage", "Exploits", "Doubletap");
    var isKeyActive = UI.IsHotkeyActive("Rage", "Exploits", "Doubletap");

    return isCheckboxActive && isKeyActive;
}

function isHActive() {
    var isCheckboxActive = UI.GetValue("Rage", "Exploits", "Hide shots");
    var isKeyActive = UI.IsHotkeyActive("Rage", "Exploits", "Hide shots");

    return isCheckboxActive && isKeyActive;
}


/*
Render.Circle( x1 - 15, y4 + 42, 13, [ 0, 0, 0, 255 ] );   
Render.Circle( x1 - 16, y4 + 43, 13, [ 255, 255, 255, 255 ] );
*/

function GetVelocity() {
    var velocity = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_vecVelocity[0]");
    return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
}

function draw() {
    var stl = UI.GetValue("Script items", "Style")
    if (stl == 0) {
        var ping = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString()
        var today = new Date();
        var hours1 = today.getHours();
        var minutes1 = today.getMinutes();
        var seconds1 = today.getSeconds();
        var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
        var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
        var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds();
        var screen_size = Render.GetScreenSize()
        var font2 = Render.AddFont("Verdana", 7, 700);
        var font3 = Render.AddFont("Verdana", 14, 500);
        var local = Entity.GetLocalPlayer();
        var fps = Math.floor(1 / Global.Frametime());
        var speed = (GetVelocity().toFixed(0)).toString();
        if(!World.GetServerString()) {
            ping = 0;
            speed = 0;
        }
        g_Local_weapon = Entity.GetWeapon(local);
        weapon_name = Entity.GetName(g_Local_weapon);
        g_Local_classname = Entity.GetClassName(g_Local_weapon);
        
        Render.StringCustom(screen_size[0] / 2 - 16, screen_size[1] - 92, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 16, screen_size[1] - 94, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 17, screen_size[1] - 93, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 15, screen_size[1] - 93, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 16, screen_size[1] - 93, 0, "!", [255, 255, 255, 255], font3);
        //top
        Render.Line(screen_size[0] / 2 - 17, screen_size[1] - 96, screen_size[0] / 2 - 11, screen_size[1] - 96, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 17, screen_size[1] - 95, screen_size[0] / 2 - 11, screen_size[1] - 95, [255, 255, 255, 195]);

        Render.Line(screen_size[0] / 2 - 18, screen_size[1] - 95, screen_size[0] / 2 - 10, screen_size[1] - 95, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 18, screen_size[1] - 94, screen_size[0] / 2 - 10, screen_size[1] - 94, [255, 255, 255, 195]);
        //бока
        Render.Line(screen_size[0] / 2 - 19, screen_size[1] - 93, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 19, screen_size[1] - 93, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 9, screen_size[1] - 93, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 9, screen_size[1] - 93, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        //низ
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 72, screen_size[0] / 2 - 5, screen_size[1] - 72, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 71, screen_size[0] / 2 - 5, screen_size[1] - 71, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 70, screen_size[0] / 2 - 5, screen_size[1] - 70, [255, 255, 255, 195]);
        //низ право
        Render.Line(screen_size[0] / 2 - 5, screen_size[1] - 71, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 5, screen_size[1] - 71, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        //низ лев
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 71, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 165]);
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 71, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 195]);

        
        //text   
        Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 80, 0, "packet choke", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 81, 0, "packet choke", [255, 255, 255, 255], font2);

        Render.StringCustom(screen_size[0] / 2 + 4, screen_size[1] - 80, 0, "choke: 0%", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 + 5, screen_size[1] - 81, 0, "choke: 0%", [255, 255, 255, 255], font2);
        Render.StringCustom(screen_size[0] / 2 + 4, screen_size[1] - 66, 0, "loss: 0% (+- 0.5)", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 + 5, screen_size[1] - 67, 0, "loss: 0% (+- 0.5)", [255, 255, 255, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 51, 0, "velocity: " + speed + " u/s " + " ticks: " + Globals.Tickrate().toString() + "  time: " + hours + minutes + seconds, [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 52, 0, "velocity: " + speed + " u/s " + " ticks: " + Globals.Tickrate().toString() + "  time: " + hours + minutes + seconds, [255, 255, 255, 255], font2);
        if (ping < 99){
            Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 66, 0, "latency: " + (ping * 1), [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 67, 0, "latency: " + (ping * 1), [255, 255, 255, 255], font2);
        } else {
            Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 66, 0, " latency: " + (ping * 1), [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 67, 0, " latency: " + (ping * 1), [255, 255, 255, 255], font2);
        }
        Render.StringCustom(screen_size[0] / 2 - 48, screen_size[1] - 66, 0, "  fps: " + fps, [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 47, screen_size[1] - 67, 0, "  fps: " + fps, [255, 255, 255, 255], font2);
        
        //LG
        Render.StringCustom(screen_size[0] / 2 - 48, screen_size[1] - 21, 0, "lagcomp: ", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 47, screen_size[1] - 22, 0, "lagcomp: ", [255, 255, 255, 255], font2);
        if (isHActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", [42, 250, 87, 255], font2);
        }
        if (isDoubleTapActive() == 0 && isHActive() == 0) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "unsafe", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "unsafe", [250, 42, 42, 255], font2);
        }
        if (isDoubleTapActive() == 1 || isHActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", [42, 250, 87, 255], font2);
        }
        if (isDoubleTapActive() == 1 || isHActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", [42, 250, 87, 255], font2);
        }
    }
    if (stl == 1) {
        var ping = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString()
        var ping2 = Math.floor(Local.Latency() * 1000 / 19.5);
        var today = new Date();
        var hours1 = today.getHours();
        var minutes1 = today.getMinutes();
        var seconds1 = today.getSeconds();
        var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
        var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
        var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds();
        var screen_size = Render.GetScreenSize()
        var font2 = Render.AddFont("Small Fonts", 7, 0);
        var local = Entity.GetLocalPlayer();
        var fps = Math.floor(1 / Global.Frametime());
        g_Local_weapon = Entity.GetWeapon(local);
        weapon_name = Entity.GetName(g_Local_weapon);
        g_Local_classname = Entity.GetClassName(g_Local_weapon);

        var alpha_3 = Math.sin(Globals.Curtime() * 4) * 55 + 200;
        var trWidth = 17;
        var trHeight = 18;
        var LX = screen_size[0] / 2 - trWidth / 1 + 7;
        var RX = screen_size[0] / 2 + trWidth / 1 - 8;
        var UY = screen_size[1] - 103 - trHeight;
        var DY = screen_size[1] - 103;
        var font3 = Render.AddFont("Verdana", 10, 0);
        var font4 = Render.AddFont("Verdana", 7, 0);

        var signColor = [255, 207, 48, 255];
        var shadowColor = [194, 159, 47, 255];
        var green = [36, 240, 80, 255];
        var red = [250, 42, 42, 255];
        var speedd = (GetVelocity().toFixed(0)).toString()
        if(!World.GetServerString()) {
            ping = 0;
            speedd = 0;
        }
        if (ping > 69)
        
        {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1 * 1.0031, UY + 3, 0, "!", ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3], font3);
        } else {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1 * 1.0031, UY + 3, 0, "!", signColor, font3);
        }

        if (ping > 69) {
            //низ
            Render.Line(LX, DY, RX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
            //бок левый
            Render.Line(screen_size[0] / 2, UY, LX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
            //бок правый
            Render.Line(screen_size[0] / 2, UY, RX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
        } else {
            //низ
            Render.Line(LX, DY, RX, DY, signColor);
            //бок левый
            Render.Line(screen_size[0] / 2, UY, LX, DY, signColor);
            Render.Line(screen_size[0] / 2, UY - -0, LX - -0, DY - 1, shadowColor);
            //бок правый
            Render.Line(screen_size[0] / 2, UY, RX, DY, signColor);
            Render.Line(screen_size[0] / 2 + -0, UY - 1, RX + 0, DY - 1, shadowColor);
        }

        //текст графа
        var lp = Entity.GetLocalPlayer();
        var velocity = Math.round(GetVelocity(lp));

        {
            if (ping < 69) {
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 112, 0, "clock syncing", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 113, 0, "clock syncing", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 18, screen_size[1] - 112, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 17, screen_size[1] - 113, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 92, 0, "loss:(+-" + ping2 / 5 + ")  ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 93, 0, "loss:(+-" + ping2 / 5 + ")  ", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 18, screen_size[1] - 92, 0, "ping: " + "          fps:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 19, screen_size[1] - 93, 0, "ping: " + "          fps:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 30, screen_size[1] - 92, 0, "    " + fps, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 31, screen_size[1] - 93, 0, "    " + fps, fps < 60 ? [red[0], red[1], red[2], alpha_3] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 71, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + speedd + " u/s ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 72, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + speedd + " u/s ", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 0, screen_size[1] - 92, 0, " " + ping, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 1, screen_size[1] - 93, 0, " " + ping, ping > 60 ? [255, 125, 95, 255] : [255, 255, 255, 255], font2);
            } else {
                Render.StringCustom(screen_size[0] / 2 - 80, screen_size[1] - 112, 0, "lost connection ", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 113, 0, "lost connection ", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 18, screen_size[1] - 112, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 17, screen_size[1] - 113, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 56, screen_size[1] - 92, 0, "(+-" + ping2 / 4 + ")  ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 80, screen_size[1] - 92, 0, "loss:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 93, 0, "loss:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 61, screen_size[1] - 93, 0, "  (+-" + ping2 / 4 + ")  ", [255, 82, 62, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 25, screen_size[1] - 92, 0, "ping: " + "          fps:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 25, screen_size[1] - 93, 0, "ping: " + "          fps:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 27, screen_size[1] - 92, 0, "    " + fps, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 26, screen_size[1] - 93, 0, "    " + fps, fps < 60 ? [red[0], red[1], red[2], alpha_3] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + -6, screen_size[1] - 92, 0, " " + ping, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + -7, screen_size[1] - 93, 0, " " + ping, ping > 60 ? [255, 125, 95, 255] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 71, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + (GetVelocity().toFixed(0)).toString() + " u/s ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 78, screen_size[1] - 72, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + (GetVelocity().toFixed(0)).toString() + " u/s ", [255, 255, 255, 255], font2);
            }
        }
        if (fps < 55) {
            Render.StringCustom(screen_size[0] / 2 - 72, screen_size[1] - 46, 0, "WARNING! [performance trouble]", [255, 0, 0, alpha_3], font4);
        }

        Render.StringCustom(screen_size[0] / 2 - 40, screen_size[1] - 21, 0, "lagcomp: ", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 39, screen_size[1] - 22, 0, "lagcomp: ", [255, 255, 255, 255], font2);
        if (isHActive() == 0 && velocity > 270) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", green, font2);
        } else {
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "unsafe", red, font2);
        }
        if (isDoubleTapActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken [shifting]", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken [shifting]", green, font2);
        }
    }
}



Cheat.RegisterCallback("Draw", "draw");
 
я беру карты и делаю с ними фокусы
Забаненный
Статус
Оффлайн
Регистрация
29 Июл 2020
Сообщения
167
Реакции[?]
17
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
опаопа ща буду как кизару
 
♡。✧|3ㄴ¥∆ㅜ✧。* °*: — Дал Дал Ушёл +| nightcore
Забаненный
Статус
Оффлайн
Регистрация
30 Май 2020
Сообщения
374
Реакции[?]
121
Поинты[?]
3K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
фиксаните на в4 пж
 
Начинающий
Статус
Оффлайн
Регистрация
27 Ноя 2020
Сообщения
112
Реакции[?]
8
Поинты[?]
0
JavaScript:
UI.AddDropdown("Style", ["one", "two"]);

function isDoubleTapActive() {
    var isCheckboxActive = UI.GetValue("Rage", "Exploits", "Doubletap");
    var isKeyActive = UI.IsHotkeyActive("Rage", "Exploits", "Doubletap");

    return isCheckboxActive && isKeyActive;
}

function isHActive() {
    var isCheckboxActive = UI.GetValue("Rage", "Exploits", "Hide shots");
    var isKeyActive = UI.IsHotkeyActive("Rage", "Exploits", "Hide shots");

    return isCheckboxActive && isKeyActive;
}


/*
Render.Circle( x1 - 15, y4 + 42, 13, [ 0, 0, 0, 255 ] );  
Render.Circle( x1 - 16, y4 + 43, 13, [ 255, 255, 255, 255 ] );
*/

function GetVelocity() {
    var velocity = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_vecVelocity[0]");
    return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
}

function draw() {
    var stl = UI.GetValue("Script items", "Style")
    if (stl == 0) {
        var ping = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString()
        var today = new Date();
        var hours1 = today.getHours();
        var minutes1 = today.getMinutes();
        var seconds1 = today.getSeconds();
        var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
        var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
        var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds();
        var screen_size = Render.GetScreenSize()
        var font2 = Render.AddFont("Verdana", 7, 700);
        var font3 = Render.AddFont("Verdana", 14, 500);
        var local = Entity.GetLocalPlayer();
        var fps = Math.floor(1 / Global.Frametime());
        var speed = (GetVelocity().toFixed(0)).toString();
        if(!World.GetServerString()) {
            ping = 0;
            speed = 0;
        }
        g_Local_weapon = Entity.GetWeapon(local);
        weapon_name = Entity.GetName(g_Local_weapon);
        g_Local_classname = Entity.GetClassName(g_Local_weapon);
       
        Render.StringCustom(screen_size[0] / 2 - 16, screen_size[1] - 92, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 16, screen_size[1] - 94, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 17, screen_size[1] - 93, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 15, screen_size[1] - 93, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 16, screen_size[1] - 93, 0, "!", [255, 255, 255, 255], font3);
        //top
        Render.Line(screen_size[0] / 2 - 17, screen_size[1] - 96, screen_size[0] / 2 - 11, screen_size[1] - 96, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 17, screen_size[1] - 95, screen_size[0] / 2 - 11, screen_size[1] - 95, [255, 255, 255, 195]);

        Render.Line(screen_size[0] / 2 - 18, screen_size[1] - 95, screen_size[0] / 2 - 10, screen_size[1] - 95, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 18, screen_size[1] - 94, screen_size[0] / 2 - 10, screen_size[1] - 94, [255, 255, 255, 195]);
        //бока
        Render.Line(screen_size[0] / 2 - 19, screen_size[1] - 93, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 19, screen_size[1] - 93, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 9, screen_size[1] - 93, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 9, screen_size[1] - 93, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        //низ
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 72, screen_size[0] / 2 - 5, screen_size[1] - 72, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 71, screen_size[0] / 2 - 5, screen_size[1] - 71, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 70, screen_size[0] / 2 - 5, screen_size[1] - 70, [255, 255, 255, 195]);
        //низ право
        Render.Line(screen_size[0] / 2 - 5, screen_size[1] - 71, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 5, screen_size[1] - 71, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        //низ лев
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 71, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 165]);
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 71, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 195]);

       
        //text  
        Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 80, 0, "packet choke", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 81, 0, "packet choke", [255, 255, 255, 255], font2);

        Render.StringCustom(screen_size[0] / 2 + 4, screen_size[1] - 80, 0, "choke: 0%", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 + 5, screen_size[1] - 81, 0, "choke: 0%", [255, 255, 255, 255], font2);
        Render.StringCustom(screen_size[0] / 2 + 4, screen_size[1] - 66, 0, "loss: 0% (+- 0.5)", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 + 5, screen_size[1] - 67, 0, "loss: 0% (+- 0.5)", [255, 255, 255, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 51, 0, "velocity: " + speed + " u/s " + " ticks: " + Globals.Tickrate().toString() + "  time: " + hours + minutes + seconds, [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 52, 0, "velocity: " + speed + " u/s " + " ticks: " + Globals.Tickrate().toString() + "  time: " + hours + minutes + seconds, [255, 255, 255, 255], font2);
        if (ping < 99){
            Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 66, 0, "latency: " + (ping * 1), [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 67, 0, "latency: " + (ping * 1), [255, 255, 255, 255], font2);
        } else {
            Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 66, 0, " latency: " + (ping * 1), [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 67, 0, " latency: " + (ping * 1), [255, 255, 255, 255], font2);
        }
        Render.StringCustom(screen_size[0] / 2 - 48, screen_size[1] - 66, 0, "  fps: " + fps, [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 47, screen_size[1] - 67, 0, "  fps: " + fps, [255, 255, 255, 255], font2);
       
        //LG
        Render.StringCustom(screen_size[0] / 2 - 48, screen_size[1] - 21, 0, "lagcomp: ", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 47, screen_size[1] - 22, 0, "lagcomp: ", [255, 255, 255, 255], font2);
        if (isHActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", [42, 250, 87, 255], font2);
        }
        if (isDoubleTapActive() == 0 && isHActive() == 0) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "unsafe", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "unsafe", [250, 42, 42, 255], font2);
        }
        if (isDoubleTapActive() == 1 || isHActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", [42, 250, 87, 255], font2);
        }
        if (isDoubleTapActive() == 1 || isHActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", [42, 250, 87, 255], font2);
        }
    }
    if (stl == 1) {
        var ping = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString()
        var ping2 = Math.floor(Local.Latency() * 1000 / 19.5);
        var today = new Date();
        var hours1 = today.getHours();
        var minutes1 = today.getMinutes();
        var seconds1 = today.getSeconds();
        var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
        var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
        var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds();
        var screen_size = Render.GetScreenSize()
        var font2 = Render.AddFont("Small Fonts", 7, 0);
        var local = Entity.GetLocalPlayer();
        var fps = Math.floor(1 / Global.Frametime());
        g_Local_weapon = Entity.GetWeapon(local);
        weapon_name = Entity.GetName(g_Local_weapon);
        g_Local_classname = Entity.GetClassName(g_Local_weapon);

        var alpha_3 = Math.sin(Globals.Curtime() * 4) * 55 + 200;
        var trWidth = 17;
        var trHeight = 18;
        var LX = screen_size[0] / 2 - trWidth / 1 + 7;
        var RX = screen_size[0] / 2 + trWidth / 1 - 8;
        var UY = screen_size[1] - 103 - trHeight;
        var DY = screen_size[1] - 103;
        var font3 = Render.AddFont("Verdana", 10, 0);
        var font4 = Render.AddFont("Verdana", 7, 0);

        var signColor = [255, 207, 48, 255];
        var shadowColor = [194, 159, 47, 255];
        var green = [36, 240, 80, 255];
        var red = [250, 42, 42, 255];
        var speedd = (GetVelocity().toFixed(0)).toString()
        if(!World.GetServerString()) {
            ping = 0;
            speedd = 0;
        }
        if (ping > 69)
       
        {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1 * 1.0031, UY + 3, 0, "!", ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3], font3);
        } else {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1 * 1.0031, UY + 3, 0, "!", signColor, font3);
        }

        if (ping > 69) {
            //низ
            Render.Line(LX, DY, RX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
            //бок левый
            Render.Line(screen_size[0] / 2, UY, LX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
            //бок правый
            Render.Line(screen_size[0] / 2, UY, RX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
        } else {
            //низ
            Render.Line(LX, DY, RX, DY, signColor);
            //бок левый
            Render.Line(screen_size[0] / 2, UY, LX, DY, signColor);
            Render.Line(screen_size[0] / 2, UY - -0, LX - -0, DY - 1, shadowColor);
            //бок правый
            Render.Line(screen_size[0] / 2, UY, RX, DY, signColor);
            Render.Line(screen_size[0] / 2 + -0, UY - 1, RX + 0, DY - 1, shadowColor);
        }

        //текст графа
        var lp = Entity.GetLocalPlayer();
        var velocity = Math.round(GetVelocity(lp));

        {
            if (ping < 69) {
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 112, 0, "clock syncing", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 113, 0, "clock syncing", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 18, screen_size[1] - 112, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 17, screen_size[1] - 113, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 92, 0, "loss:(+-" + ping2 / 5 + ")  ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 93, 0, "loss:(+-" + ping2 / 5 + ")  ", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 18, screen_size[1] - 92, 0, "ping: " + "          fps:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 19, screen_size[1] - 93, 0, "ping: " + "          fps:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 30, screen_size[1] - 92, 0, "    " + fps, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 31, screen_size[1] - 93, 0, "    " + fps, fps < 60 ? [red[0], red[1], red[2], alpha_3] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 71, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + speedd + " u/s ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 72, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + speedd + " u/s ", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 0, screen_size[1] - 92, 0, " " + ping, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 1, screen_size[1] - 93, 0, " " + ping, ping > 60 ? [255, 125, 95, 255] : [255, 255, 255, 255], font2);
            } else {
                Render.StringCustom(screen_size[0] / 2 - 80, screen_size[1] - 112, 0, "lost connection ", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 113, 0, "lost connection ", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 18, screen_size[1] - 112, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 17, screen_size[1] - 113, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 56, screen_size[1] - 92, 0, "(+-" + ping2 / 4 + ")  ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 80, screen_size[1] - 92, 0, "loss:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 93, 0, "loss:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 61, screen_size[1] - 93, 0, "  (+-" + ping2 / 4 + ")  ", [255, 82, 62, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 25, screen_size[1] - 92, 0, "ping: " + "          fps:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 25, screen_size[1] - 93, 0, "ping: " + "          fps:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 27, screen_size[1] - 92, 0, "    " + fps, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 26, screen_size[1] - 93, 0, "    " + fps, fps < 60 ? [red[0], red[1], red[2], alpha_3] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + -6, screen_size[1] - 92, 0, " " + ping, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + -7, screen_size[1] - 93, 0, " " + ping, ping > 60 ? [255, 125, 95, 255] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 71, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + (GetVelocity().toFixed(0)).toString() + " u/s ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 78, screen_size[1] - 72, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + (GetVelocity().toFixed(0)).toString() + " u/s ", [255, 255, 255, 255], font2);
            }
        }
        if (fps < 55) {
            Render.StringCustom(screen_size[0] / 2 - 72, screen_size[1] - 46, 0, "WARNING! [performance trouble]", [255, 0, 0, alpha_3], font4);
        }

        Render.StringCustom(screen_size[0] / 2 - 40, screen_size[1] - 21, 0, "lagcomp: ", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 39, screen_size[1] - 22, 0, "lagcomp: ", [255, 255, 255, 255], font2);
        if (isHActive() == 0 && velocity > 270) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", green, font2);
        } else {
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "unsafe", red, font2);
        }
        if (isDoubleTapActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken [shifting]", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken [shifting]", green, font2);
        }
    }
}



Cheat.RegisterCallback("Draw", "draw");
лучший, кст
 
Начинающий
Статус
Оффлайн
Регистрация
27 Ноя 2020
Сообщения
112
Реакции[?]
8
Поинты[?]
0
JavaScript:
UI.AddDropdown("Style", ["one", "two"]);

function isDoubleTapActive() {
    var isCheckboxActive = UI.GetValue("Rage", "Exploits", "Doubletap");
    var isKeyActive = UI.IsHotkeyActive("Rage", "Exploits", "Doubletap");

    return isCheckboxActive && isKeyActive;
}

function isHActive() {
    var isCheckboxActive = UI.GetValue("Rage", "Exploits", "Hide shots");
    var isKeyActive = UI.IsHotkeyActive("Rage", "Exploits", "Hide shots");

    return isCheckboxActive && isKeyActive;
}


/*
Render.Circle( x1 - 15, y4 + 42, 13, [ 0, 0, 0, 255 ] );  
Render.Circle( x1 - 16, y4 + 43, 13, [ 255, 255, 255, 255 ] );
*/

function GetVelocity() {
    var velocity = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_vecVelocity[0]");
    return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
}

function draw() {
    var stl = UI.GetValue("Script items", "Style")
    if (stl == 0) {
        var ping = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString()
        var today = new Date();
        var hours1 = today.getHours();
        var minutes1 = today.getMinutes();
        var seconds1 = today.getSeconds();
        var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
        var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
        var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds();
        var screen_size = Render.GetScreenSize()
        var font2 = Render.AddFont("Verdana", 7, 700);
        var font3 = Render.AddFont("Verdana", 14, 500);
        var local = Entity.GetLocalPlayer();
        var fps = Math.floor(1 / Global.Frametime());
        var speed = (GetVelocity().toFixed(0)).toString();
        if(!World.GetServerString()) {
            ping = 0;
            speed = 0;
        }
        g_Local_weapon = Entity.GetWeapon(local);
        weapon_name = Entity.GetName(g_Local_weapon);
        g_Local_classname = Entity.GetClassName(g_Local_weapon);
       
        Render.StringCustom(screen_size[0] / 2 - 16, screen_size[1] - 92, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 16, screen_size[1] - 94, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 17, screen_size[1] - 93, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 15, screen_size[1] - 93, 0, "!", [0, 0, 0, 255], font3);
        Render.StringCustom(screen_size[0] / 2 - 16, screen_size[1] - 93, 0, "!", [255, 255, 255, 255], font3);
        //top
        Render.Line(screen_size[0] / 2 - 17, screen_size[1] - 96, screen_size[0] / 2 - 11, screen_size[1] - 96, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 17, screen_size[1] - 95, screen_size[0] / 2 - 11, screen_size[1] - 95, [255, 255, 255, 195]);

        Render.Line(screen_size[0] / 2 - 18, screen_size[1] - 95, screen_size[0] / 2 - 10, screen_size[1] - 95, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 18, screen_size[1] - 94, screen_size[0] / 2 - 10, screen_size[1] - 94, [255, 255, 255, 195]);
        //бока
        Render.Line(screen_size[0] / 2 - 19, screen_size[1] - 93, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 19, screen_size[1] - 93, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 9, screen_size[1] - 93, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 9, screen_size[1] - 93, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        //низ
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 72, screen_size[0] / 2 - 5, screen_size[1] - 72, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 71, screen_size[0] / 2 - 5, screen_size[1] - 71, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 70, screen_size[0] / 2 - 5, screen_size[1] - 70, [255, 255, 255, 195]);
        //низ право
        Render.Line(screen_size[0] / 2 - 5, screen_size[1] - 71, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        Render.Line(screen_size[0] / 2 - 5, screen_size[1] - 71, screen_size[0] / 2 - 2, screen_size[1] - 75, [255, 255, 255, 195]);
        //низ лев
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 71, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 165]);
        Render.Line(screen_size[0] / 2 - 23, screen_size[1] - 71, screen_size[0] / 2 - 26, screen_size[1] - 75, [255, 255, 255, 195]);

       
        //text  
        Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 80, 0, "packet choke", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 81, 0, "packet choke", [255, 255, 255, 255], font2);

        Render.StringCustom(screen_size[0] / 2 + 4, screen_size[1] - 80, 0, "choke: 0%", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 + 5, screen_size[1] - 81, 0, "choke: 0%", [255, 255, 255, 255], font2);
        Render.StringCustom(screen_size[0] / 2 + 4, screen_size[1] - 66, 0, "loss: 0% (+- 0.5)", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 + 5, screen_size[1] - 67, 0, "loss: 0% (+- 0.5)", [255, 255, 255, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 51, 0, "velocity: " + speed + " u/s " + " ticks: " + Globals.Tickrate().toString() + "  time: " + hours + minutes + seconds, [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 52, 0, "velocity: " + speed + " u/s " + " ticks: " + Globals.Tickrate().toString() + "  time: " + hours + minutes + seconds, [255, 255, 255, 255], font2);
        if (ping < 99){
            Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 66, 0, "latency: " + (ping * 1), [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 67, 0, "latency: " + (ping * 1), [255, 255, 255, 255], font2);
        } else {
            Render.StringCustom(screen_size[0] / 2 - 101, screen_size[1] - 66, 0, " latency: " + (ping * 1), [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 - 100, screen_size[1] - 67, 0, " latency: " + (ping * 1), [255, 255, 255, 255], font2);
        }
        Render.StringCustom(screen_size[0] / 2 - 48, screen_size[1] - 66, 0, "  fps: " + fps, [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 47, screen_size[1] - 67, 0, "  fps: " + fps, [255, 255, 255, 255], font2);
       
        //LG
        Render.StringCustom(screen_size[0] / 2 - 48, screen_size[1] - 21, 0, "lagcomp: ", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 47, screen_size[1] - 22, 0, "lagcomp: ", [255, 255, 255, 255], font2);
        if (isHActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", [42, 250, 87, 255], font2);
        }
        if (isDoubleTapActive() == 0 && isHActive() == 0) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "unsafe", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "unsafe", [250, 42, 42, 255], font2);
        }
        if (isDoubleTapActive() == 1 || isHActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", [42, 250, 87, 255], font2);
        }
        if (isDoubleTapActive() == 1 || isHActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", [42, 250, 87, 255], font2);
        }
    }
    if (stl == 1) {
        var ping = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString()
        var ping2 = Math.floor(Local.Latency() * 1000 / 19.5);
        var today = new Date();
        var hours1 = today.getHours();
        var minutes1 = today.getMinutes();
        var seconds1 = today.getSeconds();
        var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
        var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
        var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds();
        var screen_size = Render.GetScreenSize()
        var font2 = Render.AddFont("Small Fonts", 7, 0);
        var local = Entity.GetLocalPlayer();
        var fps = Math.floor(1 / Global.Frametime());
        g_Local_weapon = Entity.GetWeapon(local);
        weapon_name = Entity.GetName(g_Local_weapon);
        g_Local_classname = Entity.GetClassName(g_Local_weapon);

        var alpha_3 = Math.sin(Globals.Curtime() * 4) * 55 + 200;
        var trWidth = 17;
        var trHeight = 18;
        var LX = screen_size[0] / 2 - trWidth / 1 + 7;
        var RX = screen_size[0] / 2 + trWidth / 1 - 8;
        var UY = screen_size[1] - 103 - trHeight;
        var DY = screen_size[1] - 103;
        var font3 = Render.AddFont("Verdana", 10, 0);
        var font4 = Render.AddFont("Verdana", 7, 0);

        var signColor = [255, 207, 48, 255];
        var shadowColor = [194, 159, 47, 255];
        var green = [36, 240, 80, 255];
        var red = [250, 42, 42, 255];
        var speedd = (GetVelocity().toFixed(0)).toString()
        if(!World.GetServerString()) {
            ping = 0;
            speedd = 0;
        }
        if (ping > 69)
       
        {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1 * 1.0031, UY + 3, 0, "!", ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3], font3);
        } else {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1 * 1.0031, UY + 3, 0, "!", signColor, font3);
        }

        if (ping > 69) {
            //низ
            Render.Line(LX, DY, RX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
            //бок левый
            Render.Line(screen_size[0] / 2, UY, LX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
            //бок правый
            Render.Line(screen_size[0] / 2, UY, RX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
        } else {
            //низ
            Render.Line(LX, DY, RX, DY, signColor);
            //бок левый
            Render.Line(screen_size[0] / 2, UY, LX, DY, signColor);
            Render.Line(screen_size[0] / 2, UY - -0, LX - -0, DY - 1, shadowColor);
            //бок правый
            Render.Line(screen_size[0] / 2, UY, RX, DY, signColor);
            Render.Line(screen_size[0] / 2 + -0, UY - 1, RX + 0, DY - 1, shadowColor);
        }

        //текст графа
        var lp = Entity.GetLocalPlayer();
        var velocity = Math.round(GetVelocity(lp));

        {
            if (ping < 69) {
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 112, 0, "clock syncing", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 113, 0, "clock syncing", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 18, screen_size[1] - 112, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 17, screen_size[1] - 113, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 92, 0, "loss:(+-" + ping2 / 5 + ")  ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 93, 0, "loss:(+-" + ping2 / 5 + ")  ", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 18, screen_size[1] - 92, 0, "ping: " + "          fps:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 19, screen_size[1] - 93, 0, "ping: " + "          fps:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 30, screen_size[1] - 92, 0, "    " + fps, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 31, screen_size[1] - 93, 0, "    " + fps, fps < 60 ? [red[0], red[1], red[2], alpha_3] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 71, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + speedd + " u/s ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 72, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + speedd + " u/s ", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 0, screen_size[1] - 92, 0, " " + ping, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 1, screen_size[1] - 93, 0, " " + ping, ping > 60 ? [255, 125, 95, 255] : [255, 255, 255, 255], font2);
            } else {
                Render.StringCustom(screen_size[0] / 2 - 80, screen_size[1] - 112, 0, "lost connection ", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 113, 0, "lost connection ", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 18, screen_size[1] - 112, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 17, screen_size[1] - 113, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 56, screen_size[1] - 92, 0, "(+-" + ping2 / 4 + ")  ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 80, screen_size[1] - 92, 0, "loss:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 93, 0, "loss:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 61, screen_size[1] - 93, 0, "  (+-" + ping2 / 4 + ")  ", [255, 82, 62, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 25, screen_size[1] - 92, 0, "ping: " + "          fps:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 25, screen_size[1] - 93, 0, "ping: " + "          fps:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 27, screen_size[1] - 92, 0, "    " + fps, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 26, screen_size[1] - 93, 0, "    " + fps, fps < 60 ? [red[0], red[1], red[2], alpha_3] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + -6, screen_size[1] - 92, 0, " " + ping, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + -7, screen_size[1] - 93, 0, " " + ping, ping > 60 ? [255, 125, 95, 255] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 71, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + (GetVelocity().toFixed(0)).toString() + " u/s ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 78, screen_size[1] - 72, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + (GetVelocity().toFixed(0)).toString() + " u/s ", [255, 255, 255, 255], font2);
            }
        }
        if (fps < 55) {
            Render.StringCustom(screen_size[0] / 2 - 72, screen_size[1] - 46, 0, "WARNING! [performance trouble]", [255, 0, 0, alpha_3], font4);
        }

        Render.StringCustom(screen_size[0] / 2 - 40, screen_size[1] - 21, 0, "lagcomp: ", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 39, screen_size[1] - 22, 0, "lagcomp: ", [255, 255, 255, 255], font2);
        if (isHActive() == 0 && velocity > 270) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", green, font2);
        } else {
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "unsafe", red, font2);
        }
        if (isDoubleTapActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken [shifting]", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken [shifting]", green, font2);
        }
    }
}



Cheat.RegisterCallback("Draw", "draw");
можешь второй вариант нет графа отдельно скинуть, от первого, тип просто лоаднул, и всё
 
Забаненный
Статус
Оффлайн
Регистрация
17 Янв 2021
Сообщения
183
Реакции[?]
94
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
можешь второй вариант нет графа отдельно скинуть, от первого, тип просто лоаднул, и всё
JavaScript:
function isDoubleTapActive() {
    var isCheckboxActive = UI.GetValue("Rage", "Exploits", "Doubletap");
    var isKeyActive = UI.IsHotkeyActive("Rage", "Exploits", "Doubletap");

    return isCheckboxActive && isKeyActive;
}

function isHActive() {
    var isCheckboxActive = UI.GetValue("Rage", "Exploits", "Hide shots");
    var isKeyActive = UI.IsHotkeyActive("Rage", "Exploits", "Hide shots");

    return isCheckboxActive && isKeyActive;
}


function GetVelocity() {
    var velocity = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_vecVelocity[0]");
    return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
}

function draw() {

        var ping = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString()
        var ping2 = Math.floor(Local.Latency() * 1000 / 19.5);
        var today = new Date();
        var hours1 = today.getHours();
        var minutes1 = today.getMinutes();
        var seconds1 = today.getSeconds();
        var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
        var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
        var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds();
        var screen_size = Render.GetScreenSize()
        var font2 = Render.AddFont("Small Fonts", 7, 0);
        var local = Entity.GetLocalPlayer();
        var fps = Math.floor(1 / Global.Frametime());
        g_Local_weapon = Entity.GetWeapon(local);
        weapon_name = Entity.GetName(g_Local_weapon);
        g_Local_classname = Entity.GetClassName(g_Local_weapon);

        var alpha_3 = Math.sin(Globals.Curtime() * 4) * 55 + 200;
        var trWidth = 17;
        var trHeight = 18;
        var LX = screen_size[0] / 2 - trWidth / 1 + 7;
        var RX = screen_size[0] / 2 + trWidth / 1 - 8;
        var UY = screen_size[1] - 103 - trHeight;
        var DY = screen_size[1] - 103;
        var font3 = Render.AddFont("Verdana", 10, 0);
        var font4 = Render.AddFont("Verdana", 7, 0);

        var signColor = [255, 207, 48, 255];
        var shadowColor = [194, 159, 47, 255];
        var green = [36, 240, 80, 255];
        var red = [250, 42, 42, 255];
        var speedd = (GetVelocity().toFixed(0)).toString()
        if(!World.GetServerString()) {
            ping = 0;
            speedd = 0;
        }
        if (ping > 69)
        //Render.StringCustom(screen_size[0] / 2 - 16, screen_size[1] - 92, 0, "!", [0,0,0,255], font3 );   
        {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1 * 1.0031, UY + 3, 0, "!", ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3], font3);
        } else {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1 * 1.0031, UY + 3, 0, "!", signColor, font3);
        }

        if (ping > 69) {
            //низ
            Render.Line(LX, DY, RX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
            //бок левый
            Render.Line(screen_size[0] / 2, UY, LX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
            //бок правый
            Render.Line(screen_size[0] / 2, UY, RX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
        } else {
            //низ
            Render.Line(LX, DY, RX, DY, signColor);
            //бок левый
            Render.Line(screen_size[0] / 2, UY, LX, DY, signColor);
            Render.Line(screen_size[0] / 2, UY - -0, LX - -0, DY - 1, shadowColor);
            //бок правый
            Render.Line(screen_size[0] / 2, UY, RX, DY, signColor);
            Render.Line(screen_size[0] / 2 + -0, UY - 1, RX + 0, DY - 1, shadowColor);
        }

        //текст графа
        var lp = Entity.GetLocalPlayer();
        var velocity = Math.round(GetVelocity(lp));

        {
            if (ping < 69) {
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 112, 0, "clock syncing", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 113, 0, "clock syncing", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 18, screen_size[1] - 112, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 17, screen_size[1] - 113, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 92, 0, "loss:(+-" + ping2 / 5 + ")  ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 93, 0, "loss:(+-" + ping2 / 5 + ")  ", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 18, screen_size[1] - 92, 0, "ping: " + "          fps:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 19, screen_size[1] - 93, 0, "ping: " + "          fps:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 30, screen_size[1] - 92, 0, "    " + fps, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 31, screen_size[1] - 93, 0, "    " + fps, fps < 60 ? [red[0], red[1], red[2], alpha_3] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 71, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + speedd + " u/s ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 72, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + speedd + " u/s ", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 0, screen_size[1] - 92, 0, " " + ping, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 1, screen_size[1] - 93, 0, " " + ping, ping > 60 ? [255, 125, 95, 255] : [255, 255, 255, 255], font2);
            } else {
                Render.StringCustom(screen_size[0] / 2 - 80, screen_size[1] - 112, 0, "lost connection ", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 113, 0, "lost connection ", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 18, screen_size[1] - 112, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 17, screen_size[1] - 113, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 56, screen_size[1] - 92, 0, "(+-" + ping2 / 4 + ")  ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 80, screen_size[1] - 92, 0, "loss:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 93, 0, "loss:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 61, screen_size[1] - 93, 0, "  (+-" + ping2 / 4 + ")  ", [255, 82, 62, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 25, screen_size[1] - 92, 0, "ping: " + "          fps:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 25, screen_size[1] - 93, 0, "ping: " + "          fps:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 27, screen_size[1] - 92, 0, "    " + fps, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 26, screen_size[1] - 93, 0, "    " + fps, fps < 60 ? [red[0], red[1], red[2], alpha_3] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + -6, screen_size[1] - 92, 0, " " + ping, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + -7, screen_size[1] - 93, 0, " " + ping, ping > 60 ? [255, 125, 95, 255] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 71, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + (GetVelocity().toFixed(0)).toString() + " u/s ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 78, screen_size[1] - 72, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + (GetVelocity().toFixed(0)).toString() + " u/s ", [255, 255, 255, 255], font2);
            }
        }
        if (fps < 55) {
            Render.StringCustom(screen_size[0] / 2 - 72, screen_size[1] - 46, 0, "WARNING! [performance trouble]", [255, 0, 0, alpha_3], font4);
        }

        Render.StringCustom(screen_size[0] / 2 - 40, screen_size[1] - 21, 0, "lagcomp: ", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 39, screen_size[1] - 22, 0, "lagcomp: ", [255, 255, 255, 255], font2);
        if (isHActive() == 0 && velocity > 270) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", green, font2);
        } else {
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "unsafe", red, font2);
        }
        if (isDoubleTapActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken [shifting]", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken [shifting]", green, font2);
        }
    
}



Cheat.RegisterCallback("Draw", "draw");
 
Начинающий
Статус
Оффлайн
Регистрация
27 Ноя 2020
Сообщения
112
Реакции[?]
8
Поинты[?]
0
JavaScript:
function isDoubleTapActive() {
    var isCheckboxActive = UI.GetValue("Rage", "Exploits", "Doubletap");
    var isKeyActive = UI.IsHotkeyActive("Rage", "Exploits", "Doubletap");

    return isCheckboxActive && isKeyActive;
}

function isHActive() {
    var isCheckboxActive = UI.GetValue("Rage", "Exploits", "Hide shots");
    var isKeyActive = UI.IsHotkeyActive("Rage", "Exploits", "Hide shots");

    return isCheckboxActive && isKeyActive;
}


function GetVelocity() {
    var velocity = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_vecVelocity[0]");
    return Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
}

function draw() {

        var ping = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString()
        var ping2 = Math.floor(Local.Latency() * 1000 / 19.5);
        var today = new Date();
        var hours1 = today.getHours();
        var minutes1 = today.getMinutes();
        var seconds1 = today.getSeconds();
        var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
        var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
        var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds();
        var screen_size = Render.GetScreenSize()
        var font2 = Render.AddFont("Small Fonts", 7, 0);
        var local = Entity.GetLocalPlayer();
        var fps = Math.floor(1 / Global.Frametime());
        g_Local_weapon = Entity.GetWeapon(local);
        weapon_name = Entity.GetName(g_Local_weapon);
        g_Local_classname = Entity.GetClassName(g_Local_weapon);

        var alpha_3 = Math.sin(Globals.Curtime() * 4) * 55 + 200;
        var trWidth = 17;
        var trHeight = 18;
        var LX = screen_size[0] / 2 - trWidth / 1 + 7;
        var RX = screen_size[0] / 2 + trWidth / 1 - 8;
        var UY = screen_size[1] - 103 - trHeight;
        var DY = screen_size[1] - 103;
        var font3 = Render.AddFont("Verdana", 10, 0);
        var font4 = Render.AddFont("Verdana", 7, 0);

        var signColor = [255, 207, 48, 255];
        var shadowColor = [194, 159, 47, 255];
        var green = [36, 240, 80, 255];
        var red = [250, 42, 42, 255];
        var speedd = (GetVelocity().toFixed(0)).toString()
        if(!World.GetServerString()) {
            ping = 0;
            speedd = 0;
        }
        if (ping > 69)
        //Render.StringCustom(screen_size[0] / 2 - 16, screen_size[1] - 92, 0, "!", [0,0,0,255], font3 );  
        {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1 * 1.0031, UY + 3, 0, "!", ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3], font3);
        } else {
            Render.StringCustom(screen_size[0] / 2, UY + 3, 0, "!", [64, 50, 15, 200], font3);
            Render.StringCustom(screen_size[0] / 2 - 1 * 1.0031, UY + 3, 0, "!", signColor, font3);
        }

        if (ping > 69) {
            //низ
            Render.Line(LX, DY, RX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
            //бок левый
            Render.Line(screen_size[0] / 2, UY, LX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
            //бок правый
            Render.Line(screen_size[0] / 2, UY, RX, DY, ping < 69 ? signColor : [red[0], red[1], red[2], alpha_3]);
        } else {
            //низ
            Render.Line(LX, DY, RX, DY, signColor);
            //бок левый
            Render.Line(screen_size[0] / 2, UY, LX, DY, signColor);
            Render.Line(screen_size[0] / 2, UY - -0, LX - -0, DY - 1, shadowColor);
            //бок правый
            Render.Line(screen_size[0] / 2, UY, RX, DY, signColor);
            Render.Line(screen_size[0] / 2 + -0, UY - 1, RX + 0, DY - 1, shadowColor);
        }

        //текст графа
        var lp = Entity.GetLocalPlayer();
        var velocity = Math.round(GetVelocity(lp));

        {
            if (ping < 69) {
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 112, 0, "clock syncing", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 113, 0, "clock syncing", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 18, screen_size[1] - 112, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 17, screen_size[1] - 113, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 92, 0, "loss:(+-" + ping2 / 5 + ")  ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 93, 0, "loss:(+-" + ping2 / 5 + ")  ", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 18, screen_size[1] - 92, 0, "ping: " + "          fps:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 19, screen_size[1] - 93, 0, "ping: " + "          fps:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 30, screen_size[1] - 92, 0, "    " + fps, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 31, screen_size[1] - 93, 0, "    " + fps, fps < 60 ? [red[0], red[1], red[2], alpha_3] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 75, screen_size[1] - 71, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + speedd + " u/s ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 74, screen_size[1] - 72, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + speedd + " u/s ", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 0, screen_size[1] - 92, 0, " " + ping, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 1, screen_size[1] - 93, 0, " " + ping, ping > 60 ? [255, 125, 95, 255] : [255, 255, 255, 255], font2);
            } else {
                Render.StringCustom(screen_size[0] / 2 - 80, screen_size[1] - 112, 0, "lost connection ", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 113, 0, "lost connection ", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 18, screen_size[1] - 112, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [0, 0, 0, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 + 17, screen_size[1] - 113, 0, "+-" + ping2 / 1 + "." + ping2 * 3 / 1 + "ms", [255, 255, 255, alpha_3], font2);
                Render.StringCustom(screen_size[0] / 2 - 56, screen_size[1] - 92, 0, "(+-" + ping2 / 4 + ")  ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 80, screen_size[1] - 92, 0, "loss:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 93, 0, "loss:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 61, screen_size[1] - 93, 0, "  (+-" + ping2 / 4 + ")  ", [255, 82, 62, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 25, screen_size[1] - 92, 0, "ping: " + "          fps:", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 25, screen_size[1] - 93, 0, "ping: " + "          fps:", [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 27, screen_size[1] - 92, 0, "    " + fps, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + 26, screen_size[1] - 93, 0, "    " + fps, fps < 60 ? [red[0], red[1], red[2], alpha_3] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + -6, screen_size[1] - 92, 0, " " + ping, [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 + -7, screen_size[1] - 93, 0, " " + ping, ping > 60 ? [255, 125, 95, 255] : [255, 255, 255, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 79, screen_size[1] - 71, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + (GetVelocity().toFixed(0)).toString() + " u/s ", [0, 0, 0, 255], font2);
                Render.StringCustom(screen_size[0] / 2 - 78, screen_size[1] - 72, 0, "time: " + hours + minutes + seconds + "   ticks: " + Globals.Tickrate().toString() + "   velocity: " + (GetVelocity().toFixed(0)).toString() + " u/s ", [255, 255, 255, 255], font2);
            }
        }
        if (fps < 55) {
            Render.StringCustom(screen_size[0] / 2 - 72, screen_size[1] - 46, 0, "WARNING! [performance trouble]", [255, 0, 0, alpha_3], font4);
        }

        Render.StringCustom(screen_size[0] / 2 - 40, screen_size[1] - 21, 0, "lagcomp: ", [0, 0, 0, 255], font2);
        Render.StringCustom(screen_size[0] / 2 - 39, screen_size[1] - 22, 0, "lagcomp: ", [255, 255, 255, 255], font2);
        if (isHActive() == 0 && velocity > 270) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken", green, font2);
        } else {
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "unsafe", red, font2);
        }
        if (isDoubleTapActive() == 1) {
            Render.StringCustom(screen_size[0] / 2 + 3, screen_size[1] - 21, 0, "broken [shifting]", [0, 0, 0, 255], font2);
            Render.StringCustom(screen_size[0] / 2 + 2, screen_size[1] - 22, 0, "broken [shifting]", green, font2);
        }
   
}



Cheat.RegisterCallback("Draw", "draw");
лучший
бля, как реакцию оставить?:confused:
 
Сверху Снизу