JS-скрипт [otc3] Мин дамаг через Ragebot.ForceTargetMinimumDamage с индикатором [ фулл пастед ]

Забаненный
Статус
Оффлайн
Регистрация
1 Апр 2019
Сообщения
69
Реакции[?]
3
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
паблик
 
Начинающий
Статус
Оффлайн
Регистрация
7 Сен 2020
Сообщения
117
Реакции[?]
17
Поинты[?]
0
JavaScript:
UI.AddHotkey("Override min dmg")
UI.AddSliderInt("Heavy Pistol Mindmg", 0, 130)
UI.AddSliderInt("Scout Mindmg", 0, 130)
UI.AddSliderInt("AWP Mindmg", 0, 130)
UI.AddSliderInt("Auto Mindmg", 0, 130)
UI.AddHotkey("Override min dmg #2")
UI.AddSliderInt("Heavy Pistol Mindmg #2", 0, 130)
UI.AddSliderInt("Scout Mindmg #2", 0, 130)
UI.AddSliderInt("AWP Mindmg #2", 0, 130)
UI.AddSliderInt("Auto Mindmg #2", 0, 130)
var heavy_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
var scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
var awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
var auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
function isActive(a)
{
    return UI.IsHotkeyActive("Script Items", a)
}
function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}
var first = true;
function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}
function isAutoSniper(name)
{
    if(name == "scar 20" || name == "g3sg1")
    {
        return true
    }
}
function onCM()
{

    heavy_value = UI.GetValue("Script items", "Heavy Pistol Mindmg")
    scout_value = UI.GetValue("Script items", "Scout Mindmg")
    awp_value = UI.GetValue("Script items", "AWP Mindmg")
    auto_value = UI.GetValue("Script items", "Auto Mindmg")
    heavy_value2 = UI.GetValue("Script items", "Heavy Pistol Mindmg #2")
    scout_value2 = UI.GetValue("Script items", "Scout Mindmg #2")
    awp_value2 = UI.GetValue("Script items", "AWP Mindmg #2")
    auto_value2 = UI.GetValue("Script items", "Auto Mindmg #2")

    if (UI.IsMenuOpen( ) == true)
    {
        if(first)
        {
          setValue("SCOUT", scout_cache)
          setValue("HEAVY PISTOL", heavy_cache)
          setValue("AWP", awp_cache)
          setValue("AUTOSNIPER", auto_cache)
          first = false;
        }
        heavy_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
        scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
        awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
        auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
        return;
    }
    else
    {
      first = true;
    }

    if (isActive("Override min dmg"))
    {
        setValue("SCOUT", scout_value)
        setValue("AWP", awp_value)
        setValue("HEAVY PISTOL", heavy_value)
        setValue("AUTOSNIPER", auto_value)
        return;
    }
    else{
        setValue("SCOUT", scout_cache)
        setValue("HEAVY PISTOL", heavy_cache)
        setValue("AWP", awp_cache)
        setValue("AUTOSNIPER", auto_cache)
   
    }

    if (isActive("Override min dmg #2"))
    {
        setValue("SCOUT", scout_value2)
        setValue("AWP", awp_value2)
        setValue("HEAVY PISTOL", heavy_value2)
        setValue("AUTOSNIPER", auto_value2)

    }
    else{
        setValue("SCOUT", scout_cache)
        setValue("HEAVY PISTOL", heavy_cache)
        setValue("AWP", awp_cache)
        setValue("AUTOSNIPER", auto_cache)
     
    }

}
function indicator()
{
    screen = Render.GetScreenSize()
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    x = screen[0]/2
    y = screen[1]/2
    heavy = " " + UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = " " + UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = " " + UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = " " + UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    var str = ""
    if (UI.GetValue("Script items", "Display indicators") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
        else
        {
        Render.String(x-26, y+31, 0, "adaptive", [0, 0, 0,255])
        Render.String(x-27, y+30, 0, "adaptive", [128, 142, 255,255])
        }
    }
    Render.String(x-11, y+31, 0, str, [0, 0, 0,255])
    Render.String(x-12, y+30, 0, str, [128, 142, 255,255])
}
Cheat.RegisterCallback("Draw", "indicator")
Cheat.RegisterCallback("CreateMove", "onCM")
взял у CumPuter
А на в4 есть подобное? как не искал не форуме вт и других, ничего. Хотя апи вроде позволяет
 
EBLAN
Пользователь
Статус
Оффлайн
Регистрация
7 Фев 2021
Сообщения
465
Реакции[?]
146
Поинты[?]
2K
nixer chmo
Пользователь
Статус
Оффлайн
Регистрация
21 Июн 2019
Сообщения
280
Реакции[?]
63
Поинты[?]
1K
JavaScript:
UI.AddCheckbox("Draw indicators");
UI.AddSliderInt("Indicator offset X", 1, 1920);
UI.AddSliderInt("Indicator offset Y", 1, 1080);
UI.AddHotkey("Min damage override");
UI.AddSliderInt( "DMG", 1, 130 );
var slider_values = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "DMG")

function minDamageOverride(){
    if(!UI.IsHotkeyActive('Script items', 'Min damage override')) return;
    enemies = Entity.GetEnemies();
    for(i = 0; i < enemies.length; i++){
        if (!Entity.IsValid(enemies[i])) continue;
        if (!Entity.IsAlive(enemies[i])) continue;
        Ragebot.ForceTargetMinimumDamage(enemies[i], slider_values);
    }
}

function drawFunction(){
    var shouldDraw = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Draw indicators");
    if (shouldDraw) {
       
        var screen_size = Global.GetScreenSize();
        var x = (UI.GetValue("Misc", "JAVASCRIPT", "Script Items","Indicator offset X"))
        var y = (UI.GetValue("Misc", "JAVASCRIPT", "Script Items","Indicator offset Y"))

        var keybindArray = [
           
        ];
       
        if (UI.IsHotkeyActive('Script items', 'Min damage override')) {
            keybindArray.push("DMG")
        }
       
        var text_size = 3.5

        for (var i=0;i < keybindArray.length;i++) {
            var textHeight = text_size*5.5
            var y_add = (textHeight * i)
            var clr = [255, 255, 255 ,255]
            if (keybindArray[i] == "DMG") {
                clr = [255, 140, 0 ,255]
            }    
            Render.String( x, y - y_add, 0, keybindArray[i], clr,text_size);
        }
    }
}

Global.RegisterCallback("Draw","drawFunction")
Global.RegisterCallback("CreateMove", "minDamageOverride")
Мин дамаг спастил с otc3 cord THX @Sleebu
Индикатор с этой темы про Freestanding on key+indicator

Пожалуйста, авторизуйтесь для просмотра ссылки.
have shitcode, но должно работать нормально, и вообще можно сократить в 15 строк или меньше
 
EBLAN
Пользователь
Статус
Оффлайн
Регистрация
7 Фев 2021
Сообщения
465
Реакции[?]
146
Поинты[?]
2K
Начинающий
Статус
Оффлайн
Регистрация
27 Фев 2020
Сообщения
255
Реакции[?]
25
Поинты[?]
0
JavaScript:
UI.AddCheckbox("Draw indicators");
UI.AddSliderInt("Indicator offset X", 1, 1920);
UI.AddSliderInt("Indicator offset Y", 1, 1080);
UI.AddHotkey("Min damage override");
UI.AddSliderInt( "DMG", 1, 130 );
var slider_values = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "DMG")

function minDamageOverride(){
    if(!UI.IsHotkeyActive('Script items', 'Min damage override')) return;
    enemies = Entity.GetEnemies();
    for(i = 0; i < enemies.length; i++){
        if (!Entity.IsValid(enemies[i])) continue;
        if (!Entity.IsAlive(enemies[i])) continue;
        Ragebot.ForceTargetMinimumDamage(enemies[i], slider_values);
    }
}

