Эксперт
-
Автор темы
- #1
Первоначальный креатор prince1337
Код:
var info = [
["DT", ["doubletap"], [0, 255, 0, 255]],
["HIDE", ["hide_shots"], [255, 255, 255, 255]],
]
function draw() {
var keybinds = [];
var screen = render.get_screen_size()
for(var i in info){
if(vars.is_bind_active.apply(null, info[i][1])){
keybinds.push(i);
}
}
for(var j in keybinds){
render.text([screen[0] / 2, screen[1] / 2 + 10 - (j * -13)],info[keybinds[j]][2], 12, 5,info[keybinds[j]][0])
}
}
register_callback("render", draw)