add: player esp and snaplines

for now the esp will show "Player" instead of the real player name //TOFIX
This commit is contained in:
2024-05-28 10:22:01 +02:00
parent 5968a83932
commit 01bdc8e683
6 changed files with 96 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
#include "Hooks.hpp"
#include "features/menu.hpp"
#include "settings/settings.hpp"
#include "../features/esp/esp.hpp"
#include "main.h"
#include "utils/utils.hpp"
@@ -630,6 +631,8 @@ HRESULT __stdcall hookD3D11Present(IDXGISwapChain* pSwapChain, UINT SyncInterval
DrawMenu(open_menu);
}
if (settings::player_esp)
ESP::RunPlayersESP();
ImGui::GetIO().MouseDrawCursor = open_menu;