Ищу скрипт In air hitchance, noscope hitchance на V4

Начинающий
Статус
Оффлайн
Регистрация
19 Мар 2021
Сообщения
29
Реакции[?]
0
Поинты[?]
0
Нужен именно код.
Заранее спасибо
 
Последнее редактирование:
Nike.lua
Олдфаг
Статус
Оффлайн
Регистрация
13 Окт 2020
Сообщения
2,746
Реакции[?]
1,465
Поинты[?]
2K
гена на!
JavaScript:
UI.AddSubTab(["Rage", "SUBTAB_MGR"], "Hitchance modulation")
UI.AddCheckbox(["Rage", "Hitchance modulation"], "Noscope hitchance")
    UI.AddSliderInt(["Rage", "Hitchance modulation"], "Noscope hithcance value", 0, 100)
UI.AddCheckbox(["Rage", "Hitchance modulation"], "In air hitchance")
    UI.AddSliderInt(["Rage", "Hitchance modulation"], "Revolver", 0, 100)
    UI.AddSliderInt(["Rage", "Hitchance modulation"], "Scout", 0, 100)

should_show_ns = false;
should_show_ia = false;

function menu()
{
    if (UI.GetValue(["Rage", "Hitchacne modulation", "Noscope hithcance"]))
        should_show_ns = true;

    if (UI.GetValue(["Rage", "Hitchance modulation", "In air hitchance"]))
        should_show_ia = true;

    UI.SetEnabled(["Rage", "Hitchacne modulation", "Noscope hitchance value"], should_show_ns);
    UI.SetEnabled(["Rage", "Hitchacne modulation", "Scout"], should_show_ia);
    UI.SetEnabled(["Rage", "Hitchacne modulation", "Revolver"], should_show_ia);
}

Cheat.RegisterCallback("Draw", "menu")

function hc()
{
    const target = Ragebot.GetTarget()
    if (!target)
        return;

    var isScoped = Entity.GetProp(Entity.GetLocalPlayer(), "CCSPlayer", "m_bIsScoped");
        var noscope = UI.GetValue(["Rage", "Hitchance modulation", "Noscope hitchance value"])
    var inAir = Entity.GetProp(Entity.GetLocalPlayer(), "CBasePlayer", "m_hGroundEntity");
        var rev = UI.GetValue(["Rage", "Hitchance modulation", "Revolver"])
        var scout = UI.GetValue(["Rage", "Hitchance modulation", "Scout"])

    if (!isScoped && UI.GetValue(["Rage", "Hitchance modulation", "Noscope hitchance"]))
    {
        Ragebot.ForceTargetHitchance(target, noscope)
    }

    if (inAir && UI.GetValue(["Rage", "Hitchance modulation", "In air hitchance"]))
    {
        switch(Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer())))
        {
            default:
                break;

            case "ssg 08":
                Ragebot.ForceTargetHitchance(target, scout);
                break;

            case "r8 revolver":
                Ragebot.ForceTargetHitchance(target, rev)
                break;
        }
    }
}

Cheat.RegisterCallback("CreateMove", "hc")
 
Последнее редактирование:
Похожие темы
Сверху Снизу