• Я зарабатываю 100 000 RUB / месяц на этом сайте!

    А знаешь как? Я всего-лишь публикую (создаю темы), а админ мне платит. Трачу деньги на мороженое, робуксы и сервера в Minecraft. А ещё на паль из Китая. 

    Хочешь так же? Пиши и узнавай условия: https://t.me/alex_redact
    Реклама: https://t.me/yougame_official

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

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

Molotov ranger and timer
Код:
Expand Collapse Copy
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
Код:
Expand Collapse Copy
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));
       
       
    }
 
мне нужна ваша граната esp, чтобы использовать это?
 
[QUOTE = "PIPIDUROKARAILEK, post: 1768456, member: 355571"]
english pls

nope
[/ QUOTE]
ah i see thanks a lot sir
 
give me Circle3D and Circle3DFilled
 
yessss

Molotov ranger and timer
Код:
Expand Collapse Copy
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
Код:
Expand Collapse Copy
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
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Назад
Сверху Снизу