Player ESP

This is an example script that will display a red box around enemy players.

void update()
{

    array<player_t> players = cheat::get_players();

    for (uint i = 0; i < players.length(); i++)
    {

        player_t player = players[i];

        if (!player.bounds.on_screen)
            continue;

        render::add_rect({ player.bounds.x, player.bounds.y }, { player.bounds.w, player.bounds.h }, { 255, 0, 0, 255 });

    }

}

Last updated