Untitled

mail@pastecode.io avatarunknown
c_cpp
2 months ago
1.1 kB
4
Indexable
Never
else if (cch.find("action|dialog_return\ndialog_name|modes_1_1") != string::npos) {

				bool nocip_1 = atoi(explode("\n", explode("nocip_1_1|", cch)[1])[0].c_str());
				bool nocip_2 = atoi(explode("\n", explode("nocip_1_2|", cch)[1])[0].c_str());

				//Auto Farm
				if (nocip_1) pInfo(peer)->cheat_qq = 1;
				else pInfo(peer)->cheat_qq = 0;

				if (nocip_2) pInfo(peer)->cheat_reme = 1;
				else pInfo(peer)->cheat_reme = 0;
				update_clothes(peer);
				break;
}
else if (cch.find("action|dialog_return\ndialog_name|wrenchs_1_1") != string::npos) {

				bool nocip_1 = atoi(explode("\n", explode("nocip_1_1|", cch)[1])[0].c_str());
				bool nocip_2 = atoi(explode("\n", explode("nocip_1_2|", cch)[1])[0].c_str());
				bool nocip_3 = atoi(explode("\n", explode("nocip_1_3|", cch)[1])[0].c_str());

				if (nocip_1) pInfo(peer)->cheat_pull = 1;
				else pInfo(peer)->cheat_pull = 0;

				if (nocip_2) pInfo(peer)->cheat_kick = 1;
				else pInfo(peer)->cheat_kick = 0;

				if (nocip_3) pInfo(peer)->cheat_ban = 1;
				else pInfo(peer)->cheat_ban = 0;

				update_clothes(peer);
				break;
}