Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vars.h > В namespace Misc
- Код:
- int ConfigSystem = 1;
- CMenu.h > Там где вам нужно
- Код:
- ImGui::Combo(XorStr(""), &Options::Misc::ConfigSystem, u8"Legit\0SemiLegit\0SemiRage\0\0", -1, ImVec2(110, 27));
- Теперь идем в Config.h
- И копипастим этот войд, меняя ваш путь
- Код:
- void ConfigSystem()
- {
- switch (Options::Misc::ConfigSystem)
- {
- case 0:
- {
- config_path = "C:\\Путь\\legit.ini";
- break;
- }
- case 1:
- {
- config_path = "C:\\Путь\\semilegit.ini";
- break;
- }
- case 2:
- {
- config_path = "C:\\Путь\\semirage.ini";
- break;
- }
- default:
- {
- config_path = "C:\\Путь\\semilegit.ini";
- break;
- }
- }
- }
- Теперь тут же в Void Read() и Void Save() в самом начале перед CIniWriter writer(config_path);
- Код:
- ConfigSystem();
- Good work blet
Advertisement
Add Comment
Please, Sign In to add comment