@@ -46,6 +46,7 @@ BOOL __stdcall Base::Hooks::SwapBuffers(_In_ HDC hdc)
46
46
47
47
playerinfo_t info = playerinfo_t (ent);
48
48
Hacks::ESP_Snaplines (&info);
49
+ Hacks::ESP_Box (&info);
49
50
}
50
51
51
52
Hacks::Crosshair ();
@@ -55,13 +56,45 @@ BOOL __stdcall Base::Hooks::SwapBuffers(_In_ HDC hdc)
55
56
ImGui::Begin (" ImGui Window" );
56
57
ImGui::Text (" Test ImGUI Window" );
57
58
59
+ ImGui::Checkbox (" Enable ESP Box" , &Data::Settings::EnableEspBox);
60
+ if (Data::Settings::EnableEspBox)
61
+ {
62
+ ImGui::Checkbox (" ESP Box Team" , &Data::Settings::EspBoxTeam);
63
+ ImGui::Checkbox (" ESP Box Enemy" , &Data::Settings::EspBoxEnemy);
64
+
65
+ if (Data::Settings::EspBoxTeam || Data::Settings::EspBoxEnemy)
66
+ {
67
+ ImGui::SliderFloat (" ESP Box Thickness" , &Data::Settings::EspBoxThickness, 0 , 100 , " %.0f" );
68
+
69
+ if (Data::Settings::EspBoxTeam)
70
+ {
71
+ ImGui::ColorEdit4 (" ESP Box Color Team" , Data::Settings::EspBoxColorTeam);
72
+ ImGui::ColorEdit4 (" ESP Box Color Fill Team" , Data::Settings::EspBoxColorFillTeam);
73
+ }
74
+
75
+ if (Data::Settings::EspBoxEnemy)
76
+ {
77
+ ImGui::ColorEdit4 (" ESP Box Color Enemy" , Data::Settings::EspBoxColorEnemy);
78
+ ImGui::ColorEdit4 (" ESP Box Color Fill Enemy" , Data::Settings::EspBoxColorFillEnemy);
79
+ }
80
+ }
81
+ }
82
+
58
83
ImGui::Checkbox (" Enable ESP Snaplines" , &Data::Settings::EnableEspSnaplines);
59
84
if (Data::Settings::EnableEspSnaplines)
60
85
{
61
- const char * SnaplinesPos[] = { " Bottom" , " Top" };
62
- ImGui::ColorEdit4 (" ESP Snaplines Color Team" , Data::Settings::EspSnaplinesColorTeam);
63
- ImGui::ColorEdit4 (" ESP Snaplines Color Enemy" , Data::Settings::EspSnaplinesColorEnemy);
64
- ImGui::ListBox (" ESP Snaplines Position" , &Data::Settings::EspSnaplinesPos, SnaplinesPos, 2 );
86
+ ImGui::Checkbox (" ESP Snaplines Team" , &Data::Settings::EspSnaplinesTeam);
87
+ ImGui::Checkbox (" ESP Snaplines Enemy" , &Data::Settings::EspSnaplinesEnemy);
88
+ if (Data::Settings::EspSnaplinesTeam || Data::Settings::EspSnaplinesEnemy)
89
+ {
90
+ const char * SnaplinesPos[] = { " Bottom" , " Top" };
91
+ ImGui::SliderFloat (" ESP Snaplines Thickness" , &Data::Settings::EspSnaplinesThickness, 0 , 100 , " %.0f" );
92
+ if (Data::Settings::EspSnaplinesTeam)
93
+ ImGui::ColorEdit4 (" ESP Snaplines Color Team" , Data::Settings::EspSnaplinesColorTeam);
94
+ if (Data::Settings::EspSnaplinesEnemy)
95
+ ImGui::ColorEdit4 (" ESP Snaplines Color Enemy" , Data::Settings::EspSnaplinesColorEnemy);
96
+ ImGui::ListBox (" ESP Snaplines Position" , &Data::Settings::EspSnaplinesPos, SnaplinesPos, 2 );
97
+ }
65
98
}
66
99
67
100
ImGui::SliderFloat3 (" Teleport Position" , Data::Settings::TeleportPosition, -5000 , 5000 );
0 commit comments