-
Автор темы
- #1
типа чтобы чекбокс отвечал на это код
Пожалуйста, зарегистрируйтесь или авторизуйтесь, чтобы увидеть содержимое.
Пожалуйста, зарегистрируйтесь или авторизуйтесь, чтобы увидеть содержимое.
+ я просто щас пытаюсь не пастить ,а написать сам ))тебе нужно чтобы один чекбокс отвечал на одну функцию?
спасибо)if(UI.GetValue(Место чекбока )){
Код
}
Типо так
var best = false
var bestaa = false
function randomfakelag()
{
if(UI.GetValue(место чекбокса) == true)
{
if (best == false){
UI.SetValue("Anti-Aim","Fake-Lag","Limit",6);
UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",8);
best = true;}
else
{
UI.SetValue("Anti-Aim","Fake-Lag","Limit",4);
UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",14);
best = false;
}
}
else
{
UI.SetValue("Anti-Aim","Fake-Lag","Limit",12);
UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",12);
best = false;
}
}
function bestaa()
{
if(UI.GetValue(место чекбокса) == true)
{
if(bestaa == false)
{
UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",-3);
UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",-15);
bestaa = true;
}
else
{
UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",15);
UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",5);
bestaa = false;
}
}
else
{
UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",0);
UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",0);
bestaa = false;
}
}
Global.RegisterCallback("CreateMove","randomfakelag")
Cheat.RegisterCallback("CreateMove", "bestaa");
ебать дружище огромное спасибо )держи, запоминай
JavaScript:var best = false var bestaa = false function randomfakelag() { if(UI.GetValue(место чекбокса) == true) { if (best == false){ UI.SetValue("Anti-Aim","Fake-Lag","Limit",6); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",8); best = true;} else { UI.SetValue("Anti-Aim","Fake-Lag","Limit",4); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",14); best = false; } } else { UI.SetValue("Anti-Aim","Fake-Lag","Limit",12); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",12); best = false; } } function bestaa() { if(UI.GetValue(место чекбокса) == true) { if(bestaa == false) { UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",-3); UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",-15); bestaa = true; } else { UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",15); UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",5); bestaa = false; } } else { UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",0); UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",0); bestaa = false; } } Global.RegisterCallback("CreateMove","randomfakelag") Cheat.RegisterCallback("CreateMove", "bestaa");
обращайсяебать дружище огромное спасибо )
говно код, переделывайдержи, запоминай
JavaScript:var best = false var bestaa = false function randomfakelag() { if(UI.GetValue(место чекбокса) == true) { if (best == false){ UI.SetValue("Anti-Aim","Fake-Lag","Limit",6); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",8); best = true;} else { UI.SetValue("Anti-Aim","Fake-Lag","Limit",4); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",14); best = false; } } else { UI.SetValue("Anti-Aim","Fake-Lag","Limit",12); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",12); best = false; } } function bestaa() { if(UI.GetValue(место чекбокса) == true) { if(bestaa == false) { UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",-3); UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",-15); bestaa = true; } else { UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",15); UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",5); bestaa = false; } } else { UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",0); UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",0); bestaa = false; } } Global.RegisterCallback("CreateMove","randomfakelag") Cheat.RegisterCallback("CreateMove", "bestaa");
ахзахзхзахзывзхавхз, ТОЛЬКО ВОПРОС, где чекбокс то сам?держи, запоминай
JavaScript:var best = false var bestaa = false UI.AddCheckBox("Ideal yaw") UI.AddCheckBox("Fluctuate fake-lag") function randomfakelag() { if(UI.GetValue("Script items", "Fluctuate fake-lag") == true) { if (best == false){ UI.SetValue("Anti-Aim","Fake-Lag","Limit",6); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",8); best = true;} else { UI.SetValue("Anti-Aim","Fake-Lag","Limit",4); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",14); best = false; } } else { UI.SetValue("Anti-Aim","Fake-Lag","Limit",12); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",12); best = false; } } function bestaa() { if(UI.GetValue("Script items", "Ideal yaw") == true) { if(bestaa == false) { UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",-3); UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",-15); bestaa = true; } else { UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",15); UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",5); bestaa = false; } } else { UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",0); UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",0); bestaa = false; } } Global.RegisterCallback("CreateMove","randomfakelag") Cheat.RegisterCallback("CreateMove", "bestaa");
var best = false
var bestaa = false
UI.AddCheckbox("Fluctuate fake-lag")
function randomfakelag()
{
if(UI.GetValue("Script items", "Fluctuate fake-lag") == true)
{
if (best == false){
UI.SetValue("Anti-Aim","Fake-Lag","Limit",6);
UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",8);
best = true;}
else
{
UI.SetValue("Anti-Aim","Fake-Lag","Limit",4);
UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",14);
best = false;
}
}
else
{
UI.SetValue("Anti-Aim","Fake-Lag","Limit",12);
UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",12);
best = false;
}
}
function bestaa()
{
UI.AddCheckBox("Ideal yaw")
if(UI.GetValue("Script items", "Ideal yaw") == true)
{
if(bestaa == false)
{
UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",-3);
UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",-15);
bestaa = true;
}
else
{
UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",15);
UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",5);
bestaa = false;
}
}
else
{
UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",0);
UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",0);
bestaa = false;
}
}
Global.RegisterCallback("CreateMove","randomfakelag")
Cheat.RegisterCallback("CreateMove", "bestaa");
ну чел, мейби ты хочешь сделать не рандом фейклаги, а дт при выборе опр. оружия, тебе же нужен чекбокс дт лол не?ахзахзхзахзывзхавхз, ТОЛЬКО ВОПРОС, где чекбокс то сам?
JavaScript:var best = false var bestaa = false UI.AddCheckbox("Fluctuate fake-lag") function randomfakelag() { if(UI.GetValue("Script items", "Fluctuate fake-lag") == true) { if (best == false){ UI.SetValue("Anti-Aim","Fake-Lag","Limit",6); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",8); best = true;} else { UI.SetValue("Anti-Aim","Fake-Lag","Limit",4); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",14); best = false; } } else { UI.SetValue("Anti-Aim","Fake-Lag","Limit",12); UI.SetValue("Anti-Aim","Fake-Lag","Trigger limit",12); best = false; } } function bestaa() { UI.AddCheckBox("Ideal yaw") if(UI.GetValue("Script items", "Ideal yaw") == true) { if(bestaa == false) { UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",-3); UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",-15); bestaa = true; } else { UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",15); UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",5); bestaa = false; } } else { UI.SetValue("Anti-Aim","Rage Anti-Aim","Jitter offset",0); UI.SetValue("Anti-Aim","Rage Anti-Aim","Yaw offset",0); bestaa = false; } } Global.RegisterCallback("CreateMove","randomfakelag") Cheat.RegisterCallback("CreateMove", "bestaa");
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz