Код:
UI.AddSubTab(["Rage", "SUBTAB_MGR"], "Addons");
const dropdown6 = UI.AddDropdown(["Rage", "Addons", "Addons"], "Inverter Arrows", ["None", "Style-1"], 0);
UI.AddColorPicker(["Rage", "SUBTAB_MGR", "Addons", "SHEET_MGR", "Addons"], "Inverter Color");
var screensize = Render.GetScreenSize();
var x = screensize[0] / 2;
var y = screensize[1] / 2;
function ijwtbc() {
if (Entity.IsAlive(Entity.GetLocalPlayer())) {
invertercolor = UI.GetColor(["Rage", "Addons", "Addons", "Inverter Color"]);
if(UI.GetValue(dropdown6) == 1) {
if (UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "AA Direction inverter"]) || UI.GetValue(["Legit", "General", "General", "Key assignment", "AA Direction inverter"])) {
Render.Polygon([[x + 77,y], [x + 60,y + 7], [x + 60,y - 7] ], invertercolor);
Render.Polygon([[x - 60,y - 7], [x - 60,y + 7], [x - 77,y] ], [0,0,0,64]);
}
else if (!UI.GetValue(["Rage", "Anti Aim", "General", "Key assignment", "AA Direction inverter"]) || UI.GetValue(["Legit", "General", "General", "Key assignment", "AA Direction inverter"])) {
Render.Polygon([[x - 60,y - 7], [x - 60,y + 7], [x - 77,y] ], invertercolor);
Render.Polygon([[x + 77,y], [x + 60,y + 7], [x + 60,y - 7] ], [0,0,0,64]);
}
}
}
}
Cheat.RegisterCallback("Draw", "ijwtbc");