Posts: 27
Threads: 12
Joined: Jan 2015
Reputation:
0
Is there a way to disable weapon damage? I tried returning false on OnPlayerGiveDamage or OnPlayerTakeDamage but none of them seem to work. I have also tried to re-set the player's HP to the current thus it will prevent damage from being applied, however sometimes when the player has like 10 HP and he gets shot with an M4 he'll die because the damage of it is usually more than 10 HP..
Posts: 279
Threads: 11
Joined: Jul 2012
Reputation:
0
Return 0 in OnPlayerWeaponShot - other damage like punching or fire can't be stopped, only re-setting the player's HP will work, but players with low HP will die.
Posts: 27
Threads: 12
Joined: Jan 2015
Reputation:
0
When I return 0 in OnPlayerWeaponShot both calls back GiveDamage and TakeDamage won't be called thus I can't tell which body part they actually shot :X