Quote:
Originally Posted by Hawk552
Some of the code seems similar to mine... it looks like you copy and pasted a bunch of other plugins to make this. Whatever, if it works and decently, approved.
|
I'm almost positive I didn't take any code from any of your plugins.
Admittedly a large amount of the code is a direct copy paste from avalanches weapon immunity plugin, but I asked him for permission to released this because of the fact its largely not my work.
It's just a specialised implementation of his code to achieve a specific purpose..
bordeaux:
It hooks the trace line / sphere functions. Halflife does these when you shoot/ stab with a knife respectively (and many other times..). It checks to see if you hit anyone and does some team checks and looks for nearby teammates.
If it finds too many teammates within range it edits the traceline function and tells the halflife engine that nobody got hit.