Гайд Molotov range, timer and smoke timer for weave

Пользователь
Статус
Оффлайн
Регистрация
18 Май 2020
Сообщения
188
Реакции[?]
71
Поинты[?]
0
yessss

Molotov ranger and timer
Код:
for (auto i = 0; i < interfaces.ent_list->GetHighestEntityIndex(); i++)
    {
        auto ent = interfaces.ent_list->GetClientEntity(i);
        if (!ent)
            continue;

        if (ent->GetClientClass()->m_ClassID != (int)ClassId->CInferno)
            continue;

        auto inferno = reinterpret_cast<CSInferno*>(ent);
        auto infernoorigin = inferno->GetAbsOrigin();
        auto iscreeno = Vector();

        if (!vars.visuals.grenadeesp) return;

        if (!Math::WorldToScreen(infernoorigin, iscreeno))
            return;

        const auto ILspawnTime = *(float*)(uintptr_t(inferno) + 0x20);
        const auto ILfactor = ((ILspawnTime + 7.03125f) - interfaces.global_vars->curtime) / 7.03125f;

        /*Vector min, max;
        inferno->GetRenderBounds(min,max);

        const auto Range = (min - max).Length2D() * 0.5;
        */
        if (inferno->GetAbsOriginVec().DistTo(csgo->local->GetAbsOriginVec()) > 2024.f)
            return;

        Drawing::Circle3DFilled(infernoorigin, 150, 120.f, color_t(245, 108, 66, 255/2));
        Drawing::Circle3D(infernoorigin, 150, 120.f, color_t(255, 0, 0));
        const auto tSize = Drawing::GetTextSize(fonts::esp_name, "FIRE");

        //just make a color modify ur self i'm too lazy to do that
       
        Drawing::DrawString(fonts::esp_name, iscreeno.x, iscreeno.y - 7 * 0.5 - 15.f, color_t(255, 255, 255), render::centered_x, "FIRE");
        //auto text = std::to_string((int)(round(ILfactor + 1))) + "s";
        //Drawing::DrawString(fonts::esp_name, (iscreeno.x - 49) + (98.f * ILfactor), iscreeno.y + 5.f, color_t(255, 255, 255), false, text.c_str());
        Drawing::DrawOutlinedRect(iscreeno.x - 75 * 0.5f, iscreeno.y - 7 * 0.5f, 75, 7, color_t(0, 0, 0));
        Drawing::DrawRect(iscreeno.x - 75 * 0.5f + 2.0f, iscreeno.y - 7 * 0.5f + 2.0f, (75 - 4.0f) * ILfactor, 7.f - 4.0f, color_t(120, 130, 255));
    }
smoke timer
Код:
for (int i = 0; i < interfaces.ent_list->GetHighestEntityIndex(); i++)
    {
        auto ent = interfaces.ent_list->GetClientEntity(i);
        if (!ent)
            continue;

        if (ent->GetClientClass()->m_ClassID != (int)ClassId->CSmokeGrenadeProjectile)
            continue;

        auto inferno = reinterpret_cast<CSInferno*>(ent);
        auto infernoorigin = inferno->GetAbsOrigin();
        auto iscreeno = Vector();

        if (!Math::WorldToScreen(infernoorigin, iscreeno))
            return;

        if (!vars.visuals.grenadeesp) return;

        const auto stime = *(float*)(uintptr_t(inferno) + 0x20);
        const auto factor = ((stime + 17.5) - interfaces.global_vars->curtime) / 17.5;

        if (factor <= 0)
            return;

        const auto tSize = Drawing::GetTextSize(fonts::esp_name, "SMOKE");

        Drawing::DrawString(fonts::esp_name, iscreeno.x, iscreeno.y - 7 * 0.5 - 15.f, color_t(255, 255, 255), render::centered_x, "SMOKE");
        //auto text = std::to_string((int)(round(ILfactor + 1))) + "s";
        //Drawing::DrawString(fonts::esp_name, (iscreeno.x - 49) + (98.f * ILfactor), iscreeno.y + 5.f, color_t(255, 255, 255), false, text.c_str());
       
        Drawing::DrawOutlinedRect(iscreeno.x - 75 * 0.5f, iscreeno.y - 7 * 0.5f, 75, 7, color_t(0, 0, 0));
        Drawing::DrawRect(iscreeno.x - 75 * 0.5f + 2.0f, iscreeno.y - 7 * 0.5f + 2.0f, (75 - 4.0f) * factor, 7.f - 4.0f, color_t(0, 255, 0));
       
       
    }
 
