if (Utils::IsInGame() && Vars.legit_enable && Vars.legit_drawfovaimbot && WeaponSettings->aim_enabled)
{
float w2, h2;
{
w2 = Globals::ScreenWeight / 2;
h2 = Globals::ScreenHeight / 2;
}
float diagonal = sqrt(pow(Globals::ScreenWeight, 2) + pow(Globals::ScreenHeight, 2));
float fov = (CLegitBot::Get().GetFov() * (diagonal / 145.f));
if (Globals::LocalPlayer->m_hActiveWeapon()->IsSniper()) {
if (Globals::LocalPlayer->m_hActiveWeapon()->m_zoomLevel() == 1) {
CDraw::Get().Circle(w2, h2, fov * 2.72f, 50, Color::цвет);
}
else if (Globals::LocalPlayer->m_hActiveWeapon()->m_zoomLevel() == 2) {
CDraw::Get().Circle(w2, h2, fov * 8.16f, 50, Color::цвет);
}
else
CDraw::Get().Circle(w2, h2, fov, 50, Color::цвет);
}
else
CDraw::Get().Circle(w2, h2, fov, 50, Color::цвет);
}