"Occasionally" isn't good enough. It's either sending the message every second or it just won't look good ingame if it's overwritten by another message.
I tried hooking it through SVC_TEMPENTITY but it didn't work. Looking it up confirmed that it can't be hooked without orpheu
Quote:
Originally Posted by ot_207
Yes, connor is right.
You need to do the function format file for EngFunc_MessageBegin, EngFunc_MessageEnd, and EngFunc_WriteString. After that you basically hook the 3 functions with orpheu and do all the dirty work.
|
That leads us to:
1. Would anyone like to take a shot at this? Making the signatures if they are required as well as a sample plugin showing how you can use it to hook a hud message sent through a certain channel.
2. Arkshine if you read this, would a request for one of the channels to be set aside as a permanent hud channel be considered if I post it in the right section? Say if you use -1, the message wouldn't go through the channel assigned as the permanent hud channel.