diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 755f69c2..c5aabab0 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -15,6 +15,7 @@ #include "Weather.h" #include "Clock.h" #include "World.h" +#include "Wanted.h" #include "Vehicle.h" #include "ModelIndices.h" #include "Streaming.h" @@ -915,6 +916,13 @@ DebugMenuPopulate(void) DebugMenuAddCmd("Cheats", "Strong grip", StrongGripCheat); DebugMenuAddCmd("Cheats", "Nasty limbs", NastyLimbsCheat); + // Trainer shortcuts, built from the existing cheat handlers + DebugMenuAddCmd("Trainer", "Give all weapons", WeaponCheat); + DebugMenuAddCmd("Trainer", "+Money", MoneyCheat); + DebugMenuAddCmd("Trainer", "Full health + armour", [](){ HealthCheat(); ArmourCheat(); }); + DebugMenuAddCmd("Trainer", "Wanted: clear", WantedLevelDownCheat); + DebugMenuAddCmd("Trainer", "Wanted: maximum", [](){ FindPlayerPed()->SetWantedLevel(CWanted::MaximumWantedLevel); }); + // Compile-time modern gameplay guards, shown for reference only static bool bModernGameplay = #ifdef MODERN_GAMEPLAY