function drawFunction(){
    var shouldDraw = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Draw indicators");
    if (shouldDraw) {
       
        var screen_size = Global.GetScreenSize();
        var x = (UI.GetValue("Misc", "JAVASCRIPT", "Script Items","Indicator offset X"))
        var y = (UI.GetValue("Misc", "JAVASCRIPT", "Script Items","Indicator offset Y"))

        var keybindArray = [
           
        ];
       
        if (UI.IsHotkeyActive('Script items', 'Min damage override')) {
            keybindArray.push("DMG")
        }
       
        var text_size = 3.5

        for (var i=0;i < keybindArray.length;i++) {
            var textHeight = text_size*5.5
            var y_add = (textHeight * i)
            var clr = [255, 255, 255 ,255]
            if (keybindArray[i] == "DMG") {
                clr = [255, 140, 0 ,255]
            }    
            Render.String( x, y - y_add, 0, keybindArray[i], clr,text_size);
        }
    }
}

Global.RegisterCallback("Draw","drawFunction")
Global.RegisterCallback("CreateMove", "minDamageOverride")
Мин дамаг спастил с otc3 cord THX @Sleebu
Индикатор с этой темы про Freestanding on key+indicator

Пожалуйста, авторизуйтесь для просмотра ссылки.
Чел ты... ПРОСТО ЛУЧШИЙ ЧЕЛОВЕК НА ЭТОЙ ПЛАНЕТЕ Я ЭТО ИСКАЛ 34.5 ЛЕТ!!!
 
Nike.lua
Олдфаг
Статус
Оффлайн
Регистрация
13 Окт 2020
Сообщения
2,747
Реакции[?]
1,465
Поинты[?]
2K
Я утром сделаю на все оружие ждите. :roflanEbalo:
не знаю зачем ты апнул тему но вот. ready 2 paste

JavaScript:
UI.AddHotkey('MinDMG key'),
UI.AddSliderInt('MinDMG - GENERAL', 0, 130),
UI.AddSliderInt('MinDMG - PISTOL', 0, 130),
UI.AddSliderInt('MinDMG - HEAVY PISTOL', 0, 130),
UI.AddSliderInt('MinDMG - SCOUT', 0, 130),
UI.AddSliderInt('MinDMG - AWP', 0, 130),
UI.AddSliderInt('MinDMG - AUTOSNIPER', 0, 130);

w2t = {'glock 18': 'PISTOL','cz75 auto': 'PISTOL','p250': 'PISTOL','five seven': 'PISTOL','dual berettas': 'PISTOL','tec 9': 'PISTOL','usp s': 'PISTOL', 'p2000': 'PISTOL','desert eagle': 'HEAVY PISTOL',
'r8 revoler': 'HEAVY PISTOL','mac 10': 'GENERAL', 'mp9': 'GENERAL', 'mp7': 'GENERAL', 'ump 45': 'GENERAL', 'pp bizon': 'GENERAL', 'p90': 'GENERAL','galil ar': 'GENERAL','famas': 'GENERAL', 'ak 47': 'GENERAL',
'm4a4': 'GENERAL', 'm4a1 s': 'GENERAL','sg 553': 'GENERAL', 'aug': 'GENERAL','nova': 'GENERAL','xm1014': 'GENERAL','sawed off': 'GENERAL','mag 7': 'GENERAL','m249': 'GENERAL', 'negev': 'GENERAL',
'ssg 08': 'SCOUT','awp': 'AWP','scar 20': 'AUTOSNIPER','g3sg1': 'AUTOSNIPER'}

function minDMG() {
    tab = w2t[Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))]
    if (tab == undefined) tab = 'GENERAL'

    dmg = UI.GetValue('Script items', 'MinDMG - ' + tab)

    enemies = Entity.GetEnemies()
    for (var i in enemies) {
        if (UI.IsHotkeyActive('Script items', 'MinDMG key')) {
            Ragebot.ForceTargetMinimumDamage(enemies[i], dmg)
        }
    }
}

Cheat.RegisterCallback('CreateMove', 'minDMG')
 
Начинающий
Статус
Оффлайн
Регистрация
9 Июн 2021
Сообщения
4
Реакции[?]
0
Поинты[?]
0
вот держи
JavaScript:
UI.AddCheckbox("Enable mind");
UI.AddCheckbox("Show currently mindamage");
UI.AddHotkey("Minimum Damage Override");
UI.AddSliderInt("General Mindmg", 0, 130);
UI.AddSliderInt("Pistol Mindmg", 0, 130);
UI.AddSliderInt("Heavy Pistol Mindmg", 0, 130);
UI.AddSliderInt("Scout Mindmg", 0, 130);
UI.AddSliderInt("AWP Mindmg", 0, 130);
UI.AddSliderInt("Auto Mindmg", 0, 130);


