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.