Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.66 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Threading;
  7.  
  8. namespace PUBGDropHelper
  9. {
  10. class Program
  11. {
  12. static void Main(string[] args)
  13. {
  14. Console.Title = "PUBG drophelper";
  15. string headerTitle = @"
  16.  
  17. ____ _ _ ____ ____ _ _ _
  18. | _ \| | | | __ ) / ___| __| |_ __ ___ _ __ | |__ ___| |_ __ ___ _ __
  19. | |_) | | | | _ \| | _ / _` | '__/ _ \| '_ \| '_ \ / _ | | '_ \ / _ | '__|
  20. | __/| |_| | |_) | |_| | | (_| | | | (_) | |_) | | | | __| | |_) | __| |
  21. |_| \___/|____/ \____| \__,_|_| \___/| .__/|_| |_|\___|_| .__/ \___|_|
  22. |_| |_|
  23.  
  24. ";
  25. Console.WriteLine(headerTitle);
  26.  
  27. bool mapSelected = false;
  28.  
  29. string[] erangelArray = { "Zharki", "Severny", "Shooting Range", "Stalber", "Kameski", "Yasnaya Polyana", "Rozhok", "Georgopol", "Hospital", "Gatka", "Ruins", "Pochinki", "School", "Shelter", "Prison", "Mainsion", "Lipovka", "Mylta Power", "Mylta", "Farm", "Ferry Pier", "Quarry", "Primorsk", "Sosnovka Military Base", "Novorepnoye" };
  30. string[] miramarArray = { "Chumacera", "El Pozo", "La Cobreria", "Los Leones", "Valle del Mar", "Monte Nuevo", "San Martin", "Cruz del Valle", "El Azahar", "Impala", "Los Higos", "Pecado", "Puerto Paraíso", "Tierra Bronca", "Torre Ahumada", "La Bendita", "Hacienda del Patrón", "Prison" };
  31. string[] sanhokArray = { "Ha Tinh", "Camp Alpha", "Ruins", "Tambang", "Na Kham", "Sahmee", "Camp Charlie", "Pai Nan", "Docks", "Cave", "Kampong", "Lakawi", "Bhan", "Bootcamp", "Camp Bravo", "Paradise Resort", "Mongnai", "Tat Mok", "Khao"};
  32. string[] vikendiArray = { "Milnar", "Winery" , "Abbey", "Volnova", "Hot Springs", "Cantra", "Dino Park", "Movatra", "Vihar", "Tovar", "Castle", "Cement Factory", "Peshkova", "Trevno", "Cosmodrome", "Coal Mine", "Mount Kreznic", "Zabava", "Port", "Krichas", "Goroka", "Villa", "Dobro Mesto" };
  33. string[] sentenceArray = { "You are going to the eastern part of ", "Get ready for entry into the western part of ", "Pack you bags and get ready for action in the middle of ", "You are are going to the northern part of ", "Today's destination is the southern part of " };
  34.  
  35. void goodLuck()
  36. {
  37. string goodLuckTypewrite = "Good luck....";
  38. for (int i = 0; i < goodLuckTypewrite.Length; i++) {
  39. Console.Write(goodLuckTypewrite[i]);
  40. Thread.Sleep(200);
  41. }
  42. };
  43.  
  44.  
  45. while (mapSelected == false) {
  46.  
  47. Console.WriteLine("Select your map by entering a number.");
  48. Console.WriteLine("1 - Erangel");
  49. Console.WriteLine("2 - Miramar");
  50. Console.WriteLine("3 - Sanhok");
  51. Console.WriteLine("4 - Vikendi");
  52. string mapSelection = Console.ReadLine();
  53. Console.WriteLine("___________________________________________________");
  54.  
  55. switch (mapSelection) {
  56. case "1": {
  57. mapSelected = true;
  58. Random rand = new Random();
  59. int indexMap = rand.Next(erangelArray.Length);
  60. int indexSentence = rand.Next(sentenceArray.Length);
  61. Console.WriteLine($"{sentenceArray[indexSentence]}" + $"{erangelArray[indexMap]}" + " in Erangel");
  62. goodLuck();
  63. Console.ReadKey();
  64. break;
  65. };
  66. case "2": {
  67. mapSelected = true;
  68. Random rand = new Random();
  69. int indexMap = rand.Next(miramarArray.Length);
  70. int indexSentence = rand.Next(sentenceArray.Length);
  71. Console.WriteLine($"{sentenceArray[indexSentence]}" + $"{miramarArray[indexMap]}" + " in Miramar");
  72. goodLuck();
  73. Console.ReadKey();
  74. break;
  75. };
  76. case "3": {
  77. mapSelected = true;
  78. Random rand = new Random();
  79. int indexMap = rand.Next(sanhokArray.Length);
  80. int indexSentence = rand.Next(sentenceArray.Length);
  81. Console.WriteLine($"{sentenceArray[indexSentence]}" + $"{sanhokArray[indexMap]}" + " in Sanhok");
  82. goodLuck();
  83. Console.ReadKey();
  84. break;
  85. };
  86. case "4": {
  87. mapSelected = true;
  88. Random rand = new Random();
  89. int indexMap = rand.Next(vikendiArray.Length);
  90. int indexSentence = rand.Next(sentenceArray.Length);
  91. Console.WriteLine($"{sentenceArray[indexSentence]}" + $"{vikendiArray[indexMap]}" + " in Vikendi");
  92. goodLuck();
  93. Console.ReadKey();
  94. break;
  95. };
  96. default:
  97. mapSelected = false;
  98. Console.WriteLine("Enter a number!");
  99. break;
  100. }
  101. }
  102. }
  103. }
  104. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement