This plugin fixes a bug when you fall from a particular height and you can hear the damage sound but your health doesn't change.
1.What actually happends is that the collision model is to late to being with the real character itself (~4 units away). (Unsure).
2.The rounding is wrong in the hl engine which do for ex. Round 0.9 to 0 instead of 1.0, so the bug does less than 1 damage but it rounds it to 0 damage which will just play the sound.
So this plugin fixes the damage sound bug, you won't hear the sound anymore and health will not change either.
Modules
-amxmodx
-hamsandwich
Credits
protoN - Told me that health isn't an float, about the collision model and found a good place to test the bug on (video below).
Bla^ - Told me the rounding bug. (New info).
Other info
As from beginning by myself I thought health was an float and you could jump 10 times and it would change hp, but that wasn't true it was actually a bug as I wrote above, what happends.
I made a fast video where the bug is shown.
Tested with amxmodx 1.8.1 in Counter-Strike 1.6.
Attached Files

Wyświetl pełny artykuł