المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Npc لبيع vip


محمد ياسر
2019-04-22, 09:28 AM
السلام عليكم ورحمة الله وبركاته
عمل انبي سي لبيع ال VIP لناس
افتح NPCS.CS
وحط دول
#region vip seller By Conquer9
case 5555:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.VIPLevel <= 6)
{
dialog.Text("Hi " + client.Entity.Name + "!, &#191;Tei can make you vip ");
dialog.Option("Vip Level 1.", 1);
dialog.Option("Vip Level 2.", 2);
dialog.Option("Vip Level 3.", 3);
dialog.Option("Vip Level 4.", 4);
dialog.Option("Vip Level 5.", 5);
dialog.Option("Vip Level 6.", 6);
dialog.Option("No tk.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
else
{
dialog.Text("yes do it");
dialog.Option("ok.", 255);
}
break;
}
case 1:
{
if (client.Entity.VIPLevel <= 0)
if (client.Entity.ConquerPoints >= 1000000)
{
client.Entity.ConquerPoints -= 1000000;
client.Entity.VIPLevel = 1;
}
else
{
dialog.Text("you need 1kk Cps");
dialog.Option("Ok.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 2:
{
if (client.Entity.VIPLevel == 1)
if (client.Entity.ConquerPoints >= 1000000)
{
client.Entity.ConquerPoints -= 1000000;
client.Entity.VIPLevel = 2;
}
else
{
dialog.Text("you need 1kk Cps.");
dialog.Option("Ok.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 3:
{
if (client.Entity.VIPLevel == 2)
if (client.Entity.ConquerPoints >= 1000000)
{
client.Entity.ConquerPoints -= 1000000;
client.Entity.VIPLevel = 3;
}
else
{
dialog.Text("you need 1kk Cps");
dialog.Option("Ok.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 4:
{
if (client.Entity.VIPLevel == 3)
if (client.Entity.ConquerPoints >= 1000000)
{
client.Entity.ConquerPoints -= 1000000;
client.Entity.VIPLevel = 4;
}
else
{
dialog.Text("Pyou need 1kk de Cps.");
dialog.Option("Ok.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 5:
{
if (client.Entity.VIPLevel == 4)
if (client.Entity.ConquerPoints >= 1000000)
{
client.Entity.ConquerPoints -= 1000000;
client.Entity.VIPLevel = 5;
}
else
{
dialog.Text("you need de 1kk Cps.");
dialog.Option("Ok.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 6:
{
if (client.Entity.VIPLevel == 5)
if (client.Entity.ConquerPoints >= 1000000)
{
client.Entity.ConquerPoints -= 1000000;
client.Entity.VIPLevel = 6;
}
else
{
dialog.Text("you need 1kk Cps.");
dialog.Option("Ok.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
}
break;
}
#endregion