JS Помощь

Статус
В этой теме нельзя размещать новые ответы.
  • 3
  • 0
Контакты для связи отсутствуют.
JavaScript:
UI.AddHotkey("Minimum Hitchance")

UI.AddSliderInt("Scout hitchance",1,100)

UI.AddSliderInt("Heavy hitchance",1,100)



var heavy_cache = UI.GetValue("Rage","HEAVY PISTOL","Accuracy","Hitchance")

var scout_cache = UI.GetValue("Rage","SCOUT","Accuracy","Hitchance")



function main() {

  var isActive = UI.IsHotkeyActive("Script items", "Minimum Hitchance");

  var heavy_minhit = UI.GetValue("Script items", "Heavy hitchance");

  var scout_minhit = UI.GetValue("Script items", "Scout hitchance");



  if (IsActive == true) {

    UI.SetValue("Rage", "HEAVY PISTOL", "Accuracy", "Hitchance", heavy_minhit);

    UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", scout_minhit);

  }



  else {

    UI.SetValue("Rage", "HEAVY PISTOL", "Accuracy", "Hitchance", heavy_cache);

    UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", scout_cache);

  }

}

Cheat.RegisterCallback("CreateMove", "main")



Почему не работает?
 
Последнее редактирование модератором:
  • 594
  • 134
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
UI.AddHotkey("Minimum Hitchance")
UI.AddSliderInt("Scout hitchance",1,100)
UI.AddSliderInt("Heavy hitchance",1,100)

var heavy_cache = UI.GetValue("Rage","HEAVY PISTOL","Accuracy","Hitchance")
var scout_cache = UI.GetValue("Rage","SCOUT","Accuracy","Hitchance")

function main() {
var isActive = UI.IsHotkeyActive("Script items", "Minimum Hitchance");
var heavy_minhit = UI.GetValue("Script items", "Heavy hitchance");
var scout_minhit = UI.GetValue("Script items", "Scout hitchance");

if (IsActive == true) {
UI.SetValue("Rage", "HEAVY PISTOL", "Accuracy", "Hitchance", heavy_minhit);
UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", scout_minhit);
}

else {
UI.SetValue("Rage", "HEAVY PISTOL", "Accuracy", "Hitchance", heavy_cache);
UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", scout_cache);
}
}
Cheat.RegisterCallback("CreateMove", "main")



Почему не работает?
UI.AddHotkey("Hitchance override key")
UI.AddSliderInt("Scout hitchance",1,100)
UI.AddSliderInt("Heavy hitchance",1,100)

var heavy_cache = UI.GetValue("Rage","HEAVY PISTOL","Accuracy","Hitchance")
var scout_cache = UI.GetValue("Rage","SCOUT","Accuracy","Hitchance")

function main() {
var heavy_minhit = UI.GetValue("Script items", "Heavy hitchance");
var scout_minhit = UI.GetValue("Script items", "Scout hitchance");

if (UI.IsHotkeyActive("Script items", Hitchance override key")) {
UI.SetValue("Rage", "HEAVY PISTOL", "Accuracy", "Hitchance", heavy_minhit);
UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", scout_minhit);
} else {
UI.SetValue("Rage", "HEAVY PISTOL", "Accuracy", "Hitchance", heavy_cache);
UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", scout_cache);
}
}
Cheat.RegisterCallback("CreateMove", "main")
 
  • 61
  • 14
Контакты для связи отсутствуют.
попробуй
Код:
UI.AddHotkey("Minimum Hitchance")
UI.AddSliderInt("Scout hitchance",1,100)
UI.AddSliderInt("Heavy hitchance",1,100)

var heavy_cache = UI.GetValue("Rage","HEAVY PISTOL","Accuracy","Hitchance")
var scout_cache = UI.GetValue("Rage","SCOUT","Accuracy","Hitchance")

function main() {
    var isActive = UI.IsHotkeyActive("Script items", "Minimum Hitchance");
    var heavy_minhit = UI.GetValue("Script items", "Heavy hitchance");
    var scout_minhit = UI.GetValue("Script items", "Scout hitchance");

    if (IsActive == true) {
        UI.SetValue("Rage", "HEAVY PISTOL", "Accuracy", "Hitchance", heavy_minhit);
        UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", scout_minhit);
    }

    else {
        UI.SetValue("Rage", "HEAVY PISTOL", "Accuracy", "Hitchance", heavy_cache);
        UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", scout_cache);
    }
}
Cheat.RegisterCallback("Draw", "main")
 
  • 3
  • 0
Контакты для связи отсутствуют.
попробуй
Код:
UI.AddHotkey("Minimum Hitchance")
UI.AddSliderInt("Scout hitchance",1,100)
UI.AddSliderInt("Heavy hitchance",1,100)

var heavy_cache = UI.GetValue("Rage","HEAVY PISTOL","Accuracy","Hitchance")
var scout_cache = UI.GetValue("Rage","SCOUT","Accuracy","Hitchance")

function main() {
    var isActive = UI.IsHotkeyActive("Script items", "Minimum Hitchance");
    var heavy_minhit = UI.GetValue("Script items", "Heavy hitchance");
    var scout_minhit = UI.GetValue("Script items", "Scout hitchance");

    if (IsActive == true) {
        UI.SetValue("Rage", "HEAVY PISTOL", "Accuracy", "Hitchance", heavy_minhit);
        UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", scout_minhit);
    }

    else {
        UI.SetValue("Rage", "HEAVY PISTOL", "Accuracy", "Hitchance", heavy_cache);
        UI.SetValue("Rage", "SCOUT", "Accuracy", "Hitchance", scout_cache);
    }
}
Cheat.RegisterCallback("Draw", "main")
Спасибо
 
Статус
В этой теме нельзя размещать новые ответы.
Активность
Пока что здесь никого нет
Сверху Снизу