Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aimbot.h #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions OverflowR6V2/core/game/aimbot.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ namespace game
angle.z = 0.f;
};

auto angle = vec3_t(x, y, 0.f);
auto angle = vec3_t(x, y, 60.f);
clamp(angle);

return angle;
};

auto aim_angle = calc_angle(source_head, entity_head);

auto calc_fov = [](vec3_t src, vec3_t aim)
auto calc_fov = [90](vec3_t src, vec3_t aim)
{
aim -= src;

Expand Down Expand Up @@ -263,4 +263,4 @@ namespace game

return set_view_angle(get_local(), 0xc0, calculate_quaternion(angle)); // 0x134 silent
}
}
}