Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
3.9 kB
7
Indexable
Never
if (actual_command == "/help" || actual_command == "/?") {
			packet_(peer, a + "action|log\nmsg|>> Komutlar: /buy /clear /rayman /punch /reme /search /color /unequip /fc /top /pay /radio /unaccess /home /ignore /status /mods /vips /go /rgo /pull /trade /sb /sdb /me /who /r /kick /kickall /uba /ban /time /dance /sad /cry /shy /lol /yes /no /dance2 /dab /sleep /wink /troll " + (pInfo(peer)->adminLevel >= 1 ? "/invis /ghost /nick /pban /mute /unmute /warpto /chat /summon /fixworld /banworld /info /togglemods /online /warp /asb " : "") + "" + (pInfo(peer)->adminLevel >= 2 ? "/rainbow /trashall /find /copyset /supername /weather " : "") + "" + (pInfo(peer)->adminLevel >= 3 ? "/rainbow /trashall /find /give " : "") + "" + (pInfo(peer)->adminLevel >= 4 ? "/mentor /1hit /legend " : "") + "" + (pInfo(peer)->adminLevel >= 5 ? "/gemevent  " : "") + "" + (pInfo(peer)->adminLevel >= 6 ? "/donor /banall /banlimit" : "") + "" + (pInfo(peer)->adminLevel >= 7 ? "/giverank /givelevel /givegems " : "") + "" + (pInfo(peer)->adminLevel >= 8 ? "/gemevent  " : "") + "" + (pInfo(peer)->adminLevel >= 6 ? "/removeid /stop /save /restart /removedrop /resetgems " : "") + "" + (pInfo(peer)->adminLevel >= 6 ? "/drop /giveaway /beta " : ""));
		}


else if (b_ == "kuyumcuekrem") {
				int neco = pInfo(p_)->unt;
				int kanka = pInfo(p_)->diak;
					gamepacket_t p23;
					p23.Insert("OnDialogRequest");
p23.Insert("\nadd_label_with_icon|big|`2Jewellery Jim|left|3902|\nadd_spacer|small|\nadd_textbox|`oWsup bro? Welcome to my Jewellery Shop! We can make a deal if you have somethings I need.|\nadd_smalltext|`9(You have " + to_string(neco) + " golds!), `1(You have " + to_string(kanka) + " diamonds!)|\nadd_spacer|small|\nadd_button|bozdur|Exchange Golds!|\nadd_button|bozdur2|Exchange Diamonds!|\nadd_button|kapataga|Goodbye!|");
					p23.CreatePacket(p_);
			}

p_->diak = (!(r_.find("diak") != r_.end()) ? p_->diak : r_["diak"].get<int>());
			p_->unt = (!(r_.find("unt") != r_.end()) ? p_->unt : r_["unt"].get<int>());

save_["unt"] = p_->unt;
	save_["diak"] = p_->diak;

else if (cch == "action|dialog_return\ndialog_name|\nbuttonClicked|bozdur\n\n" || cch == "action|dialog_return\ndialog_name|\nbuttonClicked|bozdur2\n\n") {
							if (cch == "action|dialog_return\ndialog_name|\nbuttonClicked|bozdur\n\n") {
								if (pInfo(peer)->unt <= 0) break;
								int count = pInfo(peer)->unt;
								pInfo(peer)->gems += 750 * count;
								int mama = 750 * count;
								pInfo(peer)->unt = 0;
								gamepacket_t b;
								b.Insert("OnTextOverlay");
								b.Insert("`2Bereket versin! `9" + to_string(mama) + " `wGems!");
								b.CreatePacket(peer);
								gamepacket_t p;
								p.Insert("OnSetBux");
								p.Insert(pInfo(peer)->gems);
								p.Insert(0);
								p.Insert((pInfo(peer)->supp >= 1) ? 1 : 0);
								if (pInfo(peer)->supp >= 2) {
									p.Insert((float)33796, (float)1, (float)0);
								}
								p.CreatePacket(peer);
							}
							if (cch == "action|dialog_return\ndialog_name|\nbuttonClicked|bozdur2\n\n") {
								if (pInfo(peer)->diak <= 0) break;
								int count = pInfo(peer)->diak;
								pInfo(peer)->gems += 1500 * count;
								int mama = 1500 * count;
								pInfo(peer)->diak = 0;
								gamepacket_t b;
								b.Insert("OnTextOverlay");
								b.Insert("`2Bereket versin! `1" + to_string(mama) + " `wGems!");
								b.CreatePacket(peer);
								gamepacket_t p;
								p.Insert("OnSetBux");
								p.Insert(pInfo(peer)->gems);
								p.Insert(0);
								p.Insert((pInfo(peer)->supp >= 1) ? 1 : 0);
								if (pInfo(peer)->supp >= 2) {
									p.Insert((float)33796, (float)1, (float)0);
								}
								p.CreatePacket(peer);
							}
						}

bool clist(const std::string& data) {
	return std::find(clist.begin(), clist.end(), data) != str.end();
}

vector<string>clist = {"ametsa", "test"};
Leave a Comment