Bug fixes with command window & more
This commit is contained in:
parent
e3e9cd6a25
commit
8d2f6b4d3c
@ -78,26 +78,20 @@ BOOL WINAPI DllMain(HINSTANCE hDllHandle, DWORD nReason, LPVOID Reserved)
|
|||||||
if (nReason == DLL_PROCESS_ATTACH)
|
if (nReason == DLL_PROCESS_ATTACH)
|
||||||
{
|
{
|
||||||
uint gameVersion = GetGameVersion();
|
uint gameVersion = GetGameVersion();
|
||||||
|
|
||||||
|
if (gameVersion == BY_GAME(GAME_10US_HOODLUM, GAME_10EN))
|
||||||
|
{
|
||||||
|
CreateThread(nullptr, NULL, (LPTHREAD_START_ROUTINE)&MenuThread, nullptr, NULL, nullptr);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
#ifdef GTASA
|
#ifdef GTASA
|
||||||
if (gameVersion == GAME_10US_HOODLUM)
|
|
||||||
{
|
|
||||||
CreateThread(nullptr, NULL, (LPTHREAD_START_ROUTINE)&MenuThread, nullptr, NULL, nullptr);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
MessageBox(HWND_DESKTOP, "Unknown game version. GTA SA v1.0 US is required.", "CheatMenu", MB_ICONERROR);
|
MessageBox(HWND_DESKTOP, "Unknown game version. GTA SA v1.0 US is required.", "CheatMenu", MB_ICONERROR);
|
||||||
}
|
|
||||||
#elif GTAVC
|
#elif GTAVC
|
||||||
if (gameVersion == GAME_10EN)
|
|
||||||
{
|
|
||||||
CreateThread(nullptr, NULL, (LPTHREAD_START_ROUTINE)&MenuThread, nullptr, NULL, nullptr);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
MessageBox(HWND_DESKTOP, "Unknown game version. GTA VC v1.0 EN is required.", "CheatMenu", MB_ICONERROR);
|
MessageBox(HWND_DESKTOP, "Unknown game version. GTA VC v1.0 EN is required.", "CheatMenu", MB_ICONERROR);
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
@ -473,7 +473,7 @@ void Menu::Draw()
|
|||||||
{
|
{
|
||||||
if (ImGui::BeginChild("CommandsChild"))
|
if (ImGui::BeginChild("CommandsChild"))
|
||||||
{
|
{
|
||||||
ImGui::TextWrapped("Open or close command window using %s", commandWindow.GetNameString());
|
ImGui::TextWrapped("Open or close command window using %s", commandWindow.GetNameString().c_str());
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
if (ImGui::CollapsingHeader("Set health"))
|
if (ImGui::CollapsingHeader("Set health"))
|
||||||
{
|
{
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
#define MENU_NAME "Cheat Menu"
|
#define MENU_NAME "Cheat Menu"
|
||||||
#define MENU_VERSION_NUMBER "3.0"
|
#define MENU_VERSION_NUMBER "3.0"
|
||||||
#define MENU_VERSION MENU_VERSION_NUMBER"-beta"
|
#define MENU_VERSION MENU_VERSION_NUMBER"-beta"
|
||||||
#define BUILD_NUMBER "20210923"
|
#define BUILD_NUMBER "20210927"
|
||||||
#define MENU_TITLE MENU_NAME " v" MENU_VERSION "(" BUILD_NUMBER ")"
|
#define MENU_TITLE MENU_NAME " v" MENU_VERSION "(" BUILD_NUMBER ")"
|
||||||
|
Loading…
Reference in New Issue
Block a user