Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. IClientEntity *pLocal = hackManager.pLocal();
  2. for (int i = 0; i < Interfaces::EntList->GetHighestEntityIndex(); i++)
  3.  
  4. if (Menu::Window.LegitBotTab.backtrack.GetState())
  5. {
  6. if (pLocal->IsAlive())
  7. {
  8. for (int t = 0; t < 12; ++t)
  9. {
  10. Vector screenbacktrack[64][12];
  11.  
  12. if (headPositions33[i][t].simtime33 && headPositions33[i][t].simtime33 + 1 > pLocal->GetSimulationTime())
  13. {
  14. if (Render::WorldToScreen(headPositions33[i][t].hitboxPos33, screenbacktrack[i][t]))
  15. {
  16.  
  17. Interfaces::Surface->DrawSetColor(Color::Red());
  18. Interfaces::Surface->DrawOutlinedRect(screenbacktrack[i][t].x, screenbacktrack[i][t].y, screenbacktrack[i][t].x + 2, screenbacktrack[i][t].y + 2);
  19.  
  20. }
  21. }
  22. }
  23. }
  24. else
  25. {
  26. memset(&headPositions33[0][0], 0, sizeof(headPositions33));
  27. }
  28. }
  29. if (Menu::Window.RageBotTab.FakeLagFix.GetState())
  30. {
  31. for (int i = 0; i < Interfaces::EntList->GetHighestEntityIndex(); i++)
  32. if (pLocal->IsAlive())
  33. {
  34. Vector screenbacktrack[64];
  35.  
  36. if (backtracking33->records33[i].tick_count33 + 12 > Interfaces::Globals->tickcount)
  37. {
  38. if (Render::WorldToScreen(backtracking33->records33[i].headPosition33, screenbacktrack[i]))
  39. {
  40.  
  41. Interfaces::Surface->DrawSetColor(Color::Red());
  42. Interfaces::Surface->DrawOutlinedRect(screenbacktrack[i].x, screenbacktrack[i].y, screenbacktrack[i].x + 2, screenbacktrack[i].y + 2);
  43.  
  44. }
  45. }
  46. }
  47. else
  48. {
  49. memset(&backtracking33->records33[0], 0, sizeof(backtracking33->records33));
  50. }
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement