-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMomFriendSon.cpp
More file actions
34 lines (33 loc) · 1.58 KB
/
MomFriendSon.cpp
File metadata and controls
34 lines (33 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "MomFriendSon.h"
#include "EnterPoint.h"
void momFriendSon() {
if (use_mom_friend_son == 1) {
if (is_mom_friend_son == 0) {
std::cout << RED << "Режим '" << "Сын маминой подруги" << "' был отключен\n" << RESET;
std::cout << RED << "Вы больше не сможете его включить" << RESET << std::endl;
std::this_thread::sleep_for(std::chrono::milliseconds(3000));
system("cls");
menu(1);
}
std::cerr << YELLOW << "Режим 'Сын маминой подруги' уже активирован\n" << RESET;
std::string delete_mom_friend_son = "";
std::cout << "Для отключения режима напишите 1. Если не хотите отключать, напишите 0:\n";
std::cin >> delete_mom_friend_son;
if (std::stoi(delete_mom_friend_son) == 1) {
is_mom_friend_son = 0;
std::cout << GREEN << "Режим '" << "Сын маминой подруги" << "' успешно отключен" << RESET << std::endl;
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
system("cls");
menu(1);
}
else {
menu(1);
}
}
is_mom_friend_son = 1;
std::cout << GREEN << "Режим '" << "Сын маминой подруги" << "' активирован" << RESET << std::endl;
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
use_mom_friend_son++;
system("cls");
menu(1);
}