Advertisement
Anti-hide

Гайд - Draw Backtrack for Indigo

Dec 3rd, 2017
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. =====================================
  2. go to esp.cpp
  3. =====================================
  4. search
  5. Код:
  6. void CEsp::OnRender()
  7. and add this cdoe
  8. Код:
  9. // Draw Ticks
  10. if (Settings::Aimbot::aim_Backtrack && Settings::Aimbot::aim_DrawBacktrack)
  11. {
  12. for (int i = 0; i < Interfaces::EntityList()->GetHighestEntityIndex(); i++)
  13. {
  14. backtrackData headPositions[64][16];
  15. CBaseEntity* local = (CBaseEntity*)Interfaces::EntityList()->GetClientEntity(Interfaces::Engine()->GetLocalPlayer());
  16. CBaseEntity *entity = (CBaseEntity*)Interfaces::EntityList()->GetClientEntity(i);
  17. PlayerInfo pinfo;
  18. if (entity == nullptr)
  19. continue;
  20. if (entity == local)
  21. continue;
  22. if (entity->IsDormant())
  23. continue;
  24. if (Interfaces::Engine()->GetPlayerInfo(i, &pinfo) && !entity->IsDead())
  25. {
  26. if (!local->IsDead())
  27. {
  28. for (int t = 0; t < Settings::Aimbot::aim_Backtracktickrate; ++t)
  29. {
  30. Vector screenbacktrack[64][12];
  31. if (headPositions[i][t].simtime && headPositions[i][t].simtime + 1 > local->GetSimTime())
  32. {
  33. if (WorldToScreen(headPositions[i][t].hitboxPos, screenbacktrack[i][t]))
  34. {
  35. g_pRender->DrawFillBox(screenbacktrack[i][t].x, screenbacktrack[i][t].y, 2, 2, Color::Red());
  36. }
  37. }
  38. }
  39. }
  40. else
  41. {
  42. memset(&headPositions[0][0], 0, sizeof(headPositions));
  43. }
  44. }
  45. }
  46. }
  47. and
  48. ====================================
  49. go to Client.cpp
  50. ====================================
  51. and add
  52. Код:
  53. ImGui::Checkbox("Draw Ticks", &Settings::Aimbot::aim_DrawBacktrack);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement