Эксперт
-
Автор темы
- #1
Пожалуйста, авторизуйтесь для просмотра ссылки.
Обновлять мб буду.
JavaScript:
UI.AddCheckbox('Indicators');
UI.AddColorPicker('Color');
function draw(){
local = Entity.GetLocalPlayer();
var keybinds = [];
var screen = Global.GetScreenSize();
font = Render.AddFont("smallest pixel-7", 9, 0)
var enable = UI.GetValue("Script items", "Indicators");
var color = UI.GetColor("Misc", "JAVASCRIPT", 'Color');
fl = UI.GetValue("Anti-Aim", "Fake-Lag", "Limit");
var penus = [
["DT: AURA", ["Rage", "Exploits", "Doubletap"],[color[0], color[1], color[2], color[3]]],
["HIDESHOT", ["Rage", "GENERAL", "Exploits", "Hide shots"], [color[0], color[1], color[2], color[3]]],
];
if (enable && Entity.IsValid(local) && Entity.IsAlive(local)) {
for(var i in penus){
if(UI.IsHotkeyActive.apply(null, penus[i][1])){
keybinds.push(i);
}
}
for(var j in keybinds) {
Render.StringOutlined(screen[0] / 2 + 30, screen[1] / 2 + 11 - (j * -9), 1, penus[keybinds[j]][0], [11,11,11,color[3]], font);
Render.StringOutlined(screen[0] / 2+ 30, screen[1] / 2 + 11- (j * -9), 1, penus[keybinds[j]][0], penus[keybinds[j]][2], font);
}
Render.StringOutlined(screen[0] / 2+32, screen[1] / 2 + 2, 1, "KILLAURA", [ 11, 11, 11, color[3] ], font);
Render.StringOutlined(screen[0] / 2+32, screen[1] / 2 + 2, 1, "KILLAURA", [ color[0], color[1], color[2], color[3] ], font);
} else {
}}
Cheat.RegisterCallback("Draw", "draw");
Render.StringOutlined = function( x, y, align, text, color, font) {
Render.StringCustom( x + 1, y, align, text, [0, 0, 0, 255], font )
Render.StringCustom( x - 1, y, align, text, [0, 0, 0, 255], font )
Render.StringCustom( x, y + 1, align, text, [0, 0, 0, 255], font )
Render.StringCustom( x, y - 1, align, text, [0, 0, 0, 255], font )
Render.StringCustom( x, y, align, text, color, font )
}