That's the not right place to ask for support since your problem is not related to dhud.
I can't help more you don't show enough code and you explain nothing. Please go to the scripting section.
If you think I'm wrong and the dhud functions have some issues, please provide more informations and explain better.