Ayyware Armor Bar

Posts 31–34 of 34 · Page 3 of 3
Quote Originally Posted by ImSavage View Post
can you shut the fuck up already its boring and i dont care that much
asking for help without providing any code
theres your problem
Quote Originally Posted by certmemer View Post
asking for help without providing any code
theres your problem
Actually, you're right for like, the first time in ever, congratz, you actually unlocked an achievement that we've all gotten years ago, gz. Either way, if I do have a problem next time and I cant solve it I guess I could provide the actual code

Thanks champ, actually appreciated (not being sarcastic rn)
Be less toxic and keep on helping the community <3 (still not sarcastic)
Cheers, im off to play some HvH
void CEsp:rawArmor(IClientEntity* pEntity, CEsp::ESPBox size)
{
ESPBox ArmorBar = size;
ArmorBar.y += (ArmorBar.h + 6);
ArmorBar.h = 4;

float ArmorValue = pEntity->ArmorValue();
float ArmorPerc = ArmorValue / 100.f;
float Width = (size.w * ArmorPerc);
ArmorBar.w = Width;

int armor = pEntity->ArmorValue();

if (armor > 100)
armor = 100;

int r = 255 - armor * 2.55;
int g = armor * 2.55;

int armorBar = size.h / 100 * armor;
int armorBarDelta = size.h - armorBar;

Render::Clear(size.x - 5, size.y - 1, 4, size.h + 2, Color(0, 0, 0, 150));
Render::Clear(size.x - 4, size.y + 1, 2, size.h * 0.01 * armor, Color(r, g, 0, 255));

}
leftside armorbar (AW style)

thx for share
hi,
so i don't know what i'm doing wrong but can someone help me with it if i paste it in my ESP.cpp
i get so many errors...
but i don't know how to fix them, so can someone help me how i can fix them? pls
I wanne post a screenshot of it but i'm not allowed to
but i maybe can explain what going on
like first the Verts is k
but

Verts2[1].Init(Vector2D(ArmorBar.x + ArmorBar.w, ArmorBar.y + 1));
Verts2[2].Init(Vector2D(ArmorBar.x + ArmorBar.w, ArmorBar.y + 5));
Verts2[3].Init(Vector2D(ArmorBar.x, ArmorBar.y + 5));

with that code above is like idk full of errors and many more!
pls help me :/
Posts 31–34 of 34 · Page 3 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?