Adding a "Watermark" to indigo

Posts 1–2 of 2 · Page 1 of 1
Adding a "Watermark" to indigo

Hey! So this is a simple and fast tutorial to add a "watermark" to your paste!
First, open up your solution. You will need to modify these two files:
Settings.h
Client.cpp

First, open up Settings.h,
we will define our text to show.

For example, we can add this code:
Code:
#define HACK_NAME "Secret Paste"
#define HACK_ISSUED "User: dildo"
Next, we will go to Client.cpp,
we will add the code to draw this, first find the function void OnRender().
We will add our code under g_vCenterScreen.y = iScreenHeight / 2.f;
Add the following code:
Code:
			if (Interfaces::Engine()->IsInGame())
				g_pRender->Text(3, 3, false, true, Color::Red(), HACK_NAME);
			if (Interfaces::Engine()->IsInGame())
				g_pRender->Text(15, 15, false, true, Color::OrangeRed(), HACK_ISSUED);
			if (!Interfaces::Engine()->IsConnected())
				g_pRender->Text(3, 3, false, true, Color::Red(), HACK_NAME);
			if (!Interfaces::Engine()->IsConnected())
				g_pRender->Text(15, 15, false, true, Color::OrangeRed(), HACK_ISSUED);
Basically, we tell the Render function an instruction, to Render a Text with different values, we specified both ingame and outside of game values. So this will show not only in main menu, but also in game. the IsConnected and IsInGame function are importnant. Adding a ! symbol before Interfaces means, that that doesn't apply. In the IsConnected case, we ask if it isn't connected, after that we render our code. We choose our colors and it's basically done. After you fire csgo up and inject the hack, you can see at top left corner, we have our watermark. Enjoy.
Sorry if this tutorial didn't explain a lot, I am just getting to the way of explaining etc. Just hope, this will help.
if (Interfaces::Engine()->IsInGame())
g_pRender->Text(3, 3, false, true, Color::Red(), HACK_NAME);


Why Define if you can just make a string and dont irretate people that have no clue
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us