Thread: EntyEjmz

Results 1 to 4 of 4
  1. #1
    KingJsi123's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    66
    Reputation
    10
    Thanks
    0
    My Mood
    Inspired

    EntyEjmz

    Hi guys i need to make new aa
    so
    If i have this is ragebot.cpp
    void SuperiorAA(CUserCmd *pCmd) //case 15
    {
    static bool switcher = false;
    if (switcher)
    pCmd->viewangles.y -= 218;
    else
    pCmd->viewangles.y -= 10;
    switcher = !switcher;
    }

    What should i write here
    case 15(something?) what

    case 13: {
    if (pCmd->command_number % 2) {
    pCmd->viewangles.y = pCmd->viewangles.y + 36000180.0;
    }
    float CalculatedCurTime_2 = (Interfaces::Globals->curtime * 5000.0);
    pCmd->viewangles.y = CalculatedCurTime_2 + 36000000.0;
    break; //example

  2. #2
    SimonDerKing2409's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Location
    deutsches reich
    Posts
    17
    Reputation
    10
    Thanks
    2
    wtf, what is your question? if you want your "superioraa" then delete your void lmao

    This would be your case 15?

    case 15: {
    static bool ySwitch = false;

    if (ySwitch)
    pCmd->viewangles.y -= 218;
    else
    pCmd->viewangles.y -= 10;


    ySwitch = !ySwitch;
    }

  3. #3
    KingJsi123's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    66
    Reputation
    10
    Thanks
    0
    My Mood
    Inspired
    well whats this then?
    void SlowSpin(CUserCmd *pCmd)
    {
    int random = rand() % 100;
    int random2 = rand() % 1000;

    static bool dir;
    static float current_y = pCmd->viewangles.y;

    if (random == 1) dir = !dir;

    if (dir)
    current_y += 10;
    else
    current_y -= 10;

    pCmd->viewangles.y = current_y;

    if (random == random2)
    pCmd->viewangles.y += random;

    }

    void BackJitter(CUserCmd *pCmd)
    {
    int random = 179 - rand() % 100;
    static float current_y = pCmd->viewangles.y;
    current_y += random;
    pCmd->viewangles.y = current_y;

    }
    void MoveFix(CUserCmd *cmd, Vector &realvec)
    {
    Vector vMove(cmd->forwardmove, cmd->sidemove, cmd->upmove);
    float flSpeed = sqrt(vMove.x * vMove.x + vMove.y * vMove.y), flYaw;
    Vector vMove2;
    VectorAngles(vMove, vMove2);

    flYaw = DEG2RAD(cmd->viewangles.y - realvec.y + vMove2.y);
    cmd->forwardmove = cos(flYaw) * flSpeed;
    cmd->sidemove = sin(flYaw) * flSpeed;

    if (cmd->viewangles.x < -90.f || cmd->viewangles.x > 90.f)
    cmd->forwardmove = -cmd->forwardmove;
    }

    void Flip(CUserCmd *pCmd)
    {
    static bool back = false;
    back = !back;
    if (back)
    pCmd->viewangles.y -= rand() % 100;
    else
    pCmd->viewangles.y += rand() % 100;

    }

    void Backwards(CUserCmd *pCmd)
    {
    static bool back = false;
    back = !back;
    if (back)
    pCmd->viewangles.y -= 180.0f;
    else
    pCmd->viewangles.y += 180.0f;
    }

  4. #4
    SimonDerKing2409's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Location
    deutsches reich
    Posts
    17
    Reputation
    10
    Thanks
    2
    Anti Aim? You can do at by this way or you write it by urself lmao