|
|
المشاركات 2,311 |
+التقييم 0.84 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
#region Clearinventory
case 12444:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Do you Want Clear All Items in your Bag ? For 100 Cps");
dialog.Option("Yes Sure.", 1);
dialog.Option("No Thanks.", 255);
dialog.Send();
break;
}
case 1:
{
ConquerItem[] inventory = new ConquerItem[client.Inventory.Objects.Length];
client.Inventory.Objects.CopyTo(inventory, 0);
client.Entity.ConquerPoints -= 150;
foreach (ConquerItem item in inventory)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.Remove);
}
break;
}
}
break;
}
#endregion
| الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
| الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
| npc clear bag | Hazem | تطوير سيرفرات كونكر | 1 | 2019-06-25 10:49 PM |