• Stop Hurt Sounds from playing
    4 replies, posted
Anyway to stop the hurt sound from playing whenever you get hurt in a certain way for example when I use GM:EntityTakeDamage and scale the damage to 0 the hurt sound still plays
Block the damage event in that function instead of scaling it to 0.
How would I block the damage instead of scaling it?
[url]http://wiki.garrysmod.com/page/GM/EntityTakeDamage[/url] Look at the return value.
[QUOTE=code_gs;49089128][url]http://wiki.garrysmod.com/page/GM/EntityTakeDamage[/url] Look at the return value.[/QUOTE] Well that helps. Can't believe I never looked at that.
Sorry, you need to Log In to post a reply to this thread.