-
Автор темы
- #1
Не знаю почему не работает, надеюсь вы поможете, желательно с объясненеим)
JavaScript:
UI.AddCheckbox("Legit-AA [BETA]");
UI.AddHotkey("Legit-AA [BETA] on Key");
var original_aa = true;
function legit_aa() {
if(hot("Legit-AA [BETA] on Key") && !UI.IsActive("Script items", "Low Delta on Slow Walk")) {
if(original_ld && original_aa) {
cache = [UI.GetValue("Anti-Aim", "Fake angles", "LBY mode"),
UI.GetValue("Misc", "PERFORMANCE & INFORMATION", "Information", "Restrictions"),
UI.GetValue("Anti-Aim", "Fake angles", "Hide real angle"),
UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset"),
UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset"),
UI.GetValue("Anti-Aim", "Extra", "Pitch"),
UI.GetValue("Misc", "Miscellaneous", "Auto defuse"),
UI.GetValue("Misc", "Miscellaneous", "Aim at bomb")];
original_aa = false;
}
AntiAim.SetOverride(0);
UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", 1)
UI.SetValue("Misc", "PERFORMANCE & INFORMATION", "Information", "Restrictions", 0);
UI.SetValue("Anti-Aim", "Fake angles", "Hide real angle", true);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 180);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", 0);
UI.SetValue("Anti-Aim", "Extra", "Pitch", 0);
UI.SetValue("Misc", "Miscellaneous", "Auto defuse", 1);
UI.SetValue("Misc", "Miscellaneous", "Aim at bomb", 1);
Cheat.ExecuteCommand("-use");
Cheat.ExecuteCommand("Bind t +use");
} else {
if(!original_aa) {
UI.SetValue("Anti-Aim", "Fake angles", "LBY mode", cache[0])
UI.SetValue("Misc", "PERFORMANCE & INFORMATION", "Information", "Restrictions", cache[1]);
UI.SetValue("Anti-Aim", "Fake angles", "Hide real angle", cache[2]);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Yaw offset", cache[3]);
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Jitter offset", cache[4]);
UI.SetValue("Anti-Aim", "Extra", "Pitch", cache[5]);
UI.SetValue("Misc", "Miscellaneous", "Auto defuse", cache[6]);
UI.SetValue("Misc", "Miscellaneous", "Aim at bomb", cache[7]);
original_aa = true;
}
}
}
Cheat.RegisterCallback("CreateMove", "legit_aa");