Advertisement
Guest User

Untitled

a guest
Jul 31st, 2014
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.37 KB | None | 0 0
  1. #region SteedPack
  2.                 case 729990:
  3.                     {
  4.                         client.Inventory.Remove(item, Game.Enums.ItemUse.Delete);
  5.                         Npcs dialog = new Npcs(client);
  6.                         client.ActiveNpc = 77785;
  7.                         dialog.Text("Choose one Steed.");
  8.                         dialog.Option("NightMare Steed", 1);
  9.                         dialog.Option("FrostBite Steed", 2);
  10.                         dialog.Option("Spotted Steed", 3);
  11.                         dialog.Option("BlazeHoof Steed", 4);
  12.                         dialog.Option("Zebra Steed", 5);
  13.                         dialog.Send();
  14.                         break;
  15.                     }
  16.                 #endregion
  17. ///////////////////////
  18.  
  19. #region SteedPack
  20.                                 Npcs Monster = new Npcs(client);
  21.                                 if (client.ActiveNpc == 77785 && req.OptionID != 255)
  22.                                 {
  23.                                     if (req.OptionID == 1)//Zebra
  24.                                     {
  25.                                         PacketHandler.CheckCommand("@item Steed Fixed 6 0 0 0 0 150 150 50", client);
  26.                                     }
  27.                                     else if (req.OptionID == 2)
  28.                                     {
  29.                                         PacketHandler.CheckCommand("@item Steed Fixed 6 0 0 0 0 62 63 184", client);
  30.                                     }
  31.                                     else if (req.OptionID == 3)
  32.                                     {
  33.                                         PacketHandler.CheckCommand("@item Steed Fixed 6 0 0 0 0 147 134 122", client);
  34.                                     }
  35.                                     else if (req.OptionID == 4)
  36.                                     {
  37.                                         PacketHandler.CheckCommand("@item Steed Fixed 6 0 0 0 0 148 156 137", client);
  38.                                     }
  39.                                     else if (req.OptionID == 5)
  40.                                     {
  41.                                         PacketHandler.CheckCommand("@item Steed Fixed 6 0 0 0 0 142 39 46", client);
  42.                                     }
  43.                                     return;
  44.                                 }
  45.                                 #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement