Item ESP
This is an example script that will display the text "item" around every item in your proximity.
void update()
{
array<item_t> items = cheat::get_items();
for (uint i = 0; i < items.length(); i++)
{
item_t item = items[i];
vec2_t screen_pos = render::to_screen(item.position);
if (screen_pos.x == -1.f || screen_pos.y == -1.f)
continue;
// render::to_screen returns negative values when off screen
render::add_text(screen_pos, "item", { 0, 0, 255, 255 }, 1);
}
}
Last updated
Was this helpful?