-
Автор темы
- #1
Вот код крч чекните скажите что не так?
Но с этим кодам работает но.... НЕ выстовляеться по месту тойсь в rage aa visual оно везде.
function da() {
if(UI.GetValue("Script items", "test) == 1) {
UI.SetEnabled("Script items", "legit_aa", 1)
} else {
UI.SetEnabled("Script items", "legit_aa", 0)
da()
}
}
UI.AddDropdown( "test", [ "Rage", "Anti-Aim", "Visuals", "Misc" ] );
var original_aa = true;
UI.AddHotkey("Legit AA Key");
function onDraw(){
if (UI.GetValue("Script items", " test") == 1) {
UI.SetEnabled("Script items", "legit_aa", true);
} else {
UI.SetEnabled("Script items", "legit_aa", false);
}
}
function legit_aa()
{
if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Legit AA Key"))
{
if (original_aa)
{
restrictions_cache = UI.GetValue("Misc", "PERFORMANCE & INFORMATION", "Information", "Restrictions");
hiderealangle_cache = UI.GetValue ("Anti-Aim", "Fake angles", "Hide real angle");
yaw_offset_cache = UI.GetValue ("Anti-Aim", "Rage Anti-Aim", "Yaw offset");
jitter_offset_cache = UI.GetValue ("Anti-Aim", "Rage Anti-Aim", "Jitter offset");
pitch_cache = UI.GetValue ("Anti-Aim", "Extra", "Pitch");
original_aa = false;
}
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);
}
else
{
if (!original_aa)
{
UI.SetValue ("Misc", "PERFORMANCE & INFORMATION", "Information", "Restrictions", restrictions_cache);
UI.SetValue ("Anti-Aim", "Fake angles", "Hide real angle", hiderealangle_cache);
UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yaw_offset_cache);
UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Jitter offset", jitter_offset_cache);
UI.SetValue ("Anti-Aim", "Extra", "Pitch", pitch_cache);
original_aa = true;
}
}
}
Cheat.RegisterCallback("CreateMove", "legit_aa");
Cheat.RegisterCallback("Draw", "onDraw");
Но с этим кодам работает но.... НЕ выстовляеться по месту тойсь в rage aa visual оно везде.
function da() {
if(UI.GetValue("Script items", "test) == 1) {
UI.SetEnabled("Script items", "legit_aa", 1)
} else {
UI.SetEnabled("Script items", "legit_aa", 0)
da()
}
}
UI.AddDropdown( "test", [ "Rage", "Anti-Aim", "Visuals", "Misc" ] );
var original_aa = true;
UI.AddHotkey("Legit AA Key");
function onDraw(){
if (UI.GetValue("Script items", " test") == 1) {
UI.SetEnabled("Script items", "legit_aa", true);
} else {
UI.SetEnabled("Script items", "legit_aa", false);
}
}
function legit_aa()
{
if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Legit AA Key"))
{
if (original_aa)
{
restrictions_cache = UI.GetValue("Misc", "PERFORMANCE & INFORMATION", "Information", "Restrictions");
hiderealangle_cache = UI.GetValue ("Anti-Aim", "Fake angles", "Hide real angle");
yaw_offset_cache = UI.GetValue ("Anti-Aim", "Rage Anti-Aim", "Yaw offset");
jitter_offset_cache = UI.GetValue ("Anti-Aim", "Rage Anti-Aim", "Jitter offset");
pitch_cache = UI.GetValue ("Anti-Aim", "Extra", "Pitch");
original_aa = false;
}
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);
}
else
{
if (!original_aa)
{
UI.SetValue ("Misc", "PERFORMANCE & INFORMATION", "Information", "Restrictions", restrictions_cache);
UI.SetValue ("Anti-Aim", "Fake angles", "Hide real angle", hiderealangle_cache);
UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yaw_offset_cache);
UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Jitter offset", jitter_offset_cache);
UI.SetValue ("Anti-Aim", "Extra", "Pitch", pitch_cache);
original_aa = true;
}
}
}
Cheat.RegisterCallback("CreateMove", "legit_aa");
Cheat.RegisterCallback("Draw", "onDraw");