Advertisement
GTA5HelpDesk

Untitled

Jun 2nd, 2023
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.56 KB | None | 0 0
  1. private void GoTo_Location(object sender, EventArgs e)
  2. {
  3. Vector3 playerPos = Game.Player.Character.Position;
  4. string zoneName = Function.Call<string>(Hash.GET_NAME_OF_ZONE, playerPos.X, playerPos.Y, playerPos.Z);
  5.  
  6. string stateName;
  7.  
  8. switch (zoneName)
  9. {
  10. case "AIRP": stateName = "Los Santos International Airport"; break;
  11. case "ALAMO": stateName = "Alamo Sea"; break;
  12. case "ALTA": stateName = "Alta"; break;
  13. case "ARMYB": stateName = "Fort Zancudo"; break;
  14. case "BANHAMC": stateName = "Banham Canyon Dr"; break;
  15. case "BANNING": stateName = "Banning"; break;
  16. case "BEACH": stateName = "Vespucci Beach"; break;
  17. case "BHAMCA": stateName = "Banham Canyon"; break;
  18. case "BRADP": stateName = "Braddock Pass"; break;
  19. case "BRADT": stateName = "Braddock Tunnel"; break;
  20. case "BURTON": stateName = "Burton"; break;
  21. case "CALAFB": stateName = "Calafia Bridge"; break;
  22. case "CANNY": stateName = "Raton Canyon"; break;
  23. case "CCREAK": stateName = "Cassidy Creek"; break;
  24. case "CHAMH": stateName = "Chamberlain Hills"; break;
  25. case "CHIL": stateName = "Vinewood Hills"; break;
  26. case "CHU": stateName = "Chumash"; break;
  27. case "CMSW": stateName = "Chiliad Mountain State Wilderness"; break;
  28. case "CYPRE": stateName = "Cypress Flats"; break;
  29. case "DAVIS": stateName = "Davis"; break;
  30. case "DELBE": stateName = "Del Perro Beach"; break;
  31. case "DELPE": stateName = "Del Perro"; break;
  32. case "DELSOL": stateName = "La Puerta"; break;
  33. case "DESRT": stateName = "Grand Senora Desert"; break;
  34. case "DOWNT": stateName = "Downtown"; break;
  35. case "DTVINE": stateName = "Downtown Vinewood"; break;
  36. case "EAST_V": stateName = "East Vinewood"; break;
  37. case "EBURO": stateName = "El Burro Heights"; break;
  38. case "ELGORL": stateName = "El Gordo Lighthouse"; break;
  39. case "ELYSIAN": stateName = "Elysian Island"; break;
  40. case "GALFISH": stateName = "Galilee"; break;
  41. case "GOLF": stateName = "GWC and Golfing Society"; break;
  42. case "GRAPES": stateName = "Grapeseed"; break;
  43. case "GREATC": stateName = "Great Chaparral"; break;
  44. case "HARMO": stateName = "Harmony"; break;
  45. case "HAWICK": stateName = "Hawick"; break;
  46. case "HORS": stateName = "Vinewood Racetrack"; break;
  47. case "HUMLAB": stateName = "Humane Labs and Research"; break;
  48. case "JAIL": stateName = "Bolingbroke Penitentiary"; break;
  49. case "KOREAT": stateName = "Little Seoul"; break;
  50. case "LACT": stateName = "Land Act Reservoir"; break;
  51. case "LAGO": stateName = "Lago Zancudo"; break;
  52. case "LDAM": stateName = "Land Act Dam"; break;
  53. case "LEGSQU": stateName = "Legion Square"; break;
  54. case "LMESA": stateName = "La Mesa"; break;
  55. case "LOSPUER": stateName = "La Puerta"; break;
  56. case "MIRR": stateName = "Mirror Park"; break;
  57. case "MORN": stateName = "Morningwood"; break;
  58. case "MOVIE": stateName = "Richards Majestic"; break;
  59. case "MTCHIL": stateName = "Mount Chiliad"; break;
  60. case "MTGORDO": stateName = "Mount Gordo"; break;
  61. case "MTJOSE": stateName = "Mount Josiah"; break;
  62. case "MURRI": stateName = "Murrieta Heights"; break;
  63. case "NCHU": stateName = "North Chumash"; break;
  64. case "NOOSE": stateName = "N.O.O.S.E"; break;
  65. case "OCEANA": stateName = "Pacific Ocean"; break;
  66. case "PALCOV": stateName = "Paleto Cove"; break;
  67. case "PALETO": stateName = "Paleto Bay"; break;
  68. case "PALFOR": stateName = "Paleto Forest"; break;
  69. case "PALHIGH": stateName = "Palomino Highlands"; break;
  70. case "PALMPOW": stateName = "Palmer-Taylor Power Station"; break;
  71. case "PBLUFF": stateName = "Pacific Bluffs"; break;
  72. case "PBOX": stateName = "Pillbox Hill"; break;
  73. case "PROCOB": stateName = "Procopio Beach"; break;
  74. case "RANCHO": stateName = "Rancho"; break;
  75. case "RGLEN": stateName = "Richman Glen"; break;
  76. case "RICHM": stateName = "Richman"; break;
  77. case "ROCKF": stateName = "Rockford Hills"; break;
  78. case "RTRAK": stateName = "Redwood Lights Track"; break;
  79. case "SANAND": stateName = "San Andreas"; break;
  80. case "SANCHIA": stateName = "San Chianski Mountain Range"; break;
  81. case "SANDY": stateName = "Sandy Shores"; break;
  82. case "SKID": stateName = "Mission Row"; break;
  83. case "SLAB": stateName = "Stab City"; break;
  84. case "STAD": stateName = "Maze Bank Arena"; break;
  85. case "STRAW": stateName = "Strawberry"; break;
  86. case "TATAMO": stateName = "Tataviam Mountains"; break;
  87. case "TERMINA": stateName = "Terminal"; break;
  88. case "TEXTI": stateName = "Textile City"; break;
  89. case "TONGVAH": stateName = "Tongva Hills"; break;
  90. case "TONGVAV": stateName = "Tongva Valley"; break;
  91. case "VCANA": stateName = "Vespucci Canals"; break;
  92. case "VESP": stateName = "Vespucci"; break;
  93. case "VINE": stateName = "Vinewood"; break;
  94. case "WINDF": stateName = "Ron Alternates Wind Farm"; break;
  95. case "WVINE": stateName = "West Vinewood"; break;
  96. case "ZANCUDO": stateName = "Zancudo River"; break;
  97. case "ZP_ORT": stateName = "Port of South Los Santos"; break;
  98. case "ZQ_UAR": stateName = "Davis Quartz"; break;
  99.  
  100. default: stateName = "Where da fuq am I?"; break;
  101. }
  102.  
  103.  
  104.  
  105. string location = "Region: " + stateName + "\n" + "Zone: " + zoneName + "\n"+ "~y~X: " + playerPos.X + ", Y: " + playerPos.Y + ", Z: " + playerPos.Z;
  106. GTA.UI.Screen.ShowSubtitle(location, 3500);
  107. }
  108.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement