hey can someone help me make horizontal ESP, i don't really understand it and i would like to have armor bar at the bottom
basically i want to achieve an ESP like this

the purple bar being the ammo bar i added in #1437 ;)
and the blue one?
and the blue one?
armor
ok use
interfaces->surface->drawOutlinedRect();
x is for horizontal and y for height
yeah im aware of that i just dont really know what to do with it if i'm honest lmao
ok use
interfaces->surface->drawOutlinedRect();
x is for horizontal and y for height
i've been trying all day, it seemed so simple but apparently i don't have the brain capacity to do it, do you know how to do this?
https://i.gyazo.com/045f754210114c13a62e51073aa164a8.mp4
float offset = abs(bbox.y1 - bbox.y0) * (100.0f - entity->armor()) / 100.0f;
interfaces->surface->drawFilledRect(bbox.x0 + offset, bbox.y0 + 3.f + drawPositionX, bbox.x1, bbox.y0 + 7.f + drawPositionX);
this is my best attempt yet, but still extremely off lmao
@danielkrupinski could i get a hand please?

@notgoodusename pog
pog
Most helpful comment
@notgoodusename pog