setDMG_auto = false
setDMG_auto_return = true

setDMG_awp = false
setDMG_awp_return = true

setDMG_scout = false
setDMG_scout_return = true

setDMG_HVpistol = false
setDMG_HVpistol_return = true

setDMG_pistol = false
setDMG_pistol_return = true

setDMG_general = false
setDMG_general_return = true

function SetEnabled()
{

    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind"))
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 1);
    }
    else
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 0);
    }
}

function isActive(a)
{
    return UI.IsHotkeyActive("Script items", a)
}
function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}


function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}

function isPistol(name)
{
    if (name == "glock 18" || name == "five seven" || name == "dual berettas" || name == "p250" || name == "tec 9" || name == "usp s" || name == "cz75 auto" || name == "p2000")
    {
        return true
    }
}

function isAutoSniper(name)
{
    if(name == "scar 20" || name == "g3sg1")
    {
        return true
    }
}

function onCM()
{
    var general_value = UI.GetValue("Script items", "General Mindmg")
    var pistol_value = UI.GetValue("Script items", "Pistol Mindmg")
    var heavy_value = UI.GetValue("Script items", "Heavy Pistol Mindmg")
    var scout_value = UI.GetValue("Script items", "Scout Mindmg")
    var awp_value = UI.GetValue("Script items", "AWP Mindmg")
    var auto_value = UI.GetValue("Script items", "Auto Mindmg")
    local_weapon_name =  Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))

 

        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_general)
            {
               general_cache = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
               setValue("GENERAL", general_value)
               setDMG_general = true
               setDMG_general_return = false
            }
        }
        else
        {
            if (!setDMG_general_return)
            {
               setValue("GENERAL", general_cache)
               setDMG_general = false
               setDMG_general_return = true
            }
        }

 

    if (isPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_pistol)
            {
               pistol_cache = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
               setValue("PISTOL", pistol_value)
               setDMG_pistol = true
               setDMG_pistol_return = false
            }
        }
        else
        {
            if (!setDMG_pistol_return)
            {
               setValue("PISTOL", pistol_cache)
               setDMG_pistol = false
               setDMG_pistol_return = true
            }
        }
    }



    if (isHeavyPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_HVpistol)
            {
               HVpistol_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
               setValue("HEAVY PISTOL", heavy_value)
               setDMG_HVpistol = true
               setDMG_HVpistol_return = false
            }
        }
        else
        {
            if (!setDMG_HVpistol_return)
            {
               setValue("HEAVY PISTOL", HVpistol_cache)
               setDMG_HVpistol = false
               setDMG_HVpistol_return = true
            }
        }
    }

    // SCOUT

    if (local_weapon_name == "ssg 08")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_scout)
            {
               scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
               setValue("SCOUT", scout_value)
               setDMG_scout = true
               setDMG_scout_return = false
            }
        }
        else
        {
            if (!setDMG_scout_return)
            {
               setValue("SCOUT", scout_cache)
               setDMG_scout = false
               setDMG_scout_return = true
            }
        }
    }



    if (local_weapon_name == "awp")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_awp)
            {
               awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
               setValue("AWP", awp_value)
               setDMG_awp = true
               setDMG_awp_return = false
            }
        }
        else
        {
            if (!setDMG_awp_return)
            {
               setValue("AWP", awp_cache)
               setDMG_awp = false
               setDMG_awp_return = true
            }
        }
    }



    if (isAutoSniper(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_auto)
            {
               auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
               setValue("AUTOSNIPER", auto_value)
               setDMG_auto = true
               setDMG_auto_return = false
            }
        }
        else
        {
            if (!setDMG_auto_return)
            {
               setValue("AUTOSNIPER", auto_cache)
               setDMG_auto = false
               setDMG_auto_return = true
            }
        }
    }
}