Пользователь
Статус
Оффлайн
Регистрация
18 Май 2020
Сообщения
188
Реакции[?]
71
Поинты[?]
0
ставь чайник, зажигай плиту
Эксперт
Статус
Оффлайн
Регистрация
22 Май 2020
Сообщения
1,442
Реакции[?]
1,092
Поинты[?]
10K
yessss

Molotov ranger and timer
Код:
for (auto i = 0; i < interfaces.ent_list->GetHighestEntityIndex(); i++)
    {
        auto ent = interfaces.ent_list->GetClientEntity(i);
        if (!ent)
            continue;

        if (ent->GetClientClass()->m_ClassID != (int)ClassId->CInferno)
            continue;

        auto inferno = reinterpret_cast<CSInferno*>(ent);
        auto infernoorigin = inferno->GetAbsOrigin();
        auto iscreeno = Vector();

        if (!vars.visuals.grenadeesp) return;

        if (!Math::WorldToScreen(infernoorigin, iscreeno))
            return;

        const auto ILspawnTime = *(float*)(uintptr_t(inferno) + 0x20);
        const auto ILfactor = ((ILspawnTime + 7.03125f) - interfaces.global_vars->curtime) / 7.03125f;

        /*Vector min, max;
        inferno->GetRenderBounds(min,max);

        const auto Range = (min - max).Length2D() * 0.5;
        */
        if (inferno->GetAbsOriginVec().DistTo(csgo->local->GetAbsOriginVec()) > 2024.f)
            return;

        Drawing::Circle3DFilled(infernoorigin, 150, 120.f, color_t(245, 108, 66, 255/2));
        Drawing::Circle3D(infernoorigin, 150, 120.f, color_t(255, 0, 0));
        const auto tSize = Drawing::GetTextSize(fonts::esp_name, "FIRE");

        //just make a color modify ur self i'm too lazy to do that
      
        Drawing::DrawString(fonts::esp_name, iscreeno.x, iscreeno.y - 7 * 0.5 - 15.f, color_t(255, 255, 255), render::centered_x, "FIRE");
        //auto text = std::to_string((int)(round(ILfactor + 1))) + "s";
        //Drawing::DrawString(fonts::esp_name, (iscreeno.x - 49) + (98.f * ILfactor), iscreeno.y + 5.f, color_t(255, 255, 255), false, text.c_str());
        Drawing::DrawOutlinedRect(iscreeno.x - 75 * 0.5f, iscreeno.y - 7 * 0.5f, 75, 7, color_t(0, 0, 0));
        Drawing::DrawRect(iscreeno.x - 75 * 0.5f + 2.0f, iscreeno.y - 7 * 0.5f + 2.0f, (75 - 4.0f) * ILfactor, 7.f - 4.0f, color_t(120, 130, 255));
    }
smoke timer
Код:
for (int i = 0; i < interfaces.ent_list->GetHighestEntityIndex(); i++)
    {
        auto ent = interfaces.ent_list->GetClientEntity(i);
        if (!ent)
            continue;

        if (ent->GetClientClass()->m_ClassID != (int)ClassId->CSmokeGrenadeProjectile)
            continue;

        auto inferno = reinterpret_cast<CSInferno*>(ent);
        auto infernoorigin = inferno->GetAbsOrigin();
        auto iscreeno = Vector();

        if (!Math::WorldToScreen(infernoorigin, iscreeno))
            return;

        if (!vars.visuals.grenadeesp) return;

        const auto stime = *(float*)(uintptr_t(inferno) + 0x20);
        const auto factor = ((stime + 17.5) - interfaces.global_vars->curtime) / 17.5;

        if (factor <= 0)
            return;

        const auto tSize = Drawing::GetTextSize(fonts::esp_name, "SMOKE");

        Drawing::DrawString(fonts::esp_name, iscreeno.x, iscreeno.y - 7 * 0.5 - 15.f, color_t(255, 255, 255), render::centered_x, "SMOKE");
        //auto text = std::to_string((int)(round(ILfactor + 1))) + "s";
        //Drawing::DrawString(fonts::esp_name, (iscreeno.x - 49) + (98.f * ILfactor), iscreeno.y + 5.f, color_t(255, 255, 255), false, text.c_str());
      
        Drawing::DrawOutlinedRect(iscreeno.x - 75 * 0.5f, iscreeno.y - 7 * 0.5f, 75, 7, color_t(0, 0, 0));
        Drawing::DrawRect(iscreeno.x - 75 * 0.5f + 2.0f, iscreeno.y - 7 * 0.5f + 2.0f, (75 - 4.0f) * factor, 7.f - 4.0f, color_t(0, 255, 0));
      
      
    }
it's not 17.5, it's 19
 
Забаненный
Статус
Оффлайн
Регистрация
11 Июн 2020
Сообщения
29
Реакции[?]
1
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Сверху Снизу