Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float fSelX_CAimbot = 0.02f;
- float fLast_CAimbot = 0.0f;
- GAimbot *g_aimbot = 0;
- if (IsLocalPlayer() && !IsInVGuiInputMode() && debugoverlay)
- {
- if (g_aimbot == 0) g_aimbot = new CAimbot();
- debugoverlay->AddScreenTextOverlay(0.000f, fSelX_CAimbot, 0.1f,
- (pCmd->buttons&IN_WALK)?255:0, 0, 0, 200, ">");
- if (pCmd->buttons & IN_WALK)
- {
- if ((pCmd->buttons & IN_ZOOM) && (engine->Time() > fLast_CAimbot)) {
- if (fSelX_CAimbot <= 0.04f) fSelX_CAimbot += 0.01f;
- else fSelX_CAimbot = 0.02f;
- fLast_CAimbot = engine->Time() + 0.1f;
- } else if ((pCmd->buttons & IN_JUMP) && (engine->Time() > fLast_CAimbot)) {
- if (fSelX_CAimbot == 0.02f) g_aimbot->bAimbot = !g_aimbot->bAimbot;
- if (fSelX_CAimbot == 0.03f) g_aimbot->bEsp = !g_aimbot->bEsp;
- if (fSelX_CAimbot == 0.04f) g_aimbot->bFindHits = !g_aimbot->bFindHits;
- if (fSelX_CAimbot == 0.05f) { Msg("rays\n"); g_aimbot->bShowRays = !g_aimbot->bShowRays; }
- fLast_CAimbot = engine->Time() + 0.1f;
- }
- }
- if (g_aimbot->local == 0) g_aimbot->local = this;
- if (g_aimbot->debugoverlay == 0) g_aimbot->debugoverlay = debugoverlay;
- if (g_aimbot->local == 0) Msg("[CAimbot/ESP] local is NULL\n");
- if (g_aimbot->debugoverlay == 0) Msg("[CAimbot/ESP] debugoverlay is NULL\n");
- if (g_aimbot->ReadyForUse())
- {
- g_aimbot->DrawEspOverlay();
- g_aimbot.AimbotGetTarget();
- g_aimbot.ModifyUserCmd(pCmd);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement