TKazer / CS2_External

CS2 external cheat.
MIT License
604 stars 140 forks source link

Triggerbot shooting to all not only enemy #105

Open kura6789 opened 1 year ago

kura6789 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

when the paster cant even understand simple code:

kura6789 commented 1 year ago

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