void iterator()
{
if (!g::local || !g::local->IsAlive())
return;
for (int i = 0; i < 64; ++i)
{
auto entity = reinterpret_cast<c_player*>(interfaces::entitylist()->GetClientEntity(i));
if (!entity || !entity->IsAlive())
return;
if (entity->m_bDucked())
ragebot::get().final_damage = 40;
}
}
void iterator()
{
if (!g::local || !g::local->IsAlive())
return;
for (int i = 0; i < 64; ++i)
{
auto entity = reinterpret_cast<c_player*>(interfaces::entitylist()->GetClientEntity(i));
if (!entity || !entity->IsAlive())
return;
if (entity->m_bDucked())
ragebot::get().final_damage = 40;
}
}