Hello,
I try to disable the red display that indicates the direction of damage that we receive, I searched, but I can not find anywhere.
You can see it here CHudDamageIndicator
Thank you to anyone who can help me
GM/HUDShouldDraw
I suppose you haven't checked the up to date wiki.
common\GarrysModDS\garrysmod\gamemodes\darkrp\gamemode\modules\hud\cl_hud.lua
I changed this,
function GM:HUDShouldDraw(name)
if name == "CHudHealth" or
name == "CHudBattery" or
name == "CHudSuitPower" or
(HelpToggled and name == "CHudChat") then
return false
else
return self.Sandbox.HUDShouldDraw(self, name)
end
end
By that,
function GM:HUDShouldDraw(name)
if name == "CHudHealth" or
name == "CHudBattery" or
name == "CHudDamageIndicator" or
name == "CHudSuitPower" or
(HelpToggled and name == "CHudChat") then
return false
else
return self.Sandbox.HUDShouldDraw(self, name)
end
end
It works perfectly thank you for your help this has been very useful !
Sorry, you need to Log In to post a reply to this thread.