When drawing my ESP in Paint or in PaintTraverse, all players won't show up sometimes or sometimes they will but then later disappear.
Nothing in my checks seems like it's causing any of this. Weirdly enough, I tried it in singleplayer sandbox and the problem goes away, even with custom player models they're fine, It's usually in custom gamemode like DarkRP and shit. My guess is it's the addons fucking with panels or some shit.
Code:
for (int i = 1; i < p_entitylist->GetHighestEntityIndex(); i++)
{
player_info_s pInfo;
C_BaseEntity* pEntity = (C_BaseEntity*)p_entitylist->GetClientEntity(i);
if (pEntity == NULL)
return;
//if (i == p_engine->GetLocalPlayer())
// return;
if (pEntity->IsAlive() && pEntity != pLocal && !pEntity->IsDormant() && p_engine->GetPlayerInfo(pEntity->GetIndex(), &pInfo))
continue;
Has anyone encountered this problem? Is there a solution or a work around? My index for IsDormant is 73 which should be right, but just incase it isn't.
EXAMPLE: