LUA скрипт Keybinds under crosshair / LW v4

Начинающий
Статус
Оффлайн
Регистрация
12 Мар 2021
Сообщения
14
Реакции[?]
4
Поинты[?]
0
code_language.lua:
local font1 = render.create_font("verdana", 12, 0, true, false, true)
local screen_x = engine.get_screen_width()
local screen_y = engine.get_screen_height()
local function indicators()
    local DT = menu.get_key_bind_state("rage.double_tap_key")
    local HS = menu.get_key_bind_state("rage.hide_shots_key")
    local FD = menu.get_key_bind_state("anti_aim.fake_duck_key")
    local MD = menu.get_key_bind_state("rage.force_damage_key")


        if DT and not HS and not FD and not MD then
        render.draw_text(font1, screen_x/ 1.74 - 150, screen_y/ 1.96, color.new(0, 255, 0, 255), "DT")
        elseif DT and HS and not FD and not MD then
        render.draw_text(font1, screen_x/ 1.74 - 150, screen_y/ 1.96, color.new(0, 255, 0, 255), "DT")
        elseif DT and HS and FD and not MD then
        render.draw_text(font1, screen_x/ 1.784 - 150, screen_y/ 1.96, color.new(255, 0, 0, 255), "DT (fakeduck)")
        elseif DT and not HS and not FD and MD then
        render.draw_text(font1, screen_x/ 1.74 - 150, screen_y/ 1.96, color.new(0, 255, 0, 255), "DT")
        elseif DT and not HS and FD and not MD then
        render.draw_text(font1, screen_x/ 1.784 - 150, screen_y/ 1.96, color.new(255, 0, 0, 255), "DT (fakeduck)")
        elseif DT and HS and FD and MD then
        render.draw_text(font1, screen_x/ 1.784 - 150, screen_y/ 1.96, color.new(255, 0, 0, 255), "DT (fakeduck)")
        elseif DT and HS and MD then
        render.draw_text(font1, screen_x/ 1.74 - 150, screen_y/ 1.96, color.new(0, 255, 0, 255), "DT")
        elseif DT and HS then
        render.draw_text(font1, screen_x/ 1.74 - 150, screen_y/ 1.96, color.new(0, 255, 0, 255), "DT")
        elseif DT and FD and MD then
        render.draw_text(font1, screen_x/ 1.784 - 150, screen_y/ 1.96, color.new(255, 0, 0, 255), "DT (fakeduck)")
        end



        if HS and not DT and not FD and not MD then
        render.draw_text(font1, screen_x/ 1.749 - 150, screen_y/ 1.96, color.new(255, 255, 255, 255), "HIDE")
        elseif HS and DT and not FD and not MD then
        render.draw_text(font1, screen_x/ 1.749 - 150, screen_y/ 1.92, color.new(255, 0, 0, 255), "HIDE")
        elseif HS and DT and FD and not MD then
        render.draw_text(font1, screen_x/ 1.749 - 150, screen_y/ 1.92, color.new(255, 0, 0, 255), "HIDE")
        elseif HS and not DT and not FD and MD then
        render.draw_text(font1, screen_x/ 1.749 - 150, screen_y/ 1.96, color.new(255, 255, 255, 255), "HIDE")
        elseif HS and not DT and FD and not MD then
        render.draw_text(font1, screen_x/ 1.749 - 150, screen_y/ 1.96, color.new(255, 255, 255, 255), "HIDE")
        elseif HS and DT and FD and MD then
        render.draw_text(font1, screen_x/ 1.749 - 150, screen_y/ 1.92, color.new(255, 0, 0, 255), "HIDE")
        elseif HS and DT and MD then
        render.draw_text(font1, screen_x/ 1.749 - 150, screen_y/ 1.92, color.new(255, 0, 0, 255), "HIDE")
        elseif HS and FD and MD then
        render.draw_text(font1, screen_x/ 1.749 - 150, screen_y/ 1.96, color.new(255, 0, 0, 255), "HIDE")
        elseif HS and DT and FD and MD then
        render.draw_text(font1, screen_x/ 1.749 - 150, screen_y/ 1.92, color.new(255, 0, 0, 255), "HIDE")
        end



        if FD and not DT and not HS and not MD then
        render.draw_text(font1, screen_x/ 1.772 - 150, screen_y/ 1.96, color.new(255, 255, 255, 255), "FAKEDUCK")
        elseif FD and DT and not HS and not MD then
        render.draw_text(font1, screen_x/ 1.772 - 150, screen_y/ 1.92, color.new(255, 255, 255, 255), "FAKEDUCK")
        elseif FD and DT and HS and not MD then
        render.draw_text(font1, screen_x/ 1.772 - 150, screen_y/ 1.88, color.new(255, 255, 255, 255), "FAKEDUCK")
        elseif FD and not DT and not HS and MD then
        render.draw_text(font1, screen_x/ 1.772 - 150, screen_y/ 1.96, color.new(255, 255, 255, 255), "FAKEDUCK")
        elseif FD and not DT and HS and not MD then
        render.draw_text(font1, screen_x/ 1.772 - 150, screen_y/ 1.92, color.new(255, 255, 255, 255), "FAKEDUCK")
        elseif FD and DT and HS and MD then
        render.draw_text(font1, screen_x/ 1.772 - 150, screen_y/ 1.88, color.new(255, 255, 255, 255), "FAKEDUCK")
        elseif FD and DT and HS then
        render.draw_text(font1, screen_x/ 1.772 - 150, screen_y/ 1.88, color.new(255, 255, 255, 255), "FAKEDUCK")
        elseif FD and HS and MD then
        render.draw_text(font1, screen_x/ 1.772 - 150, screen_y/ 1.92, color.new(255, 255, 255, 255), "FAKEDUCK")
        elseif FD and DT and MD then
        render.draw_text(font1, screen_x/ 1.772 - 150, screen_y/ 1.92, color.new(255, 255, 255, 255), "FAKEDUCK")
        end



        if MD and not DT and not HS and not FD then
        render.draw_text(font1, screen_x/ 1.748 - 150, screen_y/ 1.96, color.new(255, 207, 105, 255), "DMG")
        elseif MD and DT and not HS and not FD then
        render.draw_text(font1, screen_x/ 1.748 - 150, screen_y/ 1.92, color.new(255, 207, 105, 255), "DMG")
        elseif MD and DT and HS and not FD then
        render.draw_text(font1, screen_x/ 1.748 - 150, screen_y/ 1.88, color.new(255, 207, 105, 255), "DMG")
        elseif MD and not DT and not HS and FD then
        render.draw_text(font1, screen_x/ 1.748 - 150, screen_y/ 1.92, color.new(255, 207, 105, 255), "DMG")
        elseif MD and not DT and HS and not FD then
        render.draw_text(font1, screen_x/ 1.748 - 150, screen_y/ 1.92, color.new(255, 207, 105, 255), "DMG")
        elseif MD and DT and HS and FD then
        render.draw_text(font1, screen_x/ 1.748 - 150, screen_y/ 1.84, color.new(255, 207, 105, 255), "DMG")
        elseif MD and HS and FD then
        render.draw_text(font1, screen_x/ 1.748 - 150, screen_y/ 1.88, color.new(255, 207, 105, 255), "DMG")
        elseif MD and DT and FD then
        render.draw_text(font1, screen_x/ 1.748 - 150, screen_y/ 1.88, color.new(255, 207, 105, 255), "DMG")
        end


end
client.add_callback("on_paint", indicators)
 
Последнее редактирование:
Сверху Снизу