View Single Post
SilentBr
Veteran Member
Join Date: Jan 2009
Old 07-07-2020 , 20:58   Re: [L4D2] Infected Hud Health Bar
Reply With Quote #13

Thanks for your work, I loved this HP HUD.

I found a bug, sometimes the dmg and hp text won't display, if I reload the plugin same issue, if I force sm_cvar works for one map only, then disappears.

I fixed myself doing this:
Code:
public void OnPluginStart()
{
...
...
...
CreateTimer(5.0, text);
}

public Action text(Handle timer)
{
		SetConVarString(cvarTextHealth, "■");
		SetConVarString(cvarTextDamage, "□");
}
SilentBr is offline