JS low delta onetap v4 изменен с в3 ( на в4 жска )

Статус
В этой теме нельзя размещать новые ответы.
  • 140
  • 12
Low delta onetap v4 изменен с в3 ( на в4 жска )

JavaScript:
const screen_size = Render.GetScreenSize();
const lowhp = false, slowwalk = false, standing = false, onkey = false;

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

const get_entity_health = function(entity) {
    return Entity.GetProp(entity, "CBasePlayer", "m_iHealth");
};

const path = ["Rage", "Low delta", "Low delta"];
UI.AddSubTab(["Rage", "SUBTAB_MGR"], "Low delta");
const ui_check = UI.AddCheckbox(path, "Low delta");
const ui_type = UI.AddDropdown(path, "Low delta type", ["Custom", "On key"], 1);
const ui_modes = UI.AddMultiDropdown(path, "Low delta modes", ["Slow walk", "Low HP", "Standing"]);
const ui_key = UI.AddHotkey(["Rage", "General", "General", "Key assignment"], "Low delta", "Low delta");

const ui = function() {
    const mast = UI.GetValue(ui_check);
    const type = UI.GetValue(ui_type);
    UI.SetEnabled(["Rage", "Low delta", "Low delta", "Low delta type"], mast);
    UI.SetEnabled(["Rage", "Low delta", "Low delta", "Low delta modes"], mast && type == 0 ? 1 : 0);
};

const low_delta = function() {
    const local_player = Entity.GetLocalPlayer();
    const local_speed = get_entity_speed(local_player);
    const local_health = get_entity_health(local_player);
    const type = UI.GetValue(ui_type);
    const mode = UI.GetValue(ui_modes);
    if (UI.GetValue(ui_check) && type == 0) {
        mode & (1 << 0) && UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Slow walk"]) ? slowwalk = true : slowwalk = false;
        mode & (1 << 1) && local_health < 50 ? lowhp = true : lowhp = false;
        mode & (1 << 2) && local_speed < 3 ? standing = true : standing = false;
    } else if (UI.GetValue(ui_check) && type == 1) {
        UI.GetValue(ui_key) ? onkey = true : onkey = false;
    } if (lowhp == true || slowwalk == true || standing == true || onkey == true) {
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"], 10);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Jitter offset"], 0);
        AntiAim.SetOverride(1);
        AntiAim.SetFakeOffset(0);
        AntiAim.SetRealOffset(-26);
    } else {
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"], 10);
        AntiAim.SetOverride(0);
    };
};

const indicator = function() {
    const font = Render.AddFont("verdana", 8, 100);
    if (lowhp == true || slowwalk == true || standing == true || onkey == true) {
        Render.String(screen_size[0] / 2, screen_size[1] / 2 + 25, 1, "LOW DELTA", [255, 0, 0, 255], font);
    };
};

Cheat.RegisterCallback("Draw", "ui");
Cheat.RegisterCallback("Draw", "indicator");
Cheat.RegisterCallback("CreateMove", "low_delta");

Переделан с в3

Code_689Bt3na6D.png


Code_G5aZSFJpq6.png



Переделан с в3, если не сложно дайте пожалуйста конфиги мау4а, акиры , фарлига )!№0310
 
  • 8
  • 0
Контакты для связи отсутствуют.
Low delta onetap v4 изменен с в3 ( на в4 жска )

JavaScript:
const screen_size = Render.GetScreenSize();
const lowhp = false, slowwalk = false, standing = false, onkey = false;

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

const get_entity_health = function(entity) {
    return Entity.GetProp(entity, "CBasePlayer", "m_iHealth");
};

const path = ["Rage", "Low delta", "Low delta"];
UI.AddSubTab(["Rage", "SUBTAB_MGR"], "Low delta");
const ui_check = UI.AddCheckbox(path, "Low delta");
const ui_type = UI.AddDropdown(path, "Low delta type", ["Custom", "On key"], 1);
const ui_modes = UI.AddMultiDropdown(path, "Low delta modes", ["Slow walk", "Low HP", "Standing"]);
const ui_key = UI.AddHotkey(["Rage", "General", "General", "Key assignment"], "Low delta", "Low delta");

const ui = function() {
    const mast = UI.GetValue(ui_check);
    const type = UI.GetValue(ui_type);
    UI.SetEnabled(["Rage", "Low delta", "Low delta", "Low delta type"], mast);
    UI.SetEnabled(["Rage", "Low delta", "Low delta", "Low delta modes"], mast && type == 0 ? 1 : 0);
};

const low_delta = function() {
    const local_player = Entity.GetLocalPlayer();
    const local_speed = get_entity_speed(local_player);
    const local_health = get_entity_health(local_player);
    const type = UI.GetValue(ui_type);
    const mode = UI.GetValue(ui_modes);
    if (UI.GetValue(ui_check) && type == 0) {
        mode & (1 << 0) && UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "Slow walk"]) ? slowwalk = true : slowwalk = false;
        mode & (1 << 1) && local_health < 50 ? lowhp = true : lowhp = false;
        mode & (1 << 2) && local_speed < 3 ? standing = true : standing = false;
    } else if (UI.GetValue(ui_check) && type == 1) {
        UI.GetValue(ui_key) ? onkey = true : onkey = false;
    } if (lowhp == true || slowwalk == true || standing == true || onkey == true) {
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"], 10);
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Jitter offset"], 0);
        AntiAim.SetOverride(1);
        AntiAim.SetFakeOffset(0);
        AntiAim.SetRealOffset(-26);
    } else {
        UI.SetValue(["Rage", "Anti Aim", "Directions", "Yaw offset"], 10);
        AntiAim.SetOverride(0);
    };
};

const indicator = function() {
    const font = Render.AddFont("verdana", 8, 100);
    if (lowhp == true || slowwalk == true || standing == true || onkey == true) {
        Render.String(screen_size[0] / 2, screen_size[1] / 2 + 25, 1, "LOW DELTA", [255, 0, 0, 255], font);
    };
};

Cheat.RegisterCallback("Draw", "ui");
Cheat.RegisterCallback("Draw", "indicator");
Cheat.RegisterCallback("CreateMove", "low_delta");

Переделан с в3

Посмотреть вложение 3519

Посмотреть вложение 3520


Переделан с в3, если не сложно дайте пожалуйста конфиги мау4а, акиры , фарлига )!№0310
 

Вложения

  • bkue.rar
    4.2 KB · Просмотры: 356
Статус
В этой теме нельзя размещать новые ответы.
Сверху Снизу