Skip to content
This repository was archived by the owner on Nov 5, 2018. It is now read-only.

NoShoot Changes#739

Open
rennmaus25 wants to merge 1 commit intoAimTuxOfficial:masterfrom
rennmaus25:master
Open

NoShoot Changes#739
rennmaus25 wants to merge 1 commit intoAimTuxOfficial:masterfrom
rennmaus25:master

Conversation

@rennmaus25
Copy link

I added an option to not shoot at all, shot only if you're directly looking at your enemy or shoot normally after the first shot.

…ectly lokking at the target 3) spray normally after first shot
Copy link
Contributor

@meyer9 meyer9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple style changes, but otherwise, LGTM

{
const char* targets[] = { "PELVIS", "", "", "HIP", "LOWER SPINE", "MIDDLE SPINE", "UPPER SPINE", "NECK", "HEAD" };
const char* smoothTypes[] = { "Slow Near End", "Constant Speed", "Fast Near End" };
const char* noShootTypes[] = { "None", "On target", "Spray" };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

capitalize target

}


if (ImGui::Checkbox("No Shoot", &noShootEnabled))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct indentation

//if the player your aiming at is the aimbot target you can shoot
if(Settings::Aimbot::NoShoot::type == NoShootType::AFTER_FIRST_SHOT&&(target==player||noshoot))
{
noshoot=true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spaces before and after operators

}

if(!player||!(cmd->buttons&IN_ATTACK))
noshoot=false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants