const on = UI.AddHotkey("Auto-Dir on key")
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Auto direction", UI.GetValue.apply(null, on))
не работает:(JavaScript:const on = UI.AddHotkey("Auto-Dir on key") UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Auto direction", UI.GetValue.apply(null, on))
UI.AddHotkey("Freestanding");
UI.AddCheckbox("Draw indicators");
UI.AddSliderInt("Indicator offset X", 1, 1920);
UI.AddSliderInt("Indicator offset Y", 1, 1080);
function freestanding()
{
if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Freestanding"))
{
UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Auto direction", true);
}
else
{
{
UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Auto direction", false);
}
}
}
function drawFunction(){
var shouldDraw = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Draw indicators");
if (shouldDraw) {
var screen_size = Global.GetScreenSize();
var x = (UI.GetValue("Misc", "JAVASCRIPT", "Script Items","Indicator offset X"))
var y = (UI.GetValue("Misc", "JAVASCRIPT", "Script Items","Indicator offset Y"))
var keybindArray = [
];
if (UI.IsHotkeyActive("JAVASCRIPT", "Script items", "Freestanding")) {
keybindArray.push("FS")
}
var text_size = 4
for (var i=0;i < keybindArray.length;i++) {
//Global.Print("STD:" + keybindArray[i][0])
var textHeight = text_size*5.5
var y_add = (textHeight * i)
var clr = [124,195,13,255]
if (keybindArray[i] == "FS") {
clr = [255,255,255,255]
}
Render.String( x, y - y_add, 0, keybindArray[i], clr,text_size);
}
}
}
Cheat.RegisterCallback("CreateMove", "freestanding")
Global.RegisterCallback("Draw","drawFunction")
я пастер (не работает:(
UI.AddHotkey("Auto-Dir on key")
const auto = function() {
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Auto direction", UI.GetValue("Script items", "Auto-Dir on key"))
}
Cheat.RegisterCallback("CreateMove", "auto")
JavaScript:UI.AddHotkey("Freestanding"); UI.AddCheckbox("Draw indicators"); function freestanding() { if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Freestanding")) { UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Auto direction", true); } else { { UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Auto direction", false); } } } function drawFunction(){ var shouldDraw = UI.GetValue("Misc", "JAVASCRIPT", "Script Items", "Draw indicators"); if (shouldDraw) { var screen_size = Global.GetScreenSize(); var x = (UI.GetValue("Misc", "JAVASCRIPT", "Script Items","Indicator offset X")) var y = (UI.GetValue("Misc", "JAVASCRIPT", "Script Items","Indicator offset Y")) var keybindArray = [ ]; if (UI.IsHotkeyActive("JAVASCRIPT", "Script items", "Freestanding")) { keybindArray.push("FS") } var text_size = 4 for (var i=0;i < keybindArray.length;i++) { //Global.Print("STD:" + keybindArray[i][0]) var textHeight = text_size*5.5 var y_add = (textHeight * i) var clr = [124,195,13,255] if (keybindArray[i] == "FS") { clr = [255,255,255,255] } Render.String( x, y - y_add, 0, keybindArray[i], clr,text_size); } } } Cheat.RegisterCallback("CreateMove", "freestanding") Global.RegisterCallback("Draw","drawFunction")
UI.AddSliderInt("Indicator offset X", 1, 1920);
UI.AddSliderInt("Indicator offset Y", 1, 1080);
тож не работает
Все я разобрался
Спасибо всем:)
UI.AddHotkey("Auto-Dir on key")
const auto = function() {
UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Auto direction", UI.GetValue("Script items", "Auto-Dir on key"))
}
Cheat.RegisterCallback("CreateMove", "auto")
я пастер (
Посмотреть вложение 133223JavaScript:UI.AddHotkey("Auto-Dir on key") const auto = function() { UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Auto direction", UI.GetValue("Script items", "Auto-Dir on key")) } Cheat.RegisterCallback("CreateMove", "auto")
Посмотреть вложение 133224
Посмотреть вложение 133225
это что ?JavaScript:UI.AddSliderInt("Indicator offset X", 1, 1920); UI.AddSliderInt("Indicator offset Y", 1, 1080);
var x = (UI.GetValue("Misc", "JAVASCRIPT", "Script Items","Indicator offset X"))
var y = (UI.GetValue("Misc", "JAVASCRIPT", "Script Items","Indicator offset Y"))
UI.IsHotkeyActive значит потеряло свою значимость даJavaScript:UI.AddHotkey("Auto-Dir on key") const auto = function() { UI.SetValue("Anti-Aim", "Rage Anti-Aim", "Auto direction", UI.GetValue("Script items", "Auto-Dir on key")) } Cheat.RegisterCallback("CreateMove", "auto")
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz