30.10.2016, 12:48
I guess it's because when you do something under OnPlayerTakeDamage it does all the stuff before player loses health so basically you recude the amount from the variable and after that you get the player's actual health which didn't lose that "amount" of health yet so they differ. For example you got 100 health, the amount is 50, you remove amount from the variable, there's 50 left in the variable, but when you get the actual health after that it's still 100, because it will take the actual health after all of that stuff so I guess only way is adding serversided weapon damages.