<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Velcas</id>
	<title>RAGE Multiplayer Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.rage.mp/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Velcas"/>
	<link rel="alternate" type="text/html" href="https://wiki.rage.mp/wiki/Special:Contributions/Velcas"/>
	<updated>2026-06-15T14:35:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.rage.mp/w/index.php?title=Zone::getNameOfZone&amp;diff=21084</id>
		<title>Zone::getNameOfZone</title>
		<link rel="alternate" type="text/html" href="https://wiki.rage.mp/w/index.php?title=Zone::getNameOfZone&amp;diff=21084"/>
		<updated>2021-10-12T19:33:21Z</updated>

		<summary type="html">&lt;p&gt;Velcas: /* Zone Names */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{{ClientsideJsFunction}}&lt;br /&gt;
Gets the shorthand name of a zone.&lt;br /&gt;
&lt;br /&gt;
== Zone Names ==&lt;br /&gt;
AIRP = Los Santos International Airport&amp;lt;br&amp;gt;ALAMO = Alamo Sea&amp;lt;br&amp;gt;ALTA = Alta&amp;lt;br&amp;gt;ARMYB = Fort Zancudo&amp;lt;br&amp;gt;BANHAMC = Banham Canyon Dr&amp;lt;br&amp;gt;BANNING = Banning&amp;lt;br&amp;gt;BEACH = Vespucci Beach&amp;lt;br&amp;gt;BHAMCA = Banham Canyon&amp;lt;br&amp;gt;BRADP = Braddock Pass&amp;lt;br&amp;gt;BRADT = Braddock Tunnel&amp;lt;br&amp;gt;BURTON = Burton&amp;lt;br&amp;gt;CALAFB = Calafia Bridge&amp;lt;br&amp;gt;CANNY = Raton Canyon&amp;lt;br&amp;gt;CCREAK = Cassidy Creek&amp;lt;br&amp;gt;CHAMH = Chamberlain Hills&amp;lt;br&amp;gt;CHIL = Vinewood Hills&amp;lt;br&amp;gt;CHU = Chumash&amp;lt;br&amp;gt;CMSW = Chiliad Mountain State Wilderness&amp;lt;br&amp;gt;CYPRE = Cypress Flats&amp;lt;br&amp;gt;DAVIS = Davis&amp;lt;br&amp;gt;DELBE = Del Perro Beach&amp;lt;br&amp;gt;DELPE = Del Perro&amp;lt;br&amp;gt;DELSOL = La Puerta&amp;lt;br&amp;gt;DESRT = Grand Senora Desert&amp;lt;br&amp;gt;DOWNT = Downtown&amp;lt;br&amp;gt;DTVINE = Downtown Vinewood&amp;lt;br&amp;gt;EAST_V = East Vinewood&amp;lt;br&amp;gt;EBURO = El Burro Heights&amp;lt;br&amp;gt;ELGORL = El Gordo Lighthouse&amp;lt;br&amp;gt;ELYSIAN = Elysian Island&amp;lt;br&amp;gt;GALFISH = Galilee&amp;lt;br&amp;gt;GOLF = GWC and Golfing Society&amp;lt;br&amp;gt;GRAPES = Grapeseed&amp;lt;br&amp;gt;GREATC = Great Chaparral&amp;lt;br&amp;gt;HARMO = Harmony&amp;lt;br&amp;gt;HAWICK = Hawick&amp;lt;br&amp;gt;HORS = Vinewood Racetrack&amp;lt;br&amp;gt;HUMLAB = Humane Labs and Research&amp;lt;br&amp;gt;JAIL = Bolingbroke Penitentiary&amp;lt;br&amp;gt;KOREAT = Little Seoul&amp;lt;br&amp;gt;LACT = Land Act Reservoir&amp;lt;br&amp;gt;LAGO = Lago Zancudo&amp;lt;br&amp;gt;LDAM = Land Act Dam&amp;lt;br&amp;gt;LEGSQU = Legion Square&amp;lt;br&amp;gt;LMESA = La Mesa&amp;lt;br&amp;gt;LOSPUER = La Puerta&amp;lt;br&amp;gt;MIRR = Mirror Park&amp;lt;br&amp;gt;MORN = Morningwood&amp;lt;br&amp;gt;MOVIE = Richards Majestic&amp;lt;br&amp;gt;MTCHIL = Mount Chiliad&amp;lt;br&amp;gt;MTGORDO = Mount Gordo&amp;lt;br&amp;gt;MTJOSE = Mount Josiah&amp;lt;br&amp;gt;MURRI = Murrieta Heights&amp;lt;br&amp;gt;NCHU = North Chumash&amp;lt;br&amp;gt;NOOSE = N.O.O.S.E&amp;lt;br&amp;gt;OCEANA = Pacific Ocean&amp;lt;br&amp;gt;PALCOV = Paleto Cove&amp;lt;br&amp;gt;PALETO = Paleto Bay&amp;lt;br&amp;gt;PALFOR = Paleto Forest&amp;lt;br&amp;gt;PALHIGH = Palomino Highlands&amp;lt;br&amp;gt;PALMPOW = Palmer-Taylor Power Station&amp;lt;br&amp;gt;PBLUFF = Pacific Bluffs&amp;lt;br&amp;gt;PBOX = Pillbox Hill&amp;lt;br&amp;gt;PROCOB = Procopio Beach&amp;lt;br&amp;gt;PROL = Prologue&amp;lt;br&amp;gt;RANCHO = Rancho&amp;lt;br&amp;gt;RGLEN = Richman Glen&amp;lt;br&amp;gt;RICHM = Richman&amp;lt;br&amp;gt;ROCKF = Rockford Hills&amp;lt;br&amp;gt;RTRAK = Redwood Lights Track&amp;lt;br&amp;gt;SANAND = San Andreas&amp;lt;br&amp;gt;SANCHIA = San Chianski Mountain Range&amp;lt;br&amp;gt;SANDY = Sandy Shores&amp;lt;br&amp;gt;SKID = Mission Row&amp;lt;br&amp;gt;SLAB = Stab City&amp;lt;br&amp;gt;STAD = Maze Bank Arena&amp;lt;br&amp;gt;STRAW = Strawberry&amp;lt;br&amp;gt;TATAMO = Tataviam Mountains&amp;lt;br&amp;gt;TERMINA = Terminal&amp;lt;br&amp;gt;TEXTI = Textile City&amp;lt;br&amp;gt;TONGVAH = Tongva Hills&amp;lt;br&amp;gt;TONGVAV = Tongva Valley&amp;lt;br&amp;gt;VCANA = Vespucci Canals&amp;lt;br&amp;gt;VESP = Vespucci&amp;lt;br&amp;gt;VINE = Vinewood&amp;lt;br&amp;gt;WINDF = Ron Alternates Wind Farm&amp;lt;br&amp;gt;WVINE = West Vinewood&amp;lt;br&amp;gt;ZANCUDO = Zancudo River&amp;lt;br&amp;gt;ZP_ORT = Port of South Los Santos&amp;lt;br&amp;gt;ZQ_UAR = Davis Quartz&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{JSContainer|&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mp.game.zone.getNameOfZone(x, y, z);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
*&#039;&#039;&#039;x&#039;&#039;&#039;: {{RageType|Float}}&lt;br /&gt;
*&#039;&#039;&#039;y&#039;&#039;&#039;: {{RageType|Float}}&lt;br /&gt;
*&#039;&#039;&#039;z&#039;&#039;&#039;: {{RageType|Float}}&lt;br /&gt;
&lt;br /&gt;
== Return value ==&lt;br /&gt;
*&#039;&#039;&#039;zoneName&#039;&#039;&#039; - {{RageType|String}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
This will display the street name and the zone name when you&#039;re inside a vehicle.&lt;br /&gt;
{{ClientsideCode|&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
let player = mp.players.local, street = undefined, zone = undefined;&lt;br /&gt;
&lt;br /&gt;
mp.events.add(&amp;quot;render&amp;quot;, () =&amp;gt; {&lt;br /&gt;
    if(player.vehicle){&lt;br /&gt;
        street = mp.game.pathfind.getStreetNameAtCoord(player.position.x, player.position.y, player.position.z, 0, 0);&lt;br /&gt;
        zone = mp.game.gxt.get(mp.game.zone.getNameOfZone(player.position.x, player.position.y, player.position.z));&lt;br /&gt;
        mp.game.graphics.drawText(`~w~${mp.game.ui.getStreetNameFromHashKey(street.streetName)}\n ~s~${zone}`, [0.2, 0.8], { &lt;br /&gt;
            font: 4, &lt;br /&gt;
            color: [231, 76, 60, 255], &lt;br /&gt;
            scale: [0.5, 0.5], &lt;br /&gt;
            outline: true&lt;br /&gt;
        });&lt;br /&gt;
    }&lt;br /&gt;
});&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{Zone_functions_c}}&lt;br /&gt;
[[Category:Clientside API]]&lt;br /&gt;
[[Category:Zone API]]&lt;/div&gt;</summary>
		<author><name>Velcas</name></author>
	</entry>
</feed>