function indicator()
{
    render_get_screen_size = Render.GetScreenSize
    const y = render_get_screen_size()[1];
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    general = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
    pistol = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
    heavy = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    font = Render.AddFont("Tahoma", 17, 100);

    var str = ""
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isPistol(wep))
        {
            str = pistol
        }
        else if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
        else
        {
            str = general
        }
    }
         Render.StringCustom(23, y - 445, +100, str+"", [ 255, 255, 255, 255 ], font);
         Render.StringCustom(23, y - 445, 90, str+"", [ 1, 200, 150, 255 ], font)
}

Global.RegisterCallback("Draw", "SetEnabled");
Cheat.RegisterCallback("CreateMove", "onCM");
Cheat.RegisterCallback("Draw", "indicator");
 
Nike.lua
Олдфаг
Статус
Оффлайн
Регистрация
13 Окт 2020
Сообщения
2,747
Реакции[?]
1,465
Поинты[?]
2K
вот держи
JavaScript:
UI.AddCheckbox("Enable mind");
UI.AddCheckbox("Show currently mindamage");
UI.AddHotkey("Minimum Damage Override");
UI.AddSliderInt("General Mindmg", 0, 130);
UI.AddSliderInt("Pistol Mindmg", 0, 130);
UI.AddSliderInt("Heavy Pistol Mindmg", 0, 130);
UI.AddSliderInt("Scout Mindmg", 0, 130);
UI.AddSliderInt("AWP Mindmg", 0, 130);
UI.AddSliderInt("Auto Mindmg", 0, 130);


setDMG_auto = false
setDMG_auto_return = true

setDMG_awp = false
setDMG_awp_return = true

setDMG_scout = false
setDMG_scout_return = true

setDMG_HVpistol = false
setDMG_HVpistol_return = true

setDMG_pistol = false
setDMG_pistol_return = true

setDMG_general = false
setDMG_general_return = true

function SetEnabled()
{

    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind"))
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 1);
    }
    else
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 0);
    }
}

function isActive(a)
{
    return UI.IsHotkeyActive("Script items", a)
}
function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}


function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}

function isPistol(name)
{
    if (name == "glock 18" || name == "five seven" || name == "dual berettas" || name == "p250" || name == "tec 9" || name == "usp s" || name == "cz75 auto" || name == "p2000")
    {
        return true
    }
}

function isAutoSniper(name)
{
    if(name == "scar 20" || name == "g3sg1")
    {
        return true
    }
}

function onCM()
{
    var general_value = UI.GetValue("Script items", "General Mindmg")
    var pistol_value = UI.GetValue("Script items", "Pistol Mindmg")
    var heavy_value = UI.GetValue("Script items", "Heavy Pistol Mindmg")
    var scout_value = UI.GetValue("Script items", "Scout Mindmg")
    var awp_value = UI.GetValue("Script items", "AWP Mindmg")
    var auto_value = UI.GetValue("Script items", "Auto Mindmg")
    local_weapon_name =  Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))



        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_general)
            {
               general_cache = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
               setValue("GENERAL", general_value)
               setDMG_general = true
               setDMG_general_return = false
            }
        }
        else
        {
            if (!setDMG_general_return)
            {
               setValue("GENERAL", general_cache)
               setDMG_general = false
               setDMG_general_return = true
            }
        }



    if (isPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_pistol)
            {
               pistol_cache = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
               setValue("PISTOL", pistol_value)
               setDMG_pistol = true
               setDMG_pistol_return = false
            }
        }
        else
        {
            if (!setDMG_pistol_return)
            {
               setValue("PISTOL", pistol_cache)
               setDMG_pistol = false
               setDMG_pistol_return = true
            }
        }
    }



    if (isHeavyPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_HVpistol)
            {
               HVpistol_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
               setValue("HEAVY PISTOL", heavy_value)
               setDMG_HVpistol = true
               setDMG_HVpistol_return = false
            }
        }
        else
        {
            if (!setDMG_HVpistol_return)
            {
               setValue("HEAVY PISTOL", HVpistol_cache)
               setDMG_HVpistol = false
               setDMG_HVpistol_return = true
            }
        }
    }

    // SCOUT

    if (local_weapon_name == "ssg 08")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_scout)
            {
               scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
               setValue("SCOUT", scout_value)
               setDMG_scout = true
               setDMG_scout_return = false
            }
        }
        else
        {
            if (!setDMG_scout_return)
            {
               setValue("SCOUT", scout_cache)
               setDMG_scout = false
               setDMG_scout_return = true
            }
        }
    }



    if (local_weapon_name == "awp")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_awp)
            {
               awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
               setValue("AWP", awp_value)
               setDMG_awp = true
               setDMG_awp_return = false
            }
        }
        else
        {
            if (!setDMG_awp_return)
            {
               setValue("AWP", awp_cache)
               setDMG_awp = false
               setDMG_awp_return = true
            }
        }
    }



    if (isAutoSniper(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_auto)
            {
               auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
               setValue("AUTOSNIPER", auto_value)
               setDMG_auto = true
               setDMG_auto_return = false
            }
        }
        else
        {
            if (!setDMG_auto_return)
            {
               setValue("AUTOSNIPER", auto_cache)
               setDMG_auto = false
               setDMG_auto_return = true
            }
        }
    }
}

