- Статус
- Оффлайн
- Регистрация
- 4 Мар 2018
- Сообщения
- 25
- Реакции
- 12
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Yo guys where is my wrong help me please
thats my backtrack skeleton source but idk i'm not too good
thats my backtrack skeleton source but idk i'm not too good
Код:
void CEsp::BacktrackHistory(IClientEntity* pEntity)
{
//---------------------------------------SKELETON THINGS---------------------------------------//
studiohdr_t* pStudioHdr = Interfaces::ModelInfo->GetStudiomodel(pEntity->GetModel());
float health = pEntity->GetHealth();
if (health > 100)
health = 100;
if (!pStudioHdr)
return;
Vector vParent, vChild, sParent, sChild;
// const auto matrix = backtracking->records[player_index].boneMatrix;
if (Menu::Window.LegitBotTab.AimbotBacktrack.GetState())
{
for (int i = 0; i < Interfaces::EntList->GetHighestEntityIndex(); i++)
{
int TeamNum = pEntity->GetTeamNum();
player_info_t pinfo;
if (pEntity && pEntity != hackManager.pLocal() && !pEntity->IsDormant())
{
if (Menu::Window.LegitBotTab.AimbotBacktrack.GetState())
{
if (Interfaces::Engine->GetPlayerInfo(i, &pinfo) && pEntity->IsAlive())
{
for (int t = 0; t < 12; ++t)
{
Vector screenbacktrack[64][12];
for (int j = 0; j < pStudioHdr->numbones; j++)
{
mstudiobone_t* pBone = pStudioHdr->GetBone(j);
if (pBone && (pBone->flags & BONE_USED_BY_HITBOX) && (pBone->parent != -1))
{
vChild = pEntity->GetBonePos(j);
vParent = pEntity->GetBonePos(pBone->parent);
if (Render::WorldToScreen(vParent, sParent) && Render::WorldToScreen(vChild, sChild))
{
Render::Line(sParent[0], sParent[1], sChild[0], sChild[1], Color(250, 250, 250, 255));
}
}
}
}
}
}
}
}
}
}