Name ESP

Posts 1–6 of 6 · Page 1 of 1
Name ESP
My name esp isn't working.Help me fix it.
My codes:
Code:
for (int i = 1; i < 8; i++)
	{
		if (left > arr[i].x)
			left = arr[i].x;
		if (top < arr[i].y)
			top = arr[i].y;
		if (right < arr[i].x)
			right = arr[i].x;
		if (bottom > arr[i].y)
			bottom = arr[i].y;
	}

	char playerName[32];
	sprintf(playerName, "%s", pInfo.name);

	if (vis_acti.getValve()) {
		if (vis_name.getValve())
		{
			DrawStringMiddle(pFont, true, x, y, Color(255, 255, 255, 255), pInfo.name);
		}
Code:
}
						if (vis_name.getValve()) {
							DrawStringMiddle(pFont, true, top.x, top.y - 5, Color(240, 240, 240, 255), pInfo.name);
						}
Saw an another source code with name esp and it's working
Code:
if(Config->GetValue( "Visuals", "Name" ).m_bValue)
			{
				Draw::DrawString( 5, vecTop.x + iWidth + (iWidth / 8) + 8, vecTop.y + 6, colTeam, false, "%s", pEntity->GetName( ).c_str( ) );
			}
So where the fu*k is my trouble.
What do you hope to accomplish with an uninitialized struct?
Quote Originally Posted by Epik View Post
What do you hope to accomplish with an uninitialized struct?
void RenderESP(UICheckBox vis_active, UICheckBox vis_name)
///////2short
Quote Originally Posted by ArRiELL_ View Post
///////2short
I meant object my bad. Your object (pInfo) contains empty variables so you'll have to initialize it.
Quote Originally Posted by Epik View Post


I meant object my bad. Your object (pInfo) contains empty variables so you'll have to initialize it.
Could you help me with some code?
Believe this has been solved.

/Closed.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us