How to disable the red overlay when taking damage? The title pretty much says it all. I’ve poked around the wiki to try and find a solution, however I can’t seem to find anything on it.
edit : Never-mind these idiotic rambles, scroll down.
These are just ideas, maybe you could scale the damage to 0, and then simply reduce the player’s health. Or maybe you could try disguising the damage so it’s a type that doesn’t flash the HUD, but I’m not sure one exists… I do think I saw it done tough. There probably is a one line undocumented command to make this whole thing happen but I don’t know it.
function GM:HUDShouldDraw( name )
if name == "CHudDamageIndicator" then return false end return true
that’s way too hacky
I figured, I just really didn’t know the name of the HUD to disable… Guess I had to search the wiki a bit more… http://wiki.garrysmod.com/?title=Hud_Elements