-
Автор темы
- #1
Шапка, надеюсь вы скинете уже в рабочем формате)
JavaScript:
UI.AddCheckbox("Legit AA");
UI.AddHotkey("Legit AA on Key");
//LEGIT AA
var original_aa = true;
function legit_aa() {
if(UI.GetValue("Script items", "Legit AA") && UI.IsHotkeyActive("Script items", "Legit AA on Key")) {
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");