Amr Khalid
2019-05-07, 12:51 PM
اولا جايبلكم ان بى سى للسيرفرات الصعبة وعندهم بوكر فى السيرفر
وبالمرة تخلى الفلوس ليها لازمة فى السيرفر
ثانيا Npc
الكود:
#region Sell Cps BY:MR.AMR
case 54200:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hi Friend " + client.Player.Name + " Iam Golding Seller and i Sell Cps For Gold BY:MR.AMR");
dialog.Option("12kk Gold -> 215 cps", 1);
dialog.Option("25kk Gold -> 500 Cps", 2);
dialog.Option("55kk Gold -> 1075 Cps", 3);
dialog.Option("270kk Gold -> 5000 Cps", 4);
dialog.Option("500kk Gold -> 10000 Cps!", 5);
dialog.Option("1Meliar Gold -> 25000 Cps", 6);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 6:
{
if (client.Player.Money >= 1000000000)
{
client.Player.Money -= 1000000000;
client.Player.ConquerPoints += 25000;
}
else
{
dialog.Text("you have 1 Meliar Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
case 5:
{
if (client.Player.Money >= 500000000)
{
client.Player.Money -= 500000000;
client.Player.ConquerPoints += 10000;
}
else
{
dialog.Text("you have 500kk Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
case 4:
{
if (client.Player.Money >= 270000000)
{
client.Player.Money -= 270000000;
client.Player.ConquerPoints += 5000;
}
else
{
dialog.Text("you have 270kk Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
case 1:
{
if (client.Player.Money >= 12000000)
{
client.Player.Money -= 12000000;
client.Player.ConquerPoints += 215;
}
else
{
dialog.Text("you have 12kk Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
case 2:
{
if (client.Player.Money >= 25000000)
{
client.Player.Money -= 25000000;
client.Player.ConquerPoints += 500;
}
else
{
dialog.Text("you have 25kk Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
case 3:
{
if (client.Player.Money >= 55000000)
{
client.Player.Money -= 55000000;
client.Player.ConquerPoints += 1075;
}
else
{
dialog.Text("you have 55kk Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
اعمل انت بقى الان بى سى مفيش حد مش بيعرف يعملو
وكده اكون خلصت
وبالمرة تخلى الفلوس ليها لازمة فى السيرفر
ثانيا Npc
الكود:
#region Sell Cps BY:MR.AMR
case 54200:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hi Friend " + client.Player.Name + " Iam Golding Seller and i Sell Cps For Gold BY:MR.AMR");
dialog.Option("12kk Gold -> 215 cps", 1);
dialog.Option("25kk Gold -> 500 Cps", 2);
dialog.Option("55kk Gold -> 1075 Cps", 3);
dialog.Option("270kk Gold -> 5000 Cps", 4);
dialog.Option("500kk Gold -> 10000 Cps!", 5);
dialog.Option("1Meliar Gold -> 25000 Cps", 6);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 6:
{
if (client.Player.Money >= 1000000000)
{
client.Player.Money -= 1000000000;
client.Player.ConquerPoints += 25000;
}
else
{
dialog.Text("you have 1 Meliar Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
case 5:
{
if (client.Player.Money >= 500000000)
{
client.Player.Money -= 500000000;
client.Player.ConquerPoints += 10000;
}
else
{
dialog.Text("you have 500kk Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
case 4:
{
if (client.Player.Money >= 270000000)
{
client.Player.Money -= 270000000;
client.Player.ConquerPoints += 5000;
}
else
{
dialog.Text("you have 270kk Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
case 1:
{
if (client.Player.Money >= 12000000)
{
client.Player.Money -= 12000000;
client.Player.ConquerPoints += 215;
}
else
{
dialog.Text("you have 12kk Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
case 2:
{
if (client.Player.Money >= 25000000)
{
client.Player.Money -= 25000000;
client.Player.ConquerPoints += 500;
}
else
{
dialog.Text("you have 25kk Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
case 3:
{
if (client.Player.Money >= 55000000)
{
client.Player.Money -= 55000000;
client.Player.ConquerPoints += 1075;
}
else
{
dialog.Text("you have 55kk Money");
dialog.Option("NO.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
اعمل انت بقى الان بى سى مفيش حد مش بيعرف يعملو
وكده اكون خلصت