عرب كونكر تهيس | Conquer

عرب كونكر تهيس | Conquer (https://forum.vpscairo.com/index.php)
-   تطوير وشروحات وسورسات [5095] - Conquer Private Servers (https://forum.vpscairo.com/forumdisplay.php?f=67)
-   -   طريقة تصليح الراجل بتاع الاسكورولات دبى (https://forum.vpscairo.com/showthread.php?t=3449)

ChuMChuM 06-01-2012 06:22 AM

طريقة تصليح الراجل بتاع الاسكورولات دبى
 
اولا<

الشرح :

هتفتح ملف Dialogs.cs

وتدوس Ctrl + F

وتبحث عن الكلمة دية



كود PHP:

CPAdmin


هتمسحو كلو



وتضيف الان بي سي الجديد دة



كود PHP:

#region CPAdmin                              case 111816:                                 {                                      switch (npcRequest.OptionID)                                      {                                          case 0:                                             {                                                  dialog.Text("Greetings, here you can  exchange either a Dragonball or a DragonScroll for cps. ");                                                  dialog.Text("One Dragonball will get  you 215 cps and a DragonScroll will get you 2150. ");                                                  dialog.Text("What would you like to  trade? Or would you rather not?");                                                  dialog.Option("Dragonball", 1);                                                  dialog.Option("DragonballScroll", 2);                                                  dialog.Option("I'll just leave", 255);                                                  dialog.Send();                                                  break;                                              }                                         case 1:                                              {                                                  if (client.Inventory.Contains(1088000, 1))                                                  {                                                      client.Inventory.Remove(1088000, 1);                                                      client.Entity.ConquerPoints += 215;                                                  }                                                  else                                                  {                                                      dialog.Text("You do not have a Dragonball");                                                      dialog.Send();                                                  }                                                 break;                                              }                                          case 2:                                             {                                                  if  (client.Inventory.Contains(720028, 1))                                                  {                                                      client.Inventory.Remove(720028, 1);                                                      client.Entity.ConquerPoints += 2150;                                                  }                                                  else                                                 {                                                      dialog.Text("You do not have a  DragonballScroll");                                                      dialog.Send();                                                 }                                                  break;                                              }                                     }                                      break;                                 }                              #endregion 


ورجاء التقييم وشكراا



الساعة الآن 04:15 PM.

Powered by vpscairo
Copyright ©2013 - 2025, Jelsoft Enterprises Ltd
Translation by tamer
Copyright ©2000-2024,vpscairo.com