life is cheap, death is free!
-
Автор темы
- #1
JavaScript:
function helper()
{
if (UI.GetValue("Script items", "Peek Helper for AWP/Scout", true)) {
if (UI.IsHotkeyActive("Misc", "GENERAL", "Movement", "Auto peek") && UI.IsHotkeyActive("Rage", "GENERAL", "Exploits", "Doubletap")) {
if (original_hit)
{
autostopmodescout = UI.GetValue("Rage", "SCOUT", "Accuracy", "Auto stop mode");
autostopmodeawp = UI.GetValue("Rage", "AWP", "Accuracy", "Auto stop mode");
safepointscout = UI.GetValue("Rage", "SCOUT", "Accuracy", "Prefer safe point");
safepointawp = UI.GetValue("Rage", "AWP", "Accuracy", "Prefer safe point");
bodyaimscout = UI.GetValue("Rage", "SCOUT", "Accuracy", "Prefer body aim");
bodyaimawp = UI.GetValue("Rage", "AWP", "Accuracy", "Prefer body aim");
freestand = UI.GetValue("Anti-Aim", "Rage Anti-Aim", "Auto direction");
original_hit = false
}
UI.SetValue("Rage", "SCOUT", "Accuracy", "Auto stop mode", false);
UI.SetValue("Rage", "AWP", "Accuracy", "Auto stop mode", false);
UI.SetValue("Rage", "SCOUT", "Accuracy", "Prefer safe point", true);
UI.SetValue("Rage", "AWP", "Accuracy", "Prefer safe point", true);
UI.SetValue("Rage", "SCOUT", "Accuracy", "Prefer body aim", true);
UI.SetValue("Rage", "AWP", "Accuracy", "Prefer body aim", true);
UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Auto direction", true);
}
else
{
if (!original_hit)
{
UI.SetValue("Rage", "SCOUT", "Accuracy", "Auto stop mode", autostopmodescout);
UI.SetValue("Rage", "AWP", "Accuracy", "Auto stop mode", autostopmodeawp);
UI.SetValue("Rage", "SCOUT", "Accuracy", "Prefer safe point", safepointscout);
UI.SetValue("Rage", "AWP", "Accuracy", "Prefer safe point", safepointawp);
UI.SetValue("Rage", "SCOUT", "Accuracy", "Prefer body aim", bodyaimscout);
UI.SetValue("Rage", "AWP", "Accuracy", "Prefer body aim", bodyaimawp);
UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Auto direction", freestand);
original_hit = true
}
}
}
}
original_hit = true
UI.AddCheckbox("Peek Helper for AWP/Scout")
Global.RegisterCallback("CreateMove", "helper");
glhf