Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void GoTo_Location(object sender, EventArgs e)
- {
- Vector3 playerPos = Game.Player.Character.Position;
- string zoneName = Function.Call<string>(Hash.GET_NAME_OF_ZONE, playerPos.X, playerPos.Y, playerPos.Z);
- string stateName;
- switch (zoneName)
- {
- case "AIRP": stateName = "Los Santos International Airport"; break;
- case "ALAMO": stateName = "Alamo Sea"; break;
- case "ALTA": stateName = "Alta"; break;
- case "ARMYB": stateName = "Fort Zancudo"; break;
- case "BANHAMC": stateName = "Banham Canyon Dr"; break;
- case "BANNING": stateName = "Banning"; break;
- case "BEACH": stateName = "Vespucci Beach"; break;
- case "BHAMCA": stateName = "Banham Canyon"; break;
- case "BRADP": stateName = "Braddock Pass"; break;
- case "BRADT": stateName = "Braddock Tunnel"; break;
- case "BURTON": stateName = "Burton"; break;
- case "CALAFB": stateName = "Calafia Bridge"; break;
- case "CANNY": stateName = "Raton Canyon"; break;
- case "CCREAK": stateName = "Cassidy Creek"; break;
- case "CHAMH": stateName = "Chamberlain Hills"; break;
- case "CHIL": stateName = "Vinewood Hills"; break;
- case "CHU": stateName = "Chumash"; break;
- case "CMSW": stateName = "Chiliad Mountain State Wilderness"; break;
- case "CYPRE": stateName = "Cypress Flats"; break;
- case "DAVIS": stateName = "Davis"; break;
- case "DELBE": stateName = "Del Perro Beach"; break;
- case "DELPE": stateName = "Del Perro"; break;
- case "DELSOL": stateName = "La Puerta"; break;
- case "DESRT": stateName = "Grand Senora Desert"; break;
- case "DOWNT": stateName = "Downtown"; break;
- case "DTVINE": stateName = "Downtown Vinewood"; break;
- case "EAST_V": stateName = "East Vinewood"; break;
- case "EBURO": stateName = "El Burro Heights"; break;
- case "ELGORL": stateName = "El Gordo Lighthouse"; break;
- case "ELYSIAN": stateName = "Elysian Island"; break;
- case "GALFISH": stateName = "Galilee"; break;
- case "GOLF": stateName = "GWC and Golfing Society"; break;
- case "GRAPES": stateName = "Grapeseed"; break;
- case "GREATC": stateName = "Great Chaparral"; break;
- case "HARMO": stateName = "Harmony"; break;
- case "HAWICK": stateName = "Hawick"; break;
- case "HORS": stateName = "Vinewood Racetrack"; break;
- case "HUMLAB": stateName = "Humane Labs and Research"; break;
- case "JAIL": stateName = "Bolingbroke Penitentiary"; break;
- case "KOREAT": stateName = "Little Seoul"; break;
- case "LACT": stateName = "Land Act Reservoir"; break;
- case "LAGO": stateName = "Lago Zancudo"; break;
- case "LDAM": stateName = "Land Act Dam"; break;
- case "LEGSQU": stateName = "Legion Square"; break;
- case "LMESA": stateName = "La Mesa"; break;
- case "LOSPUER": stateName = "La Puerta"; break;
- case "MIRR": stateName = "Mirror Park"; break;
- case "MORN": stateName = "Morningwood"; break;
- case "MOVIE": stateName = "Richards Majestic"; break;
- case "MTCHIL": stateName = "Mount Chiliad"; break;
- case "MTGORDO": stateName = "Mount Gordo"; break;
- case "MTJOSE": stateName = "Mount Josiah"; break;
- case "MURRI": stateName = "Murrieta Heights"; break;
- case "NCHU": stateName = "North Chumash"; break;
- case "NOOSE": stateName = "N.O.O.S.E"; break;
- case "OCEANA": stateName = "Pacific Ocean"; break;
- case "PALCOV": stateName = "Paleto Cove"; break;
- case "PALETO": stateName = "Paleto Bay"; break;
- case "PALFOR": stateName = "Paleto Forest"; break;
- case "PALHIGH": stateName = "Palomino Highlands"; break;
- case "PALMPOW": stateName = "Palmer-Taylor Power Station"; break;
- case "PBLUFF": stateName = "Pacific Bluffs"; break;
- case "PBOX": stateName = "Pillbox Hill"; break;
- case "PROCOB": stateName = "Procopio Beach"; break;
- case "RANCHO": stateName = "Rancho"; break;
- case "RGLEN": stateName = "Richman Glen"; break;
- case "RICHM": stateName = "Richman"; break;
- case "ROCKF": stateName = "Rockford Hills"; break;
- case "RTRAK": stateName = "Redwood Lights Track"; break;
- case "SANAND": stateName = "San Andreas"; break;
- case "SANCHIA": stateName = "San Chianski Mountain Range"; break;
- case "SANDY": stateName = "Sandy Shores"; break;
- case "SKID": stateName = "Mission Row"; break;
- case "SLAB": stateName = "Stab City"; break;
- case "STAD": stateName = "Maze Bank Arena"; break;
- case "STRAW": stateName = "Strawberry"; break;
- case "TATAMO": stateName = "Tataviam Mountains"; break;
- case "TERMINA": stateName = "Terminal"; break;
- case "TEXTI": stateName = "Textile City"; break;
- case "TONGVAH": stateName = "Tongva Hills"; break;
- case "TONGVAV": stateName = "Tongva Valley"; break;
- case "VCANA": stateName = "Vespucci Canals"; break;
- case "VESP": stateName = "Vespucci"; break;
- case "VINE": stateName = "Vinewood"; break;
- case "WINDF": stateName = "Ron Alternates Wind Farm"; break;
- case "WVINE": stateName = "West Vinewood"; break;
- case "ZANCUDO": stateName = "Zancudo River"; break;
- case "ZP_ORT": stateName = "Port of South Los Santos"; break;
- case "ZQ_UAR": stateName = "Davis Quartz"; break;
- default: stateName = "Where da fuq am I?"; break;
- }
- string location = "Region: " + stateName + "\n" + "Zone: " + zoneName + "\n"+ "~y~X: " + playerPos.X + ", Y: " + playerPos.Y + ", Z: " + playerPos.Z;
- GTA.UI.Screen.ShowSubtitle(location, 3500);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement