-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
JavaScript:
menu.add_check_box("IND")
menu.add_slider_int("ind X", 0, engine.get_screen_width())
menu.add_slider_int("ind Y", 0, engine.get_screen_height())
local font = render.create_font("Verdana", 25, 700, true, true, false)
function paint()
if menu.get_bool("IND") then
local lc_player = entitylist.get_local_player()
local index = 60 / (lc_player:get_velocity():length_2d() /350 )
local x = menu.get_int("ind X")
local y = menu.get_int("ind Y")
if index > 225 then
index = 225
end
local choked = cmd.get_choke()
if choked > 225 then
choked = 225
end
local fps = globals.get_framerate()
if fps > 225 then
fps = 225
end
local ping = globals.get_ping()
if ping > 205 then
ping = 205
end
local vel = lc_player:get_velocity():length_2d()
if vel > 225 then
vel = 225
end
------------------------------------------------------------------------------------------
render.draw_circle_filled(x + 85, y + 23 , 225 - 20 , 20 - 10, color.new(40, 40, 40, 255))
render.draw_circle_filled(x + 85, y + 23 , index - 20, 20 - 11, color.new(154, 205, 50))
render.draw_circle_filled(x + 85, y + 23 , index - 20, 20 - 14, color.new(40, 40, 40, 255))
render.draw_text(font, x + 10, y + 10, color.new(154, 205, 50), "FAKE")
------------------------------------------------------------------------------------------
render.draw_circle_filled(x + 70, y + 23 + 25 , 225 - 20 , 20 - 10, color.new(40, 40, 40, 255))
render.draw_circle_filled(x + 70, y + 23 + 25, fps - 20, 20 - 11, color.new(154, 205, 50))
render.draw_circle_filled(x + 70, y + 23 + 25 , 225 - 20 , 20 - 14, color.new(40, 40, 40, 255))
render.draw_text(font, x + 10, y + 10 + 25, color.new(154, 205, 50), "FPS")
------------------------------------------------------------------------------------------
render.draw_circle_filled(x + 115, y + 23 + 25+ 25 , 225 - 20 , 20 - 10, color.new(40, 40, 40, 255))
render.draw_circle_filled(x + 115, y + 23 + 25+ 25, ping * 2 , 20 - 11, color.new(154, 205, 50))
render.draw_circle_filled(x + 115, y + 23 + 25+ 25 , 225 - 20 , 20 - 14, color.new(40, 40, 40, 255))
render.draw_text(font, x + 10, y + 10 + 25+ 25, color.new(154, 205, 50), "Latency")
------------------------------------------------------------------------------------------
render.draw_circle_filled(x + 115, y + 23 + 25+ 25 + 25, 225 - 20 , 20 - 10, color.new(40, 40, 40, 255))
render.draw_circle_filled(x + 115, y + 23 + 25+ 25+ 25, vel- 20 , 20 - 11, color.new(154, 205, 50))
render.draw_circle_filled(x + 115, y + 23 + 25+ 25 + 25, 225 - 20 , 20 - 14, color.new(40, 40, 40, 255))
render.draw_text(font, x + 10, y + 10 + 25+ 25+ 25, color.new(154, 205, 50), "Velocity")
------------------------------------------------------------------------------------------
render.draw_circle_filled(x + 95, y + 23 + 25+ 25 + 25 + 25, 225 - 20 , 20 - 10, color.new(40, 40, 40, 255))
render.draw_circle_filled(x + 95, y + 23 + 25+ 25+ 25 + 25, choked , 20 - 11, color.new(154, 205, 50))
render.draw_circle_filled(x + 95, y + 23 + 25+ 25 + 25 + 25, 225 - 20 , 20 - 14, color.new(40, 40, 40, 255))
render.draw_text(font, x + 10, y + 10 + 25+ 25+ 25 + 25, color.new(154, 205, 50), "Choke")
end
end
client.add_callback("on_paint", paint)