Начинающий
-
Автор темы
- #1
Пожалуйста, авторизуйтесь для просмотра ссылки.
code_language.lua:
local font1 = render.create_font("ActaSymbolsW95-Arrows", 23, 0, true, false, false)
menu.add_color_picker("Manual's color (outline)")
menu.add_color_picker("Manual's color")
local screen_x = engine.get_screen_width()
local screen_y = engine.get_screen_height()
local function indicators()
local ML = menu.get_key_bind_state("anti_aim.manual_left_key")
local MR = menu.get_key_bind_state("anti_aim.manual_right_key")
local MB = menu.get_key_bind_state("anti_aim.manual_back_key")
if MB then
render.draw_text(font1, screen_x/ 1.75 - 150, screen_y/ 1.85, menu.get_color("Manual's color (outline)"), "H")
elseif not MB then
render.draw_text(font1, screen_x/ 1.7 - 150, screen_y/ 1.96, color.new(0, 0, 0, 0), "H")
end
if ML then
render.draw_text(font1, screen_x/ 1.86 - 150, screen_y/ 2.04, menu.get_color("Manual's color (outline)"),"I")
elseif not ML then
render.draw_text(font1, screen_x/ 1.86 - 150, screen_y/ 2.04, color.new(0, 0, 0, 0), "I")
end
if MR then
render.draw_text(font1, screen_x/ 1.651 - 150, screen_y/ 2.04, menu.get_color("Manual's color (outline)"), "J")
elseif not MR then
render.draw_text(font1, screen_x/ 1.651 - 150, screen_y/ 2.04, color.new(0, 0, 0, 0), "J")
end
if MB then
render.draw_text(font1, screen_x/ 1.75 - 150, screen_y/ 1.85, menu.get_color("Manual's color"), "P")
elseif not MB then
render.draw_text(font1, screen_x/ 1.7 - 150, screen_y/ 1.96, color.new(0, 0, 0, 0), "P")
end
if ML then
render.draw_text(font1, screen_x/ 1.86 - 150, screen_y/ 2.04, menu.get_color("Manual's color"), "Q")
elseif not ML then
render.draw_text(font1, screen_x/ 1.86 - 150, screen_y/ 2.04, color.new(0, 0, 0, 0), "Q")
end
if MR then
render.draw_text(font1, screen_x/ 1.651 - 150, screen_y/ 2.04, menu.get_color("Manual's color"), "R")
elseif not MR then
render.draw_text(font1, screen_x/ 1.651 - 150, screen_y/ 2.04, color.new(0, 0, 0, 0), "R")
end
end
client.add_callback("on_paint", indicators)
Последнее редактирование: