HelpCoding a Chicken ESP

Posts 1–7 of 7 · Page 1 of 1
Coding a Chicken ESP
So well yeah I dont know why this doesent work correctly, it should show all Entitys


void DrawAllEnts(cbasee*pEnt, int r, int g, int b)
{
for (int i = 0; i < 64; ++i)
{

if (pEnt == NULL)
return;

Vector nigga1, nigga2;

nigga2 = pEnt->GetAbsOrigin();

nigga1 = nigga2 + Vector(0, 0, 20.f);


Vector diwn, Top;

if (WorldToScreen(nigga2, diwn) && WorldToScreen(nigga1, Top))
{
float h = (diwn.y - Top.y);

float w = h / 2.f;

DrawStringTanga((int)Top.x - (int)w / 2, (int)(Top.y - (h / 10)), RGBA(r, g, b, 255), Tahoma16, "CYKA!");
}
}
}


What am I doing wrong ?
I have no idea what your doing here but The way I do chicken esp is the same as normal and i just check if ClassID = 31.
He is doing D3D ESP if i get it right. Its not same as glow
Quote Originally Posted by legit_player View Post
He is doing D3D ESP if i get it right. Its not same as glow
What does that change? You still have to specify the entity.
lmaoo
I wasnt talking about the class id. He was saying that he doesnt know what is he doing so i am saying that its D3D and its different from glow.
Quote Originally Posted by kxhashimoto View Post
So well yeah I dont know why this doesent work correctly, it should show all Entitys
1, You don't even get's the Chicken Entity.

you can do it from CClass.
for ex:
Code:
if(strstr(pEnt->GetClientClass()->GetName(), "CChicken")) {
// draw ur shitty chicken esp.
}
or as the guy above me said, use ClassID.
As said on the other forum, it looks like you have no idea what you are doing.

You aren't even iterating through the entities in your function.

Your function is not designed to draw all entities neither to draw only chickens.

Why do you pass an entity pointer to the function if your function should draw all entites in one call even though you are not iterating through them?

You've got no idea what you are doing and seem to just try pasting stuff together.

Also, as said on the other forum, return should be a continue.

Also, you never say if you are internal or external.
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us