Advertisement
shekohex

Test Sound

Aug 30th, 2014
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 2.72 KB | None | 0 0
  1. #region Sound Tester
  2.                 case 455478:
  3.                     {
  4.                         switch (npcRequest.OptionID)
  5.                         {
  6.                             case 0:
  7.                                 {
  8.                                     dialog.Text("I'm a Sound Tester Of This Game Let's Make Test Of It");
  9.                                     dialog.Option("Ok Lets Go", 1);
  10.                                     dialog.Option("Make It Off Now", 3);
  11.                                     dialog.Send();
  12.                                     break;
  13.                                 }
  14.                             case 1:
  15.                                 {
  16.                                     dialog.Text("OK i'll Make It on Now");
  17.                                     dialog.Option("Ok", 2);
  18.                                     dialog.Send();
  19.                                     break;
  20.                                 }
  21.                             case 2:
  22.                                 {
  23.                                     dialog.Text("Is It On Now ?");
  24.                                     dialog.Option("Yes,It's Ok", 255);
  25.                                     dialog.Option("No", 1);
  26.                                     _String _string = new _String(true);
  27.                                     _string.UID = client.Entity.UID;
  28.                                     _string.TextsCount = 2;
  29.                                     _string.Type = _String.Sound;
  30.                                     _string.Texts.Add("voice/Heraklops_Idle.wav");
  31.                                     _string.Texts.Add("1");
  32.                                     client.Send(_string);
  33.                                     break;
  34.                                 }
  35.                             case 3:
  36.                                 {
  37.                                     dialog.Text("Is It Off Now ?");
  38.                                     dialog.Option("Yes,It's Off", 255);
  39.                                     dialog.Option("No", 0);
  40.                                     _String _string = new _String(true);
  41.                                     _string.UID = client.Entity.UID;
  42.                                     _string.TextsCount = 2;
  43.                                     _string.Type = _String.Sound;
  44.                                     _string.Texts.Remove("voice/Heraklops_Idle.wav");
  45.                                     _string.Texts.Clear();
  46.                                     _string.Texts.Remove("1");
  47.                                     client.Send(_string);
  48.                                     break;
  49.                                 }
  50.                         }
  51.                         break;
  52.                     }
  53.                 #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement