Вопрос Как вывести хоткей ?

Забаненный
Статус
Оффлайн
Регистрация
6 Мар 2021
Сообщения
98
Реакции[?]
16
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Каааааааааак? Есть рабочий скрипт и надо вывести хоткей
 
Участник
Статус
Оффлайн
Регистрация
14 Сен 2019
Сообщения
856
Реакции[?]
248
Поинты[?]
2K
ну если с этим помогать никто не хочет, то скажите почему это не ворк :(
JavaScript:
UI.AddCheckbox( "Matchmaking FD");
UI.AddHotkey("MMatchmaking FD");
UI.AddDropdown( "Matchmaking FD type", [ "Legit (49-59)", "Semirage (46-56)", "Rage (47-55)", "Lower Rage (47-53)", "Semifull (47-59)", "Full (46-60)" ] );
UI.AddCheckbox( "Matchmaking FD lock camera");
UI.AddCheckbox( "Matchmaking FD forward yaw");
UI.AddCheckbox( "Matchmaking FD lowdelta");
var fd_choke = [8, 8, 7, 6, 11, 12];
var fd_min_height = [49, 46, 47, 47, 47, 46];
var fd_max_height = [59, 56, 55, 53, 59, 60];
var doubletap_bak = false;
var hideshots_bak = false;
var duck_bak = false;
var fakelag_state_bak = UI.GetValue("Anti-Aim", "Fake-Lag", "Enabled");
var fakelag_limit_bak = UI.GetValue("Anti-Aim", "Fake-Lag", "Limit");
var fakelag_jitter_bak = UI.GetValue("Anti-Aim", "Fake-Lag", "Jitter");
var fakelag_triggers_bak = UI.GetValue("Anti-Aim", "Fake-Lag", "Triggers");
var fakelag_trigger_limit_bak = UI.GetValue("Anti-Aim", "Fake-Lag", "Trigger limit");
var legitaa_state_bak = UI.GetValue("Anti-Aim", "Legit Anti-Aim", "Enabled");
var fakeangles_state_bak = UI.GetValue("Anti-Aim", "Fake angles", "Enabled");
var block_set6 = false;
var set_lock_camera = false;
function mmFD(){
    if(!checkbox_states["mm_fd"]) return;
    UI.SetValue("Misc", "GENERAL", "Movement", "Fast crouch", true);
    local = Entity.GetLocalPlayer();
    var height = Math.floor(Entity.GetEyePosition(local)[2] - Entity.GetHitboxPosition(local, 12)[2]);
    var fd_type = GetValue("Matchmaking FD type");
    if(UI.IsHotkeyActive("Script items", "Matchmaking FD")){
        mmFDActive = true;
        var lock_camera = UI.IsHotkeyActive("Visual", "WORLD", "Thirdperson") && getVelocity(local) < 10 && GetValue("Matchmaking FD lock camera");
        /*var weapons = Entity.GetProp(local, "CBasePlayer", "m_hMyWeapons");
        Cheat.Print(typeof weapons + "\n");
        var clip = weapon = Entity.GetProp(local, "CBaseEntity", "m_iAmmo");
        Cheat.Print(clip + "\n");*/
        block_set6 = false;
        duck_bak = true;
        if(exploitsActive("dt")){
            doubletap_bak = true;
            UI.ToggleHotkey("Rage", "GENERAL", "Exploits", "Doubletap");
        }
        if(exploitsActive("hs")){
            hideshots_bak = true;
            UI.ToggleHotkey("Rage", "GENERAL", "Exploits", "Hide shots");
        }

        UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", 0);
        UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", fd_choke[fd_type]);
        UI.SetValue("Anti-Aim", "Fake-Lag", "Jitter", 0);
        UI.SetValue("Anti-Aim", "Fake-Lag", "Triggers", /*(1 << 2) + (1 << 7) + */0);
        UI.SetValue("Anti-Aim", "Fake-Lag", "Trigger limit", 0);
        UI.SetValue("Anti-Aim", "Legit Anti-Aim", "Enabled", false);
        UI.SetValue("Anti-Aim", "Fake angles", "Enabled", false);
      
        if(height <= fd_min_height[fd_type]){
            //Convar.SetString('cl_lock_camera', '1');
            var fl_st = UI.GetValue("Anti-Aim", "Fake-Lag", "Enabled");
            UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 21);
            fakelag(false);

            if(fl_st == false){
                Cheat.ExecuteCommand("-duck");
            }
            else{
                return;
            }
        }
        if(height > fd_min_height[fd_type] && height < fd_max_height[fd_type]){
            if(lock_camera)
                Convar.SetString('cl_lock_camera', '1');
            UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 0);
            fakelag(true);
        }
        if(height >= fd_max_height[fd_type]){
            if(lock_camera){
                if(!set_lock_camera){
                    Convar.SetString('cl_lock_camera', '0');
                    set_lock_camera = true;
                }
                else{
                    Convar.SetString('cl_lock_camera', '1');
                    set_lock_camera = false;
                }
            }
            UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 0);
            fakelag(true);
            Cheat.ExecuteCommand("+duck");
            return;
        }
        else{
            if(lock_camera){
                if(fd_max_height[fd_type] - height <= 3){
                    if(!set_lock_camera){
                        Convar.SetString('cl_lock_camera', '0');
                        set_lock_camera = true;
                    }
                    else{
                        Convar.SetString('cl_lock_camera', '1');
                        set_lock_camera = false;
                    }
                }
            }
            else{
                Convar.SetString('cl_lock_camera', '0');
            }
        }
        Local.SetViewAngles(Local.GetViewAngles());
    }
    else{
        mmFDActive = false;
        if(!block_set6 && !legitAAactive){
            //Convar.SetString('cl_lock_camera', '0');
            fakelag(fakelag_state_bak);
            UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yaw_bak);
            UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", jitter_bak);
            UI.SetValue("Anti-Aim", "Fake-Lag", "Limit", fakelag_limit_bak);
            UI.SetValue("Anti-Aim", "Fake-Lag", "Jitter", fakelag_jitter_bak);
            UI.SetValue("Anti-Aim", "Fake-Lag", "Triggers", fakelag_triggers_bak);
            UI.SetValue("Anti-Aim", "Fake-Lag", "Trigger limit", fakelag_trigger_limit_bak);
            UI.SetValue("Anti-Aim", "Legit Anti-Aim", "Enabled", legitaa_state_bak);
            UI.SetValue("Anti-Aim", "Fake angles", "Enabled", fakeangles_state_bak);
            Convar.SetString('cl_lock_camera', '0');
            block_set6 = true;
        }
        if(!lowdelta_active && !legitAAactive){
            yaw_bak = UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset");
            jitter_bak = UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset");
            if(!noFakeLagOnRevolver){
                fakelag_state_bak = UI.GetValue("Anti-Aim", "Fake-Lag", "Enabled");
            }
            fakelag_limit_bak = UI.GetValue("Anti-Aim", "Fake-Lag", "Limit");
            fakelag_jitter_bak = UI.GetValue("Anti-Aim", "Fake-Lag", "Jitter");
            fakelag_triggers_bak = UI.GetValue("Anti-Aim", "Fake-Lag", "Triggers");
            fakelag_trigger_limit_bak = UI.GetValue("Anti-Aim", "Fake-Lag", "Trigger limit");
            legitaa_state_bak = UI.GetValue("Anti-Aim", "Legit Anti-Aim", "Enabled");
            fakeangles_state_bak = UI.GetValue("Anti-Aim", "Fake angles", "Enabled");
        }
        if(doubletap_bak == true){
            UI.ToggleHotkey("Rage", "GENERAL", "Exploits", "Doubletap");
            doubletap_bak = false;
        }
        if(hideshots_bak == true){
            UI.ToggleHotkey("Rage", "GENERAL", "Exploits", "Hide shots");
            hideshots_bak = false;
        }
        if(duck_bak == true){
            Cheat.ExecuteCommand("-duck");
            duck_bak = false;
        }
    }
}
в консоль пишется ошибка и строка ошибки. мб хотя бы строку скинешь?
 
Похожие темы
Сверху Снизу