Подписывайтесь на наш Telegram и не пропускайте важные новости! Перейти

Spectator list source?

  • Автор темы Автор темы Kimchi
  • Дата начала Дата начала
Начинающий
Начинающий
Статус
Оффлайн
Регистрация
20 Май 2017
Сообщения
89
Реакции
10
Anyone have spectator list source for TGF?
or Any Tutorials??
 
для tgf? может для imgui?
 
????????????????????? lol ofc its possible for Imgui based source, it doesnt cares its menu base not hack base source lolol
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
void SpecList()
{
IClientEntity *pLocal = hackManager.pLocal();

RECT scrn = Render::GetViewport();
int AC = 0;

// Loop through all active entitys
for (int i = 0; i < Interfaces::EntList->GetHighestEntityIndex(); i++)
{
// Get the entity
IClientEntity *pEntity = Interfaces::EntList->GetClientEntity(i);
player_info_t pinfo;

// The entity isn't some laggy peice of shit or something
if (pEntity && pEntity != pLocal)
{
if (Interfaces::Engine->GetPlayerInfo(i, &pinfo) && !pEntity->IsAlive() && !pEntity->IsDormant())
{
HANDLE obs = pEntity->GetObserverTargetHandle();

if (obs)
{
IClientEntity *pTarget = Interfaces::EntList->GetClientEntityFromHandle(obs);
player_info_t pinfo2;
if (pTarget)
{
if (Interfaces::Engine->GetPlayerInfo(pTarget->GetIndex(), &pinfo2))
{
char buf[255]; sprintf_s(buf, "%s => %s", pinfo.name, pinfo2.name);
RECT TextSize = Render::GetTextSize(Render::Fonts::ESP, buf);
Render::Clear(scrn.right - 260, (scrn.bottom / 2) + (16 * AC), 260, 16, Color(0, 0, 0, 140));
Render::Text(scrn.right - TextSize.right - 4, (scrn.bottom / 2) + (16 * AC), pTarget->GetIndex() == pLocal->GetIndex() ? Color(240, 70, 80, 255) : Color(255, 255, 255, 255), Render::Fonts::ESP, buf);
AC++;
}
}
}
}
}
}

Render::Outline(scrn.right - 261, (scrn.bottom / 2) - 1, 262, (16 * AC) + 2, Color(23, 23, 23, 255));
Render::Outline(scrn.right - 260, (scrn.bottom / 2), 260, (16 * AC), Color(90, 90, 90, 255));
}

its not from tgf but if you are not dumb copypaster it will help you alot
 
Назад
Сверху Снизу