0
حصريا ان بي سي بيبيع جميع انواع الكاسات و بيبيع باور اكس بي بول

السلام عليكم ورحمة الله وبركاتة

حصريا مني انا وبس يا شباب

ان بي سي بيبع

جميع انواع الكاسات و باور اكس بي بول


شرح تركيبة

هنخش علي السورس ونفتح السي شارب

ونفتح
NPC.cs

ونضيف دة


كود PHP:
#region Seller/ Gold Cup / power exp ball
                            
case 1265498:                                {                                    switch (npcRequest.OptionID)                                    {                                        case 0:                                            {                                                dialog.Text("Hey how I can help you ? ");                                                dialog.Option("Buy Gold Prize - 10 M Cps "1);                                                dialog.Option("Buy Silver Prize - 7.5 M CPS "2);                                                dialog.Option("Buy Bronze Prize - 5 M CPS "3);                                                dialog.Option("Buy Power Exp Ball - 10000 CPS "4);                                                dialog.Option("Buy Life Fruit Basket - 10000 CPS "5);                                                dialog.Option("Just passing by."255);                                                dialog.Avatar(80);                                                dialog.Send();                                                break;                                            }                                        case 1:                                            {                                                if (client.Entity.ConquerPoints >= 10000000)                                                {                                                    client.Entity.ConquerPoints -= 10000000;                                                    client.Inventory.Add(210007501);                                                }                                                else                                                {                                                    dialog.Text("You don't have 10 M ConquerPoints.");                                                    dialog.Option("Ah, my bad"255);                                                    dialog.Avatar(80);                                                    dialog.Send();                                                }                                                break;                                            }                                        case 2:                                            {                                                if (client.Entity.ConquerPoints >= 7500000)                                                {                                                    client.Entity.ConquerPoints -= 7500000;                                                    client.Inventory.Add(210006501);                                                }                                                else                                                {                                                    dialog.Text("You don't have 7.5 M ConquerPoints.");                                                    dialog.Option("Ah, my bad"255);                                                    dialog.Avatar(80);                                                    dialog.Send();                                                }                                                break;                                            }                                        case 5:                                            {                                                if (client.Entity.ConquerPoints >= 100000)                                                {                                                    client.Entity.ConquerPoints -= 100000;                                                    client.Inventory.Add(72372501);                                                }                                                else                                                {                                                    dialog.Text("You don't have 100000 ConquerPoints.");                                                    dialog.Option("Ah, my bad"255);                                                    dialog.Avatar(80);                                                    dialog.Send();                                                }                                                break;                                            }                                        case 3:                                            {                                                if (client.Entity.ConquerPoints >= 5000000)                                                {                                                    client.Entity.ConquerPoints -= 5000000;                                                    client.Inventory.Add(210005501);                                                }                                                else                                                {                                                    dialog.Text("You don't have 5 M ConquerPoints.");                                                    dialog.Option("Ah, my bad"255);                                                    dialog.Avatar(80);                                                    dialog.Send();                                                }                                                break;                                            }                                        case 4:                                            {                                                if (client.Entity.ConquerPoints >= 10000)                                                {                                                    client.Entity.ConquerPoints -= 10000;                                                    client.Inventory.Add(72374401);                                                }                                                else                                                {                                                    dialog.Text("You don't have 10000 ConquerPoints.");                                                    dialog.Option("Ah, my bad"255);                                                    dialog.Avatar(80);                                                    dialog.Send();                                                }                                                break;                                            }
                                    }                                    break;                                }

                            
#endregion Seller/ Cup / Power Exp ball 
وبعد كدة نضيف دة في النفي كات


كود PHP:
1265498   2   6690 1002 430 375 
وبكدة يكون الشرح انتهي وشكرا ليكم

0 التعليقات:

إرسال تعليق

 
تعريب وتطوير mandoo
مدونة conquer Pvp لشروحات السيرفرات الشخصيه © 2010 | عودة الى الاعلى
Designed by mandoo