if (Interfaces::Engine->IsInGame() && Interfaces::Engine->IsConnected())
{
if (Vars.Misc.NoScope && strcmp("HudZoom", Interfaces::Panels->GetName(vguiPanel)) == 0)
return;
if (Vars.Misc.NoScope)
{
if (hackManager.pLocal()->IsAlive() && hackManager.pLocal()->IsScoped())
{
int width, height;
Interfaces::Engine->GetScreenSize(width, height);
Render::Line(width / 2, 0, width / 2, height, Color(0, 0, 0, 255));
Render::Line(0, height / 2, width, height / 2, Color(0, 0, 0, 255));
}
}
}