function indicator()
{
    render_get_screen_size = Render.GetScreenSize
    const y = render_get_screen_size()[1];
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    general = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
    pistol = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
    heavy = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    font = Render.AddFont("Tahoma", 17, 100);

    var str = ""
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isPistol(wep))
        {
            str = pistol
        }
        else if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
        else
        {
            str = general
        }
    }
         Render.StringCustom(23, y - 445, +100, str+"", [ 255, 255, 255, 255 ], font);
         Render.StringCustom(23, y - 445, 90, str+"", [ 1, 200, 150, 255 ], font)
}

Global.RegisterCallback("Draw", "SetEnabled");
Cheat.RegisterCallback("CreateMove", "onCM");
Cheat.RegisterCallback("Draw", "indicator");
что это за кринж, пиздец...
 
Пользователь
Статус
Оффлайн
Регистрация
21 Дек 2019
Сообщения
228
Реакции[?]
101
Поинты[?]
0
вот держи
JavaScript:
UI.AddCheckbox("Enable mind");
UI.AddCheckbox("Show currently mindamage");
UI.AddHotkey("Minimum Damage Override");
UI.AddSliderInt("General Mindmg", 0, 130);
UI.AddSliderInt("Pistol Mindmg", 0, 130);
UI.AddSliderInt("Heavy Pistol Mindmg", 0, 130);
UI.AddSliderInt("Scout Mindmg", 0, 130);
UI.AddSliderInt("AWP Mindmg", 0, 130);
UI.AddSliderInt("Auto Mindmg", 0, 130);


setDMG_auto = false
setDMG_auto_return = true

setDMG_awp = false
setDMG_awp_return = true

setDMG_scout = false
setDMG_scout_return = true

setDMG_HVpistol = false
setDMG_HVpistol_return = true

setDMG_pistol = false
setDMG_pistol_return = true

setDMG_general = false
setDMG_general_return = true

function SetEnabled()
{

    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind"))
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 1);
    }
    else
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 0);
    }
}

function isActive(a)
{
    return UI.IsHotkeyActive("Script items", a)
}
function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}


function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}

function isPistol(name)
{
    if (name == "glock 18" || name == "five seven" || name == "dual berettas" || name == "p250" || name == "tec 9" || name == "usp s" || name == "cz75 auto" || name == "p2000")
    {
        return true
    }
}

function isAutoSniper(name)
{
    if(name == "scar 20" || name == "g3sg1")
    {
        return true
    }
}

function onCM()
{
    var general_value = UI.GetValue("Script items", "General Mindmg")
    var pistol_value = UI.GetValue("Script items", "Pistol Mindmg")
    var heavy_value = UI.GetValue("Script items", "Heavy Pistol Mindmg")
    var scout_value = UI.GetValue("Script items", "Scout Mindmg")
    var awp_value = UI.GetValue("Script items", "AWP Mindmg")
    var auto_value = UI.GetValue("Script items", "Auto Mindmg")
    local_weapon_name =  Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))

 

        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_general)
            {
               general_cache = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
               setValue("GENERAL", general_value)
               setDMG_general = true
               setDMG_general_return = false
            }
        }
        else
        {
            if (!setDMG_general_return)
            {
               setValue("GENERAL", general_cache)
               setDMG_general = false
               setDMG_general_return = true
            }
        }

 

    if (isPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_pistol)
            {
               pistol_cache = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
               setValue("PISTOL", pistol_value)
               setDMG_pistol = true
               setDMG_pistol_return = false
            }
        }
        else
        {
            if (!setDMG_pistol_return)
            {
               setValue("PISTOL", pistol_cache)
               setDMG_pistol = false
               setDMG_pistol_return = true
            }
        }
    }



    if (isHeavyPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_HVpistol)
            {
               HVpistol_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
               setValue("HEAVY PISTOL", heavy_value)
               setDMG_HVpistol = true
               setDMG_HVpistol_return = false
            }
        }
        else
        {
            if (!setDMG_HVpistol_return)
            {
               setValue("HEAVY PISTOL", HVpistol_cache)
               setDMG_HVpistol = false
               setDMG_HVpistol_return = true
            }
        }
    }

    // SCOUT

    if (local_weapon_name == "ssg 08")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_scout)
            {
               scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
               setValue("SCOUT", scout_value)
               setDMG_scout = true
               setDMG_scout_return = false
            }
        }
        else
        {
            if (!setDMG_scout_return)
            {
               setValue("SCOUT", scout_cache)
               setDMG_scout = false
               setDMG_scout_return = true
            }
        }
    }



    if (local_weapon_name == "awp")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_awp)
            {
               awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
               setValue("AWP", awp_value)
               setDMG_awp = true
               setDMG_awp_return = false
            }
        }
        else
        {
            if (!setDMG_awp_return)
            {
               setValue("AWP", awp_cache)
               setDMG_awp = false
               setDMG_awp_return = true
            }
        }
    }



    if (isAutoSniper(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_auto)
            {
               auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
               setValue("AUTOSNIPER", auto_value)
               setDMG_auto = true
               setDMG_auto_return = false
            }
        }
        else
        {
            if (!setDMG_auto_return)
            {
               setValue("AUTOSNIPER", auto_cache)
               setDMG_auto = false
               setDMG_auto_return = true
            }
        }
    }
}

function indicator()
{
    render_get_screen_size = Render.GetScreenSize
    const y = render_get_screen_size()[1];
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    general = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
    pistol = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
    heavy = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    font = Render.AddFont("Tahoma", 17, 100);

    var str = ""
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isPistol(wep))
        {
            str = pistol
        }
        else if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
        else
        {
            str = general
        }
    }
         Render.StringCustom(23, y - 445, +100, str+"", [ 255, 255, 255, 255 ], font);
         Render.StringCustom(23, y - 445, 90, str+"", [ 1, 200, 150, 255 ], font)
}

Global.RegisterCallback("Draw", "SetEnabled");
Cheat.RegisterCallback("CreateMove", "onCM");
Cheat.RegisterCallback("Draw", "indicator");
пиздец
 
EBLAN
Пользователь
Статус
Оффлайн
Регистрация
7 Фев 2021
Сообщения
465
Реакции[?]
146
Поинты[?]
2K
вот держи
JavaScript:
UI.AddCheckbox("Enable mind");
UI.AddCheckbox("Show currently mindamage");
UI.AddHotkey("Minimum Damage Override");
UI.AddSliderInt("General Mindmg", 0, 130);
UI.AddSliderInt("Pistol Mindmg", 0, 130);
UI.AddSliderInt("Heavy Pistol Mindmg", 0, 130);
UI.AddSliderInt("Scout Mindmg", 0, 130);
UI.AddSliderInt("AWP Mindmg", 0, 130);
UI.AddSliderInt("Auto Mindmg", 0, 130);


setDMG_auto = false
setDMG_auto_return = true

setDMG_awp = false
setDMG_awp_return = true

setDMG_scout = false
setDMG_scout_return = true

setDMG_HVpistol = false
setDMG_HVpistol_return = true

setDMG_pistol = false
setDMG_pistol_return = true

setDMG_general = false
setDMG_general_return = true

function SetEnabled()
{

    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind"))
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 1);
    }
    else
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 0);
    }
}

function isActive(a)
{
    return UI.IsHotkeyActive("Script items", a)
}
function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}


function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}

function isPistol(name)
{
    if (name == "glock 18" || name == "five seven" || name == "dual berettas" || name == "p250" || name == "tec 9" || name == "usp s" || name == "cz75 auto" || name == "p2000")
    {
        return true
    }
}

function isAutoSniper(name)
{
    if(name == "scar 20" || name == "g3sg1")
    {
        return true
    }
}

function onCM()
{
    var general_value = UI.GetValue("Script items", "General Mindmg")
    var pistol_value = UI.GetValue("Script items", "Pistol Mindmg")
    var heavy_value = UI.GetValue("Script items", "Heavy Pistol Mindmg")
    var scout_value = UI.GetValue("Script items", "Scout Mindmg")
    var awp_value = UI.GetValue("Script items", "AWP Mindmg")
    var auto_value = UI.GetValue("Script items", "Auto Mindmg")
    local_weapon_name =  Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))



        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_general)
            {
               general_cache = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
               setValue("GENERAL", general_value)
               setDMG_general = true
               setDMG_general_return = false
            }
        }
        else
        {
            if (!setDMG_general_return)
            {
               setValue("GENERAL", general_cache)
               setDMG_general = false
               setDMG_general_return = true
            }
        }



    if (isPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_pistol)
            {
               pistol_cache = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
               setValue("PISTOL", pistol_value)
               setDMG_pistol = true
               setDMG_pistol_return = false
            }
        }
        else
        {
            if (!setDMG_pistol_return)
            {
               setValue("PISTOL", pistol_cache)
               setDMG_pistol = false
               setDMG_pistol_return = true
            }
        }
    }



    if (isHeavyPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_HVpistol)
            {
               HVpistol_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
               setValue("HEAVY PISTOL", heavy_value)
               setDMG_HVpistol = true
               setDMG_HVpistol_return = false
            }
        }
        else
        {
            if (!setDMG_HVpistol_return)
            {
               setValue("HEAVY PISTOL", HVpistol_cache)
               setDMG_HVpistol = false
               setDMG_HVpistol_return = true
            }
        }
    }

    // SCOUT

    if (local_weapon_name == "ssg 08")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_scout)
            {
               scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
               setValue("SCOUT", scout_value)
               setDMG_scout = true
               setDMG_scout_return = false
            }
        }
        else
        {
            if (!setDMG_scout_return)
            {
               setValue("SCOUT", scout_cache)
               setDMG_scout = false
               setDMG_scout_return = true
            }
        }
    }



    if (local_weapon_name == "awp")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_awp)
            {
               awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
               setValue("AWP", awp_value)
               setDMG_awp = true
               setDMG_awp_return = false
            }
        }
        else
        {
            if (!setDMG_awp_return)
            {
               setValue("AWP", awp_cache)
               setDMG_awp = false
               setDMG_awp_return = true
            }
        }
    }



    if (isAutoSniper(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_auto)
            {
               auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
               setValue("AUTOSNIPER", auto_value)
               setDMG_auto = true
               setDMG_auto_return = false
            }
        }
        else
        {
            if (!setDMG_auto_return)
            {
               setValue("AUTOSNIPER", auto_cache)
               setDMG_auto = false
               setDMG_auto_return = true
            }
        }
    }
}

function indicator()
{
    render_get_screen_size = Render.GetScreenSize
    const y = render_get_screen_size()[1];
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    general = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
    pistol = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
    heavy = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    font = Render.AddFont("Tahoma", 17, 100);

    var str = ""
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isPistol(wep))
        {
            str = pistol
        }
        else if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
        else
        {
            str = general
        }
    }
         Render.StringCustom(23, y - 445, +100, str+"", [ 255, 255, 255, 255 ], font);
         Render.StringCustom(23, y - 445, 90, str+"", [ 1, 200, 150, 255 ], font)
}

Global.RegisterCallback("Draw", "SetEnabled");
Cheat.RegisterCallback("CreateMove", "onCM");
Cheat.RegisterCallback("Draw", "indicator");
pizdec
 
Сверху Снизу