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

NoShoot Changes #739

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

@@ -114,6 +116,7 @@ void Aimbot::RenderTab()
{
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

@@ -358,7 +358,13 @@ void Aimbot::RenderTab()
ImGui::PopItemWidth();
}
}


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

@@ -560,7 +588,8 @@ void Aimbot::CreateMove(CUserCmd* cmd)
}
}
}

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

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants