Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CVisuals::DrawFOVCrosshair()
- {
- CBaseEntity* localplayer = (CBaseEntity*)I::ClientEntList->GetClientEntity(I::Engine->GetLocalPlayer());
- if (!localplayer->GetAlive())
- return;
- int width, height;
- I::Engine->GetScreenSize(width, height);
- float radius;
- }
- if (&Vars.Misc.Test)
- {
- float aimbotFov = vars.legitbot.aimbot.fovb;
- float fov = 106;
- radius = tanf(DEG2RAD(aimbotFov) / 2) / tanf(DEG2RAD(fov) / 2) * width;
- }
- D::Circle(Vector2D(width / 2, height / 2), 20, radius, Color::Red();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement