oscar-broman / samp-weapon-config

A more consistent and responsive damage system with many new features
Apache License 2.0
92 stars 84 forks source link

Two players cannot kill each other at the same moment #188

Closed NexiusTailer closed 3 years ago

NexiusTailer commented 3 years ago

It can be explained more clearly by the video: https://www.youtube.com/watch?v=iSzcvU5ifNI

When the 1st player shoot the 2nd and vise-versa at the same time, natively such damage from both players will be applied (and both shooters will die from eachothers' bullet), but with wc it cannot be like that. The reason in this check (and this), so I think this should be discussed for revision. It is not a PR with just deleting those 2 checks since they serve as a fairly serious barrier and should block any invalid damage as a result of bugs/lags or deliberate damage spoofing. My opinion this should not be completely removed, but adding some excluding delay just after death or something like that make it able to damage from the weapon which player has before dying will be a possible solution.

NexiusTailer commented 3 years ago

Closed in advance to the mentioned PR that should solve this.