-
Автор темы
- #1
Простые индикаторы с простым кодом для ваших cord`ов.
JavaScript:
var info = [
["DT", ["Rage", "GENERAL", "Exploits", "Doubletap"], [0, 255, 0, 255]],
["HIDE", ["Rage", "GENERAL", "Exploits", "Hide shots"], [255, 255, 255, 255]],
];
function draw(){
var keybinds = [];
var screen = Global.GetScreenSize();
var font = Render.AddFont("Verdana", 7, 400);
for(var i in info){
if(UI.IsHotkeyActive.apply(null, info[i][1])){
keybinds.push(i);
}
}
for(var j in keybinds){
Render.StringCustom(screen[0] / 2, screen[1] / 2 + 10 - (j * -13), 1, info[keybinds[j]][0], info[keybinds[j]][2], font);
}
}
Cheat.RegisterCallback("Draw", "draw");