i haven't checked your v7 source but looked into the v6 one
Code:
if (EnemyESP && HealthBasedESP <= 100 && HealthBasedESP > 75) /* LESS OR EQUAL 100 OR MORE THAN 75 */
{
if (!spotted)
DrawGlow(currentplayerglowindex, CGreen);
if (spotted)
DrawGlow(currentplayerglowindex, CGreenn);
}
else if (EnemyESP && HealthBasedESP <= 75 && HealthBasedESP > 50) /* LESS OR EQUAL 75 OR MORE THAN 50 */
{
if (!spotted)
DrawGlow(currentplayerglowindex, CYellow);
if (spotted)
DrawGlow(currentplayerglowindex, CYelloww);
}
thats the way you draw health based esp
a simpler way to do this would be this
Code:
if (currentplayerteam != MyTeam)
{
float r = 1 - (HealthBasedESP / 100);
float g = HealthBasedESP / 100;
GlowStruct HealthBased = { r, g, 0, 1.f, true, false };
}
and if you want to keep that bspotted check you can change the blue value to idk 50 .
and you have this .
Code:
FlashMaxAlpha = Meme.Read<float>(LocalBase + flashMaxAlpha);
if (FlashMaxAlpha > 0.1f) /* CHECK IF FLASHED */
Meme.Write<float>(LocalBase + flashMaxAlpha, 0.f); /* WRITE TO REMOVE FLASH ALPHA */
thats not the way you need to do this
its enough to write flashmaxalpha 0.f only 1 time so you should do this
Code:
void flashtoggle()
{
if(fOn == true)
Meme.Write<float>(LocalBase + flashMaxAlpha, 0.f);
if(fOn == false)
Meme.Write<float>(LocalBase + flashMaxAlpha, 255.f);
}
so you put this outside of an infinite loop because its a useless spam
like this :
Code:
if (GetAsyncKeyState(VK_INSERT) & Pressed) /* GET IF KEY: INS IS PRESSED */
{
fON = !fON;
flashtoggle();
Sleep(100);
}
void flashtoggle()
{
if(fOn == true)
Meme.Write<float>(LocalBase + flashMaxAlpha, 0.f);
else
Meme.Write<float>(LocalBase + flashMaxAlpha, 255.f);
}
i saw that you added slow aim in this version
you should add in your main this , right after you read client.dll
Code:
slowaim= Meme.Read<float>(Client + SensitivityOffset);
there are more things you should do but good job anyway:*