QuestionHelpPrint in Console with C/C++

Posts 1–7 of 7 · Page 1 of 1
Print in Console with C/C++
Hi,
I was wondering how to go about printing text in the console. I have seen this in many hacks (Ex: cdspeed). I dont need a full tutorial on how to do it I just need a step in the right direction. I saw some stuff when searching like the "Garry's mod Binary module", The SDK for HL2, so on and so on.
If someone could just give a tip that would be much appreciated.
Thanks
Look into the exports of tier0.dll and you'll find what you need
Quote Originally Posted by IAmPhage View Post
Or do it a better way and get the console interface and being able to print rainbow colours.
https://developer.valvesoftware.com/wiki/IGameConsole
I think you need to look into the exports yourself, you can print to console in any rgb color using the ConColorMsg export.
Quote Originally Posted by 0x28 View Post
I think you need to look into the exports yourself, you can print to console in any rgb color using the ConColorMsg export.
Didn't know that was exported. Still it's gay and you might as well just use the class.
Quote Originally Posted by IAmPhage View Post
Didn't know that was exported. Still it's gay and you might as well just use the class.
lmfao i just find it easier than to make a class
I know this is an old thread but, I wanted to contribute...

You can include "tier0/dbg.h" and that has a function called "ConColorMsg()" which has two arguments, Color and then your text!


NOTE: to use Color() you will need to include Color.h!
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?