add freeze game time

This commit is contained in:
Grinch_ 2021-08-01 08:37:20 +06:00
parent 1049081cdd
commit 5e9761df61
2 changed files with 17 additions and 3 deletions

View File

@ -387,11 +387,25 @@ of LS without completing missions"))
Ui::CheckboxAddress("Free pay n spray", 0x96C009);
if (ImGui::Checkbox("Freeze misson timer", &m_bMissionTimer))
Command<Commands::FREEZE_ONSCREEN_TIMER>(m_bMissionTimer);
if (ImGui::Checkbox("Freeze game time", &m_bFreezeTime))
{
if (m_bFreezeTime)
{
patch::SetRaw(0x52CF10, (char*)"\xEB\xEF", 2);
}
else
{
patch::SetRaw(0x52CF10, (char*)"\x56\x8B", 2);
}
}
ImGui::NextColumn();
if (ImGui::Checkbox("Freeze misson timer", &m_bMissionTimer))
{
Command<Commands::FREEZE_ONSCREEN_TIMER>(m_bMissionTimer);
}
if (Ui::CheckboxWithHint("Hard mode", &m_HardMode::m_bEnabled, "Makes the game more challanging to play. \n\
Lowers armour, health, stamina etc."))
{

View File

@ -2,5 +2,5 @@
#define MENU_NAME "Cheat Menu"
#define MENU_VERSION_NUMBER "2.8"
#define MENU_VERSION MENU_VERSION_NUMBER"-beta"
#define BUILD_NUMBER "20210727"
#define BUILD_NUMBER "20210801"
#define MENU_TITLE MENU_NAME " v" MENU_VERSION "(" BUILD_NUMBER ")"