From ce78dd94a43a148dd4f0b9ec3cebc9666591f147 Mon Sep 17 00:00:00 2001 From: CSY0N <134310111+CSY0N@users.noreply.github.com> Date: Wed, 23 Apr 2025 01:06:57 +0200 Subject: [PATCH] Fixed Mobile Radio (#226) * mobile_radio.cpp * Update Self.cpp * Update Self.cpp Fixed Mobile Radio now you can activate it and deactivate it * Update mobile_radio.cpp * Rename mobile_radio.cpp to MobileRadio.cpp --- src/game/features/self/{mobile_radio.cpp => MobileRadio.cpp} | 2 +- src/game/frontend/submenus/Self.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/game/features/self/{mobile_radio.cpp => MobileRadio.cpp} (77%) diff --git a/src/game/features/self/mobile_radio.cpp b/src/game/features/self/MobileRadio.cpp similarity index 77% rename from src/game/features/self/mobile_radio.cpp rename to src/game/features/self/MobileRadio.cpp index 1a2103d..8d4670e 100644 --- a/src/game/features/self/mobile_radio.cpp +++ b/src/game/features/self/MobileRadio.cpp @@ -22,5 +22,5 @@ namespace YimMenu::Features } }; - static MobileRadio _MobileRadio{"mobileradio", "listen any radio station on foot", "Allows you to listen to any radio station on foot with Hotkey Q"}; + static MobileRadio _MobileRadio{"mobileradio", "Mobile Radio", "Allows you to listen to any radio station on foot with Hotkey Q"}; } diff --git a/src/game/frontend/submenus/Self.cpp b/src/game/frontend/submenus/Self.cpp index 6b90c6a..a7b09f7 100644 --- a/src/game/frontend/submenus/Self.cpp +++ b/src/game/frontend/submenus/Self.cpp @@ -38,7 +38,7 @@ namespace YimMenu::Submenus toolsGroup->AddItem(std::make_shared("heal"_J)); toolsGroup->AddItem(std::make_shared("cleardamage"_J)); toolsGroup->AddItem(std::make_shared("fillinventory"_J)); - toolsGroup->AddItem(std::make_shared("MobileRadio"_J)); + toolsGroup->AddItem(std::make_shared("MobileRadio"_J)); movementGroup->AddItem(std::make_shared("standonvehicles"_J)); movementGroup->AddItem(std::make_shared("disableactionmode"_J));