Lagcomp - Double kill, when player still shooting to body
#2

This can happen with any weapon actually and pretty easy to fix simply return 0; in OnPlayerWeaponShot() if the hit player has spawned in last second or two also set a variable to mark the player as dead when the die and set it to false when they spawn if they're dead return 0; in OnPlayerWeaponShot().

Overall lagcomp is junk the best way to set up a damage system with lagcomp on is to use OnPlayerGiveDamage() otherwise your going to get a significant failure rate even though the shots may hit the player.
Reply


Messages In This Thread
Lagcomp - Double kill, when player still shooting to body - by adik311 - 03.09.2014, 17:33
Re: Lagcomp - Double kill, when player still shooting to body - by Pottus - 04.09.2014, 03:45

Forum Jump:


Users browsing this thread: 1 Guest(s)