-
Автор темы
- #1
So, if you removed the radar from INDIGO, here is a simple tutorial of how to make a simple in-game radar.
On ESP.CPP at void CEsp::OnRender() add the next code:
After that, go in Client.cpp and add the following:
Now, go to Settings.cpp and add the following:
And the last step, go to Settings.h and add the following:
Now, you are ready to go in with full working IN-GAME Radar.
Screenshot:
On ESP.CPP at void CEsp::OnRender() add the next code:
Код:
for (BYTE PlayerIndex = 0; PlayerIndex < g_pPlayers->GetSize(); PlayerIndex++)
{
CPlayer* pPlayer = g_pPlayers->GetPlayer(PlayerIndex);
if (pPlayer && pPlayer->m_pEntity && pPlayer->bUpdate && Interfaces::Engine()->IsInGame())
{
if (Configs::Esp::esp_Radar)
{
if (*pPlayer->m_pEntity->IsSpotted() == false)
*pPlayer->m_pEntity->IsSpotted() = true;
}
}
}
Код:
ImGui::Checkbox ("Radar", & Configs::Esp::esp_Radar);
Код:
bool esp_Radar = false;
Код:
extern bool esp_Radar;
Screenshot:
Последнее редактирование: