JS-скрипт [OTC3] DT improvements [Recharge, two shot, prefer baim, prefer safepoint]

Эксперт
Статус
Оффлайн
Регистрация
14 Ноя 2020
Сообщения
1,796
Реакции[?]
586
Поинты[?]
2K
Ускорение перезарядки дт != ускорение дт. Приятной игры.

SS:

JavaScript:
UI.AddMultiDropdown("Doubletap improvements", ["Recharge", "Two shot", "Prefer baim", "Prefer safepoint"])

//Doubletap improvements function
var can_shot = [];
function DT_improvements(){
    //Doubletap recharge function
    if(UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 0)) {
        var me = Entity.GetLocalPlayer();
        var wpn = Entity.GetWeapon(me);
        var tickbase = Entity.GetProp(me, "CCSPlayer", "m_nTickBase");
        var curtime = Globals.TickInterval() * (tickbase-14)
        if (me == null || wpn == null || curtime < Entity.GetProp(me, "CCSPlayer", "m_flNextAttack") || curtime < Entity.GetProp(wpn, "CBaseCombatWeapon", "m_flNextPrimaryAttack")) can_shot = false
        else can_shot == true;

        var is_charged = Exploit.GetCharge()
        Exploit[(is_charged != 1 ? "Enable" : "Disable") + "Recharge"]()
        if (can_shot == true && is_charged != 1) {
            Exploit.DisableRecharge();
            Exploit.Recharge()
        }
    }
    else {
        Exploit.EnableRecharge();
    }
    //Two shot
    if (UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 1) && UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && !UI.IsHotkeyActive('Script items', 'Damage override key')) {
        var weapon_name = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
        var enemyhp = Entity.GetProp(Ragebot.GetTarget(), "CPlayerResource", "m_iHealth");
        if (enemyhp < 40) return;
        if (weapon_name == "g3sg1" || weapon_name == "scar 20") {
            Ragebot.ForceTargetMinimumDamage(Ragebot.GetTarget(), enemyhp/2)
        }
    }
    //Prefer baim on DT function
    if(UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 2)) {
        if(UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && UI.GetValue("Rage", "GENERAL", "Exploits", "Doubletap") && Exploit.GetCharge() === 1) UI.SetValue("Rage", "AUTO", "Accuracy", "Prefer body aim", 1);
        else UI.SetValue("Rage", "AUTOSNIPER", "Accuracy", "Prefer body aim", 0);
    }
    //Prefer safepoint on DT function
    if(!UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 3)) {
         if(UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && UI.GetValue("Rage", "GENERAL", "Exploits", "Doubletap")) return;
        enemies = Entity.GetEnemies();
        for (i = 0; i < enemies.length; i++) {
            if (!Entity.IsAlive(enemies[i])) continue;
            Ragebot.ForceTargetSafety(enemies[i]);
        }
    }
   
}

Cheat.RegisterCallback("CreateMove", "DT_improvements")

function doubletap_recharge_unload() {
    Exploit.EnableRecharge();
}

Cheat.RegisterCallback("Unload", "doubletap_recharge_unload");



UI.GetDropdownvalue = function(value, index) {
    var mask = 1 << index;
    return value & mask ? true : false;
}
 
Последнее редактирование:
Эксперт
Статус
Оффлайн
Регистрация
22 Мар 2020
Сообщения
2,191
Реакции[?]
484
Поинты[?]
3K
Ускорение перезарядки дт != ускорение дт. Приятной игры.

SS:

JavaScript:
UI.AddMultiDropdown("Doubletap improvements", ["Recharge", "Two shot", "Prefer baim", "Prefer safepoint"])

