Advertisement
AhmedKorwash

Itemes in packethandler

Feb 7th, 2016
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.74 KB | None | 0 0
  1.    #region Monster VIP Bag
  2.                 #region Vip0 Monster Bag
  3.                 case 7805:
  4.                     {
  5.                         client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
  6.                         if (client.Entity.VIPLevel == 0)
  7.                         {
  8.                             client.Entity.VIPLevel += 1;
  9.                         }
  10.                         else
  11.                         {
  12.                             client.MessageBox(" Sorry You have vip " + "  but you get 1 VIP Points Collect more to exchage with Prizes ");
  13.                         }
  14.                         client.Entity.VipPoints = 1;
  15.                         client.Entity.Teleport(1002, 300, 300);
  16.  
  17.  
  18.                         break;
  19.                     }
  20.                 #endregion
  21.                 #region Vip1 Monster Bag
  22.                 case 7806:
  23.                     {
  24.                         client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
  25.                         if (client.Entity.VIPLevel == 1)
  26.                         {
  27.                             client.Entity.VIPLevel += 1;
  28.                         }
  29.                         else
  30.                         {
  31.                             client.MessageBox(" Sorry your vip level is upper than one " + "  but you get 1 VIP Points Collect more to exchage with Prizes ");
  32.                         }
  33.                         client.Entity.VipPoints = 1;
  34.                         client.Entity.Teleport(1002, 300, 300);
  35.                         break;
  36.                     }
  37.                 #endregion
  38.                 #region Vip2 Monster Bag
  39.                 case 7807:
  40.                     {
  41.                         client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
  42.                         if (client.Entity.VIPLevel == 2)
  43.                         {
  44.  
  45.                             client.Entity.VIPLevel += 1;
  46.                         }
  47.                         else
  48.                         {
  49.                             client.MessageBox(" Sorry you vip level upper than two " + "  but you get 1 VIP Points Collect more to exchage with Prizes ");
  50.                         }
  51.                         client.Entity.VipPoints = 1;
  52.                         client.Entity.Teleport(1002, 300, 300);
  53.                         break;
  54.                     }
  55.                 #endregion
  56.                 #region Vip3 Monster Bag
  57.                 case 7808:
  58.                     {
  59.                         client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
  60.                         if (client.Entity.VIPLevel == 3)
  61.                         {
  62.  
  63.                             client.Entity.VIPLevel += 1;
  64.                         }
  65.                         else
  66.                         {
  67.                             client.MessageBox(" Sorry you vip level upper than three " + "  but you get 1 VIP Points Collect more to exchage with Prizes ");
  68.                         }
  69.                         client.Entity.VipPoints = 1;
  70.                         client.Entity.Teleport(1002, 300, 300);
  71.                         break;
  72.                     }
  73.                 #endregion
  74.                 #region Vip4 Monster Bag
  75.                 case 7809:
  76.                     {
  77.                         client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
  78.                         if (client.Entity.VIPLevel == 4)
  79.                         {
  80.  
  81.                             client.Entity.VIPLevel += 1;
  82.                         }
  83.                         else
  84.                         {
  85.                             client.MessageBox(" Sorry you vip level upper than Four " + "  but you get 1 VIP Points Collect more to exchage with Prizes ");
  86.                         }
  87.                         client.Entity.VipPoints = 1;
  88.                         client.Entity.Teleport(1002, 300, 300);
  89.                         break;
  90.                     }
  91.                 #endregion
  92.                 #region Vip5 Monster Bag
  93.                 case 7810:
  94.                     {
  95.                         client.Inventory.Remove(item, Game.Enums.ItemUse.RemoveFromStack);
  96.                         if (client.Entity.VIPLevel == 5)
  97.                         {
  98.                             client.Entity.VIPLevel += 1;
  99.                         }
  100.                         else
  101.                         {
  102.                             client.MessageBox(" Sorry Your vip level upper than 5" + "  but you get 1 VIP Points Collect more to exchage with Prizes ");
  103.                         }
  104.                         client.Entity.VipPoints = 1;
  105.                         client.Entity.Teleport(1002, 300, 300);
  106.                         break;
  107.                     }
  108.                 #endregion
  109.                 #endregion  // Vip Monster Bag
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement