You're in the Scripting Help section, so you're the one who sould do something. Try it and post if you have any problems.
You simply need to replace "set_hudmessage" with "set_dhudmessage" and "ShowSyncHudMsg" with "show_dhudmessage".
Also remove the "g_msgsync" parameter in the second one because DHUD doesn't support syncing.