Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region Sound Tester
- case 455478:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("I'm a Sound Tester Of This Game Let's Make Test Of It");
- dialog.Option("Ok Lets Go", 1);
- dialog.Option("Make It Off Now", 3);
- dialog.Send();
- break;
- }
- case 1:
- {
- dialog.Text("OK i'll Make It on Now");
- dialog.Option("Ok", 2);
- dialog.Send();
- break;
- }
- case 2:
- {
- dialog.Text("Is It On Now ?");
- dialog.Option("Yes,It's Ok", 255);
- dialog.Option("No", 1);
- _String _string = new _String(true);
- _string.UID = client.Entity.UID;
- _string.TextsCount = 2;
- _string.Type = _String.Sound;
- _string.Texts.Add("voice/Heraklops_Idle.wav");
- _string.Texts.Add("1");
- client.Send(_string);
- break;
- }
- case 3:
- {
- dialog.Text("Is It Off Now ?");
- dialog.Option("Yes,It's Off", 255);
- dialog.Option("No", 0);
- _String _string = new _String(true);
- _string.UID = client.Entity.UID;
- _string.TextsCount = 2;
- _string.Type = _String.Sound;
- _string.Texts.Remove("voice/Heraklops_Idle.wav");
- _string.Texts.Clear();
- _string.Texts.Remove("1");
- client.Send(_string);
- break;
- }
- }
- break;
- }
- #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement