Yea I couldn't think of a good title...
Anyway, I do a lot of tf2 stuff that requires displaying information, so I was playing around a bit today trying to get access to the message area that the game_text_tf entity uses, after a few fails I got it working. Decided an include file was the best way to implement it, but I've never written one before so I used Colors as a base, and a lot of it was relevant so there are a couple borrowed lines in here, so thanks exvel.
Still in its early stages, code is pretty ugly and hardcoded settings, but it gets the job done. The one pitfall of using this that I've noticed so far is that if the player has the minimal interface enabled, these notifications don't display. Might make a fallback for that later if it's possible to determine if minimal interface is enabled on a client.
Code:
stock PrintToHud(client, const String:szMessage[], any:...)
stock PrintToHudAll(const String:szMessage[], any:...)
Also included isay as an example. Enjoy.