PAC3-Server / notagain

Custom Servercontent for the official PAC3 Server.
GNU General Public License v3.0
13 stars 22 forks source link

Fixed Hits Always Visible #84

Closed NanoAi closed 7 years ago

NanoAi commented 7 years ago

I found it strange that the hit numbers were visible through walls and pretty much gave you an unintentional wallhack.

I'm not sure if this is intentional but I've added a simple trace to check if LocalPlayer can actually see the Hit Entity.

I know it's probably not the best code and that it probably shouldn't be all in one line, but it's the best I can do at 4AM with a headache.

CapsAdmin commented 7 years ago

i added something that uses pixel visible handle to hide the hitmarkers instead

Techbot121 commented 7 years ago

commit in question 4cf4e97

NanoAi commented 7 years ago

Interesting, I'll keep that method in mind.