Начинающий
-
Автор темы
- #1
здаров, помогите пожалуйста, я уверен в том, что для знающих людей - это дело двух минут, заранее спасибо.
UI.AddSubTab(["Script items", "SUBTAB_MGR"], "Manual AA Arrows");
UI.AddColorPicker(["Script items", "Manual AA Arrows"], "arrows color");
function draw () {
if (!World.GetServerString()) return;
var screen = Render.GetScreenSize()
x = screen[0];
y = screen[1];
color = UI.GetColor(["Script items", "Manual AA Arrows", "arrows color"]);
font = Render.AddFont("Acta Symbols W95 Arrows", 24, 100);
rarrow = UI.GetValue(["Anti-Aim", "Rage Anti-Aim", "Manual dir", "Right fir"])
larrow = UI.GetValue(["Anti-Aim", "Rage Anti-Aim", "Manual dir", "Left dir"])
barrow = UI.GetValue(["Anti-Aim", "Rage Anti-Aim", "Manual dir", "Back dir"])
if (rarrow) {
Render.StringCustom(x /2 + 55, y /2 * 0.982, 1, 'Z', [color[0], color[1], color[2], 255], font)
Render.StringCustom(x /2 -55, y /2 * 0.982, 1, 'X', [40, 40, 40, color[3]], font)
Render.StringCustom(x /2, y /2 + 45, 1, 'Y', [40, 40, 40, color[3]], font)
}
else if (larrow) {
Render.StringCustom(x /2 -55, y /2 * 0.982, 1, 'X', [color[0], color[1], color[2], 255], font)
Render.StringCustom(x /2 + 55, y /2 * 0.982, 1, 'Z', [40, 40, 40, color[3]], font)
Render.StringCustom(x /2, y /2 + 45, 1, 'Y', [40, 40, 40, color[3]], font)
}
else if (barrow) {
Render.StringCustom(x /2, y /2 + 45, 1, 'Y', [color[0], color[1], color[2], 255], font)
Render.StringCustom(x /2 -55, y /2 * 0.982, 1, 'X', [40, 40, 40, color[3]], font)
Render.StringCustom(x /2 + 55, y /2 * 0.982, 1, 'Z', [40, 40, 40, color[3]], font)
}
else {
Render.StringCustom(x /2 -55, y /2 * 0.982, 1, 'X', [40, 40, 40, color[3]], font)
Render.StringCustom(x /2, y /2 + 45, 1, 'Y', [40, 40, 40, color[3]], font)
Render.StringCustom(x /2 + 55, y /2 * 0.982, 1, 'Z', [40, 40, 40, color[3]], font)
}
}
Cheat.RegisterCallback('Draw', 'draw');
UI.AddSubTab(["Script items", "SUBTAB_MGR"], "Manual AA Arrows");
UI.AddColorPicker(["Script items", "Manual AA Arrows"], "arrows color");
function draw () {
if (!World.GetServerString()) return;
var screen = Render.GetScreenSize()
x = screen[0];
y = screen[1];
color = UI.GetColor(["Script items", "Manual AA Arrows", "arrows color"]);
font = Render.AddFont("Acta Symbols W95 Arrows", 24, 100);
rarrow = UI.GetValue(["Anti-Aim", "Rage Anti-Aim", "Manual dir", "Right fir"])
larrow = UI.GetValue(["Anti-Aim", "Rage Anti-Aim", "Manual dir", "Left dir"])
barrow = UI.GetValue(["Anti-Aim", "Rage Anti-Aim", "Manual dir", "Back dir"])
if (rarrow) {
Render.StringCustom(x /2 + 55, y /2 * 0.982, 1, 'Z', [color[0], color[1], color[2], 255], font)
Render.StringCustom(x /2 -55, y /2 * 0.982, 1, 'X', [40, 40, 40, color[3]], font)
Render.StringCustom(x /2, y /2 + 45, 1, 'Y', [40, 40, 40, color[3]], font)
}
else if (larrow) {
Render.StringCustom(x /2 -55, y /2 * 0.982, 1, 'X', [color[0], color[1], color[2], 255], font)
Render.StringCustom(x /2 + 55, y /2 * 0.982, 1, 'Z', [40, 40, 40, color[3]], font)
Render.StringCustom(x /2, y /2 + 45, 1, 'Y', [40, 40, 40, color[3]], font)
}
else if (barrow) {
Render.StringCustom(x /2, y /2 + 45, 1, 'Y', [color[0], color[1], color[2], 255], font)
Render.StringCustom(x /2 -55, y /2 * 0.982, 1, 'X', [40, 40, 40, color[3]], font)
Render.StringCustom(x /2 + 55, y /2 * 0.982, 1, 'Z', [40, 40, 40, color[3]], font)
}
else {
Render.StringCustom(x /2 -55, y /2 * 0.982, 1, 'X', [40, 40, 40, color[3]], font)
Render.StringCustom(x /2, y /2 + 45, 1, 'Y', [40, 40, 40, color[3]], font)
Render.StringCustom(x /2 + 55, y /2 * 0.982, 1, 'Z', [40, 40, 40, color[3]], font)
}
}
Cheat.RegisterCallback('Draw', 'draw');