//Doubletap improvements function
var can_shot = [];
function DT_improvements(){
    //Doubletap recharge function
    if(UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 0)) {
        var me = Entity.GetLocalPlayer();
        var wpn = Entity.GetWeapon(me);
        var tickbase = Entity.GetProp(me, "CCSPlayer", "m_nTickBase");
        var curtime = Globals.TickInterval() * (tickbase-14)
        if (me == null || wpn == null || curtime < Entity.GetProp(me, "CCSPlayer", "m_flNextAttack") || curtime < Entity.GetProp(wpn, "CBaseCombatWeapon", "m_flNextPrimaryAttack")) can_shot = false
        else can_shot == true;

        var is_charged = Exploit.GetCharge()
        Exploit[(is_charged != 1 ? "Enable" : "Disable") + "Recharge"]()
        if (can_shot == true && is_charged != 1) {
            Exploit.DisableRecharge();
            Exploit.Recharge()
        }
    }
    else {
        Exploit.EnableRecharge();
    }
    //Two shot
    if (UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 1) && UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && !UI.IsHotkeyActive('Script items', 'Damage override key')) {
        var weapon_name = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
        var enemyhp = Entity.GetProp(Ragebot.GetTarget(), "CPlayerResource", "m_iHealth");
        if (weapon_name == "g3sg1" || weapon_name == "scar 20") {
            Ragebot.ForceTargetMinimumDamage(Ragebot.GetTarget(), enemyhp/2)
        }
    }
    //Prefer baim on DT function
    if(UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 2)) {
        if(UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && UI.GetValue("Rage", "GENERAL", "Exploits", "Doubletap") && Exploit.GetCharge() === 1) UI.SetValue("Rage", "AUTO", "Accuracy", "Prefer body aim", 1);
        else UI.SetValue("Rage", "AUTOSNIPER", "Accuracy", "Prefer body aim", 0);
    }
    //Prefer safepoint on DT function
    if(!UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 3)) {
         if(UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && UI.GetValue("Rage", "GENERAL", "Exploits", "Doubletap")) return;
        enemies = Entity.GetEnemies();
        for (i = 0; i < enemies.length; i++) {
            if (!Entity.IsValid(enemies[i])) continue;
            if (!Entity.IsAlive(enemies[i])) continue;
            Ragebot.ForceTargetSafety(enemies[i]);
        }
    }
   
}

Cheat.RegisterCallback("CreateMove", "DT_improvements")

function doubletap_recharge_unload() {
    Exploit.EnableRecharge();
}

Cheat.RegisterCallback("Unload", "doubletap_recharge_unload");



UI.GetDropdownvalue = function(value, index) {
    var mask = 1 << index;
    return value & mask ? true : false;
}
Ниче нового, ну лан, хорош
 
Начинающий
Статус
Оффлайн
Регистрация
4 Мар 2021
Сообщения
26
Реакции[?]
6
Поинты[?]
0
Ускорение перезарядки дт != ускорение дт. Приятной игры.

SS:

JavaScript:
UI.AddMultiDropdown("Doubletap improvements", ["Recharge", "Two shot", "Prefer baim", "Prefer safepoint"])

//Doubletap improvements function
var can_shot = [];
function DT_improvements(){
    //Doubletap recharge function
    if(UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 0)) {
        var me = Entity.GetLocalPlayer();
        var wpn = Entity.GetWeapon(me);
        var tickbase = Entity.GetProp(me, "CCSPlayer", "m_nTickBase");
        var curtime = Globals.TickInterval() * (tickbase-14)
        if (me == null || wpn == null || curtime < Entity.GetProp(me, "CCSPlayer", "m_flNextAttack") || curtime < Entity.GetProp(wpn, "CBaseCombatWeapon", "m_flNextPrimaryAttack")) can_shot = false
        else can_shot == true;

        var is_charged = Exploit.GetCharge()
        Exploit[(is_charged != 1 ? "Enable" : "Disable") + "Recharge"]()
        if (can_shot == true && is_charged != 1) {
            Exploit.DisableRecharge();
            Exploit.Recharge()
        }
    }
    else {
        Exploit.EnableRecharge();
    }
    //Two shot
    if (UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 1) && UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && !UI.IsHotkeyActive('Script items', 'Damage override key')) {
        var weapon_name = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
        var enemyhp = Entity.GetProp(Ragebot.GetTarget(), "CPlayerResource", "m_iHealth");
        if (weapon_name == "g3sg1" || weapon_name == "scar 20") {
            Ragebot.ForceTargetMinimumDamage(Ragebot.GetTarget(), enemyhp/2)
        }
    }
    //Prefer baim on DT function
    if(UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 2)) {
        if(UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && UI.GetValue("Rage", "GENERAL", "Exploits", "Doubletap") && Exploit.GetCharge() === 1) UI.SetValue("Rage", "AUTO", "Accuracy", "Prefer body aim", 1);
        else UI.SetValue("Rage", "AUTOSNIPER", "Accuracy", "Prefer body aim", 0);
    }
    //Prefer safepoint on DT function
    if(!UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 3)) {
         if(UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && UI.GetValue("Rage", "GENERAL", "Exploits", "Doubletap")) return;
        enemies = Entity.GetEnemies();
        for (i = 0; i < enemies.length; i++) {
            if (!Entity.IsValid(enemies[i])) continue;
            if (!Entity.IsAlive(enemies[i])) continue;
            Ragebot.ForceTargetSafety(enemies[i]);
        }
    }
   
}

Cheat.RegisterCallback("CreateMove", "DT_improvements")

function doubletap_recharge_unload() {
    Exploit.EnableRecharge();
}

Cheat.RegisterCallback("Unload", "doubletap_recharge_unload");



UI.GetDropdownvalue = function(value, index) {
    var mask = 1 << index;
    return value & mask ? true : false;
}
Good, job on that
 
Олдфаг
Статус
Оффлайн
Регистрация
28 Дек 2018
Сообщения
2,585
Реакции[?]
1,436
Поинты[?]
2K
1631970147969.png
Что за 2 одинаковые проверки?

1631970179908.png
А с этим лучше не связываться. будешь делить 5хп на 2, а потом жаловаться на мисс по сприду ?)
 
Эксперт
Статус
Оффлайн
Регистрация
14 Ноя 2020
Сообщения
1,796
Реакции[?]
586
Поинты[?]
2K
Уникальное звание
Пользователь
Статус
Оффлайн
Регистрация
8 Авг 2019
Сообщения
679
Реакции[?]
132
Поинты[?]
6K
Олдфаг
Статус
Оффлайн
Регистрация
28 Дек 2018
Сообщения
2,585
Реакции[?]
1,436
Поинты[?]
2K
how to get json?
Пользователь
Статус
Оффлайн
Регистрация
10 Окт 2019
Сообщения
314
Реакции[?]
54
Поинты[?]
16K
Эксперт
Статус
Оффлайн
Регистрация
14 Ноя 2020
Сообщения
1,796
Реакции[?]
586
Поинты[?]
2K
NullPointerException is my life
Начинающий
Статус
Оффлайн
Регистрация
12 Июл 2020
Сообщения
147
Реакции[?]
9
Поинты[?]
0
Ускорение перезарядки дт != ускорение дт. Приятной игры.

SS:

JavaScript:
UI.AddMultiDropdown("Doubletap improvements", ["Recharge", "Two shot", "Prefer baim", "Prefer safepoint"])

//Doubletap improvements function
var can_shot = [];
function DT_improvements(){
    //Doubletap recharge function
    if(UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 0)) {
        var me = Entity.GetLocalPlayer();
        var wpn = Entity.GetWeapon(me);
        var tickbase = Entity.GetProp(me, "CCSPlayer", "m_nTickBase");
        var curtime = Globals.TickInterval() * (tickbase-14)
        if (me == null || wpn == null || curtime < Entity.GetProp(me, "CCSPlayer", "m_flNextAttack") || curtime < Entity.GetProp(wpn, "CBaseCombatWeapon", "m_flNextPrimaryAttack")) can_shot = false
        else can_shot == true;

        var is_charged = Exploit.GetCharge()
        Exploit[(is_charged != 1 ? "Enable" : "Disable") + "Recharge"]()
        if (can_shot == true && is_charged != 1) {
            Exploit.DisableRecharge();
            Exploit.Recharge()
        }
    }
    else {
        Exploit.EnableRecharge();
    }
    //Two shot
    if (UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 1) && UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && !UI.IsHotkeyActive('Script items', 'Damage override key')) {
        var weapon_name = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
        var enemyhp = Entity.GetProp(Ragebot.GetTarget(), "CPlayerResource", "m_iHealth");
        if (enemyhp < 40) return;
        if (weapon_name == "g3sg1" || weapon_name == "scar 20") {
            Ragebot.ForceTargetMinimumDamage(Ragebot.GetTarget(), enemyhp/2)
        }
    }
    //Prefer baim on DT function
    if(UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 2)) {
        if(UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && UI.GetValue("Rage", "GENERAL", "Exploits", "Doubletap") && Exploit.GetCharge() === 1) UI.SetValue("Rage", "AUTO", "Accuracy", "Prefer body aim", 1);
        else UI.SetValue("Rage", "AUTOSNIPER", "Accuracy", "Prefer body aim", 0);
    }
    //Prefer safepoint on DT function
    if(!UI.GetDropdownvalue(UI.GetValue('Script items', 'Doubletap improvements'), 3)) {
         if(UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap") && UI.GetValue("Rage", "GENERAL", "Exploits", "Doubletap")) return;
        enemies = Entity.GetEnemies();
        for (i = 0; i < enemies.length; i++) {
            if (!Entity.IsAlive(enemies[i])) continue;
            Ragebot.ForceTargetSafety(enemies[i]);
        }
    }
  
}

Cheat.RegisterCallback("CreateMove", "DT_improvements")

function doubletap_recharge_unload() {
    Exploit.EnableRecharge();
}

Cheat.RegisterCallback("Unload", "doubletap_recharge_unload");



UI.GetDropdownvalue = function(value, index) {
    var mask = 1 << index;
    return value & mask ? true : false;
}
/del
 
Сверху Снизу