Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IClientEntity *pLocal = hackManager.pLocal();
- for (int i = 0; i < Interfaces::EntList->GetHighestEntityIndex(); i++)
- if (Menu::Window.LegitBotTab.backtrack.GetState())
- {
- if (pLocal->IsAlive())
- {
- for (int t = 0; t < 12; ++t)
- {
- Vector screenbacktrack[64][12];
- if (headPositions33[i][t].simtime33 && headPositions33[i][t].simtime33 + 1 > pLocal->GetSimulationTime())
- {
- if (Render::WorldToScreen(headPositions33[i][t].hitboxPos33, screenbacktrack[i][t]))
- {
- Interfaces::Surface->DrawSetColor(Color::Red());
- Interfaces::Surface->DrawOutlinedRect(screenbacktrack[i][t].x, screenbacktrack[i][t].y, screenbacktrack[i][t].x + 2, screenbacktrack[i][t].y + 2);
- }
- }
- }
- }
- else
- {
- memset(&headPositions33[0][0], 0, sizeof(headPositions33));
- }
- }
- if (Menu::Window.RageBotTab.FakeLagFix.GetState())
- {
- for (int i = 0; i < Interfaces::EntList->GetHighestEntityIndex(); i++)
- if (pLocal->IsAlive())
- {
- Vector screenbacktrack[64];
- if (backtracking33->records33[i].tick_count33 + 12 > Interfaces::Globals->tickcount)
- {
- if (Render::WorldToScreen(backtracking33->records33[i].headPosition33, screenbacktrack[i]))
- {
- Interfaces::Surface->DrawSetColor(Color::Red());
- Interfaces::Surface->DrawOutlinedRect(screenbacktrack[i].x, screenbacktrack[i].y, screenbacktrack[i].x + 2, screenbacktrack[i].y + 2);
- }
- }
- }
- else
- {
- memset(&backtracking33->records33[0], 0, sizeof(backtracking33->records33));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement