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

Triggerbot shooting to all not only enemy #105

Open
kura6789 opened this issue Oct 19, 2023 · 3 comments
Open

Triggerbot shooting to all not only enemy #105

kura6789 opened this issue Oct 19, 2023 · 3 comments

Comments

@kura6789
Copy link

Hi, thanks again for sharing your project @TKazer
I pasted your triggerbot but I think it "doesn't know" what is localEntity and it shoots to all Entities. Can u hel with fix?

@chuckmorris420
Copy link

Lmao, you might wanna read and have a little think about what you're pasting. It "knows" if you tell it.

if (MenuConfig::TeamCheck)
		AllowShoot = LocalEntity.Pawn.TeamID != Entity.Pawn.TeamID && Entity.Pawn.Health > 0;

@archuser114514
Copy link

when the paster cant even understand simple code:

@kura6789
Copy link
Author

I think u missunderstood me.
I have code like this:
image
but why "LocalEntity" got grey collor?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants