Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =====================================
- go to esp.cpp
- =====================================
- search
- Код:
- void CEsp::OnRender()
- and add this cdoe
- Код:
- // Draw Ticks
- if (Settings::Aimbot::aim_Backtrack && Settings::Aimbot::aim_DrawBacktrack)
- {
- for (int i = 0; i < Interfaces::EntityList()->GetHighestEntityIndex(); i++)
- {
- backtrackData headPositions[64][16];
- CBaseEntity* local = (CBaseEntity*)Interfaces::EntityList()->GetClientEntity(Interfaces::Engine()->GetLocalPlayer());
- CBaseEntity *entity = (CBaseEntity*)Interfaces::EntityList()->GetClientEntity(i);
- PlayerInfo pinfo;
- if (entity == nullptr)
- continue;
- if (entity == local)
- continue;
- if (entity->IsDormant())
- continue;
- if (Interfaces::Engine()->GetPlayerInfo(i, &pinfo) && !entity->IsDead())
- {
- if (!local->IsDead())
- {
- for (int t = 0; t < Settings::Aimbot::aim_Backtracktickrate; ++t)
- {
- Vector screenbacktrack[64][12];
- if (headPositions[i][t].simtime && headPositions[i][t].simtime + 1 > local->GetSimTime())
- {
- if (WorldToScreen(headPositions[i][t].hitboxPos, screenbacktrack[i][t]))
- {
- g_pRender->DrawFillBox(screenbacktrack[i][t].x, screenbacktrack[i][t].y, 2, 2, Color::Red());
- }
- }
- }
- }
- else
- {
- memset(&headPositions[0][0], 0, sizeof(headPositions));
- }
- }
- }
- }
- and
- ====================================
- go to Client.cpp
- ====================================
- and add
- Код:
- ImGui::Checkbox("Draw Ticks", &Settings::Aimbot::aim_DrawBacktrack);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement