Quote:
Originally Posted by Mitchell
so like a developer could change a text that is printed to console?
What im wondering is if this is just used on PrintToConsole, or if you can stop "Player killed Player2." messages in console.
|
It uses SourceHook to hook IVEngineServer::ClientPrintf, so anything sending a message through that will be hooked, and if it's not hooked, you can simply hook the "TextMsg" usermessage and check if the first byte is HUD_PRINTCONSOLE (which is 2), and you have hooked both of the methods that text could be passed on to a client's console (serverside).
__________________