Osiris: horizontal ESP

Created on 16 Apr 2020  路  10Comments  路  Source: danielkrupinski/Osiris

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

Most helpful comment

image
@notgoodusename pog

All 10 comments

basically i want to achieve an ESP like this
image
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?

image
@notgoodusename pog

pog

Was this page helpful?
0 / 5 - 0 ratings

Related issues

deprale picture deprale  路  3Comments

nosexynomoney picture nosexynomoney  路  3Comments

LuizDanG picture LuizDanG  路  3Comments

Vadenez picture Vadenez  路  3Comments

DivyanshuYT picture DivyanshuYT  路  3Comments