This commit is contained in:
2023-07-25 21:48:12 +02:00
parent ba046a9e8f
commit cee8c5bae4
3 changed files with 16 additions and 16 deletions

View File

@@ -7,15 +7,15 @@ LPCSTR TargetProcess = "hl2.exe";
bool ShowMenu = false;
bool Unhook = false;
bool ally_esp = false;
bool ennemy_esp = true;
bool enemy_esp = true;
bool ally_box = false;
bool ennemy_box = true;
bool enemy_box = true;
bool ally_skeleton = false;
bool ennemy_skeleton = true;
bool enemy_skeleton = true;
bool ally_esp_health_bar = false;
bool ennemy_esp_health_bar = true;
bool enemy_esp_health_bar = true;
bool ally_name = false;
bool ennemy_name = true;
bool enemy_name = true;
bool crosshair = true;
bool ImGui_Initialised = false;
bool CreateConsole = false;
@@ -38,7 +38,7 @@ void Draw() {
RGBA Cyan = { 0, 231, 255, 255 };
if (crosshair) DrawCircleFilled(Process::WindowWidth/2, Process::WindowHeight/2, 3, &Cyan);
if (!ally_esp && !ennemy_esp) {
if (!ally_esp && !enemy_esp) {
return;
}
@@ -115,19 +115,19 @@ void Draw() {
RGBA color = { 255, 255, 255, 255 };
if ((ent_team == localplayer_team && ally_box) || (ent_team != localplayer_team && ennemy_box)) {
if ((ent_team == localplayer_team && ally_box) || (ent_team != localplayer_team && enemy_box)) {
DrawEspBox2D(w2s_absOrigin, w2s_headpos, &color, 1);
}
if ((ent_team == localplayer_team && ally_name) || (ent_team != localplayer_team && ennemy_name)) {
if ((ent_team == localplayer_team && ally_name) || (ent_team != localplayer_team && enemy_name)) {
DrawNameTag(w2s_absOrigin, w2s_headpos, name);
}
if ((ent_team == localplayer_team && ally_esp_health_bar) || (ent_team != localplayer_team && ennemy_esp_health_bar)) {
if ((ent_team == localplayer_team && ally_esp_health_bar) || (ent_team != localplayer_team && enemy_esp_health_bar)) {
DrawHealthBar(w2s_absOrigin, w2s_headpos, health);
}
if ((ent_team == localplayer_team && ally_skeleton) || (ent_team != localplayer_team && ennemy_skeleton)) {
if ((ent_team == localplayer_team && ally_skeleton) || (ent_team != localplayer_team && enemy_skeleton)) {
DrawBones(bonematrix_addr, &color, 1);
}
}
@@ -147,11 +147,11 @@ void DrawMenu() {
ImGui::Checkbox("Name##ally", &ally_name);
ImGui::Separator();
ImGui::Checkbox("Ennemy ESP", &ennemy_esp);
ImGui::Checkbox("Box##ennemy", &ennemy_box);
ImGui::Checkbox("Skeleton##ennemy", &ennemy_skeleton);
ImGui::Checkbox("Healthbar##ennemy", &ennemy_esp_health_bar);
ImGui::Checkbox("Name##ennemy", &ennemy_name);
ImGui::Checkbox("Enemy ESP", &enemy_esp);
ImGui::Checkbox("Box##enemy", &enemy_box);
ImGui::Checkbox("Skeleton##enemy", &enemy_skeleton);
ImGui::Checkbox("Healthbar##enemy", &enemy_esp_health_bar);
ImGui::Checkbox("Name##enemy", &enemy_name);
ImGui::Separator();
if (ImGui::Button("Unhook")) {

View File

@@ -6,7 +6,7 @@ Also i only use RPM so i don't write anything to the game, i still open a handle
The code isn't very good nor optimized but at least i have the good offsets.<br>
# Features
* Ally/Ennemy ESP
* Ally/Enemy ESP
* Skeleton ESP
* Box ESP
* Healthbar

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 101 KiB