SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | C_BaseEntity *scanner[256]; |
2 | - | // -------------------------------------------------------------------------------- // |
2 | + | int ent_count = UTIL_EntitiesInSphere(scanner, 256, |
3 | - | // CAimbot/ESP by Capt. Micro |
3 | + | local->GetAbsOrigin(), fMaxDist, 0); |
4 | - | // -------------------------------------------------------------------------------- // |
4 | + | for (int i = 0; i < ent_count; i++) |
5 | - | class CAimbot |
5 | + | { |
6 | - | { |
6 | + | if ((scanner[i] != NULL) |
7 | - | public: |
7 | + | && scanner[i]->IsAlive() && scanner[i]->IsNPC()) |
8 | - | CAimbot(); |
8 | + | { |
9 | - | ~CAimbot(); |
9 | + | /*Vector vec; |
10 | - | bool bShowRays; |
10 | + | AimbotGetAimPos(scanner[i], vec); |
11 | - | bool bAimbot; |
11 | + | debugoverlay->AddTextOverlayRGB(vec, 0, 0.05f, 0, 0, 255, 200, "^");*/ |
12 | - | bool bFindHits; |
12 | + | CCollisionProperty *pCollide = scanner[i]->CollisionProp(); |
13 | - | bool bEsp; |
13 | + | if (pCollide == 0) continue; |
14 | - | float fMaxDist; |
14 | + | debugoverlay->AddBoxOverlay(scanner[i]->GetAbsOrigin(), |
15 | - | IVDebugOverlay *debugoverlay; |
15 | + | pCollide->OBBMins(), pCollide->OBBMaxs(), |
16 | - | bool ReadyForUse(void); |
16 | + | scanner[i]->GetAbsAngles(), 255, 0, 0, 5, 0.1f); |
17 | - | void ModifyUserCmd(CUserCmd *cmd); |
17 | + | } |
18 | - | void DrawEspOverlay(void); |
18 | + | } |