zone-data.inc 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647
  1. // Zone data by Emmet
  2. #if !defined MAX_ZONE_NAME
  3. #define MAX_ZONE_NAME (32)
  4. #endif
  5. #define IsPlayerInZone(%0,%1) \
  6. (!strcmp(GetPlayerZoneName((%0)), (%1)))
  7. #define IsPlayerInRegion(%0,%1) \
  8. (!strcmp(GetPlayerRegionName((%0)), (%1)))
  9. enum e_ZoneRegions {
  10. ZONE_BONE_COUNTY,
  11. ZONE_FLINT_COUNTY,
  12. ZONE_LAS_VENTURAS,
  13. ZONE_LIBERTY_CITY,
  14. ZONE_LOS_SANTOS,
  15. ZONE_RED_COUNTY,
  16. ZONE_SAN_ANDREAS,
  17. ZONE_SAN_FIERRO,
  18. ZONE_TIERRA_ROBADA,
  19. ZONE_WHETSTONE
  20. };
  21. enum e_ZoneStructure {
  22. e_sZoneName[MAX_ZONE_NAME char],
  23. e_iZoneRegion,
  24. Float: e_fZoneMinX,
  25. Float: e_fZoneMinY,
  26. Float: e_fZoneMinZ,
  27. Float: e_fZoneMaxX,
  28. Float: e_fZoneMaxY,
  29. Float: e_fZoneMaxZ
  30. };
  31. static const g_scZoneData[][e_ZoneStructure] = {
  32. {!"The Big Ear", ZONE_BONE_COUNTY, -410.00, 1403.30, -3.00, -137.90, 1681.20, 200.00},
  33. {!"Aldea Malvada", ZONE_TIERRA_ROBADA, -1372.10, 2498.50, 0.00, -1277.50, 2615.30, 200.00},
  34. {!"Angel Pine", ZONE_WHETSTONE, -2324.90, -2584.20, -6.10, -1964.20, -2212.10, 200.00},
  35. {!"Arco del Oeste", ZONE_BONE_COUNTY, -901.10, 2221.80, 0.00, -592.00, 2571.90, 200.00},
  36. {!"Avispa Country Club", ZONE_SAN_FIERRO, -2646.40, -355.40, 0.00, -2270.00, -222.50, 200.00},
  37. {!"Avispa Country Club", ZONE_SAN_FIERRO, -2831.80, -430.20, -6.10, -2646.40, -222.50, 200.00},
  38. {!"Avispa Country Club", ZONE_SAN_FIERRO, -2361.50, -417.10, 0.00, -2270.00, -355.40, 200.00},
  39. {!"Avispa Country Club", ZONE_SAN_FIERRO, -2667.80, -302.10, -28.80, -2646.40, -262.30, 71.10},
  40. {!"Avispa Country Club", ZONE_SAN_FIERRO, -2470.00, -355.40, 0.00, -2270.00, -318.40, 46.10},
  41. {!"Avispa Country Club", ZONE_SAN_FIERRO, -2550.00, -355.40, 0.00, -2470.00, -318.40, 39.70},
  42. {!"Back O' Beyond", ZONE_FLINT_COUNTY, -1166.90, -2641.10, 0.00, -321.70, -1856.00, 200.00},
  43. {!"Battery Point", ZONE_SAN_FIERRO, -2741.00, 1268.40, -4.50, -2533.00, 1490.40, 200.00},
  44. {!"Bayside", ZONE_TIERRA_ROBADA, -2741.00, 2175.10, 0.00, -2353.10, 2722.70, 200.00},
  45. {!"Bayside Marina", ZONE_TIERRA_ROBADA, -2353.10, 2275.70, 0.00, -2153.10, 2475.70, 200.00},
  46. {!"Beacon Hill", ZONE_FLINT_COUNTY, -399.60, -1075.50, -1.40, -319.00, -977.50, 198.50},
  47. {!"Blackfield", ZONE_LAS_VENTURAS, 964.30, 1203.20, -89.00, 1197.30, 1403.20, 110.90},
  48. {!"Blackfield", ZONE_LAS_VENTURAS, 964.30, 1403.20, -89.00, 1197.30, 1726.20, 110.90},
  49. {!"Blackfield Chapel", ZONE_LAS_VENTURAS, 1375.60, 596.30, -89.00, 1558.00, 823.20, 110.90},
  50. {!"Blackfield Chapel", ZONE_LAS_VENTURAS, 1325.60, 596.30, -89.00, 1375.60, 795.00, 110.90},
  51. {!"Blackfield Intersection", ZONE_LAS_VENTURAS, 1197.30, 1044.60, -89.00, 1277.00, 1163.30, 110.90},
  52. {!"Blackfield Intersection", ZONE_LAS_VENTURAS, 1166.50, 795.00, -89.00, 1375.60, 1044.60, 110.90},
  53. {!"Blackfield Intersection", ZONE_LAS_VENTURAS, 1277.00, 1044.60, -89.00, 1315.30, 1087.60, 110.90},
  54. {!"Blackfield Intersection", ZONE_LAS_VENTURAS, 1375.60, 823.20, -89.00, 1457.30, 919.40, 110.90},
  55. {!"Blueberry", ZONE_RED_COUNTY, 104.50, -220.10, 2.30, 349.60, 152.20, 200.00},
  56. {!"Blueberry", ZONE_RED_COUNTY, 19.60, -404.10, 3.80, 349.60, -220.10, 200.00},
  57. {!"Blueberry Acres", ZONE_RED_COUNTY, -319.60, -220.10, 0.00, 104.50, 293.30, 200.00},
  58. {!"Caligula's Palace", ZONE_LAS_VENTURAS, 2087.30, 1543.20, -89.00, 2437.30, 1703.20, 110.90},
  59. {!"Caligula's Palace", ZONE_LAS_VENTURAS, 2137.40, 1703.20, -89.00, 2437.30, 1783.20, 110.90},
  60. {!"Calton Heights", ZONE_SAN_FIERRO, -2274.10, 744.10, -6.10, -1982.30, 1358.90, 200.00},
  61. {!"Chinatown", ZONE_SAN_FIERRO, -2274.10, 578.30, -7.60, -2078.60, 744.10, 200.00},
  62. {!"City Hall", ZONE_SAN_FIERRO, -2867.80, 277.40, -9.10, -2593.40, 458.40, 200.00},
  63. {!"Come-A-Lot", ZONE_LAS_VENTURAS, 2087.30, 943.20, -89.00, 2623.10, 1203.20, 110.90},
  64. {!"Commerce", ZONE_LOS_SANTOS, 1323.90, -1842.20, -89.00, 1701.90, -1722.20, 110.90},
  65. {!"Commerce", ZONE_LOS_SANTOS, 1323.90, -1722.20, -89.00, 1440.90, -1577.50, 110.90},
  66. {!"Commerce", ZONE_LOS_SANTOS, 1370.80, -1577.50, -89.00, 1463.90, -1384.90, 110.90},
  67. {!"Commerce", ZONE_LOS_SANTOS, 1463.90, -1577.50, -89.00, 1667.90, -1430.80, 110.90},
  68. {!"Commerce", ZONE_LOS_SANTOS, 1583.50, -1722.20, -89.00, 1758.90, -1577.50, 110.90},
  69. {!"Commerce", ZONE_LOS_SANTOS, 1667.90, -1577.50, -89.00, 1812.60, -1430.80, 110.90},
  70. {!"Conference Center", ZONE_LOS_SANTOS, 1046.10, -1804.20, -89.00, 1323.90, -1722.20, 110.90},
  71. {!"Conference Center", ZONE_LOS_SANTOS, 1073.20, -1842.20, -89.00, 1323.90, -1804.20, 110.90},
  72. {!"Cranberry Station", ZONE_SAN_FIERRO, -2007.80, 56.30, 0.00, -1922.00, 224.70, 100.00},
  73. {!"Creek", ZONE_LAS_VENTURAS, 2749.90, 1937.20, -89.00, 2921.60, 2669.70, 110.90},
  74. {!"Dillimore", ZONE_RED_COUNTY, 580.70, -674.80, -9.50, 861.00, -404.70, 200.00},
  75. {!"Doherty", ZONE_SAN_FIERRO, -2270.00, -324.10, -0.00, -1794.90, -222.50, 200.00},
  76. {!"Doherty", ZONE_SAN_FIERRO, -2173.00, -222.50, -0.00, -1794.90, 265.20, 200.00},
  77. {!"Downtown", ZONE_SAN_FIERRO, -1982.30, 744.10, -6.10, -1871.70, 1274.20, 200.00},
  78. {!"Downtown", ZONE_SAN_FIERRO, -1871.70, 1176.40, -4.50, -1620.30, 1274.20, 200.00},
  79. {!"Downtown", ZONE_SAN_FIERRO, -1700.00, 744.20, -6.10, -1580.00, 1176.50, 200.00},
  80. {!"Downtown", ZONE_SAN_FIERRO, -1580.00, 744.20, -6.10, -1499.80, 1025.90, 200.00},
  81. {!"Downtown", ZONE_SAN_FIERRO, -2078.60, 578.30, -7.60, -1499.80, 744.20, 200.00},
  82. {!"Downtown", ZONE_SAN_FIERRO, -1993.20, 265.20, -9.10, -1794.90, 578.30, 200.00},
  83. {!"Downtown Los Santos", ZONE_LOS_SANTOS, 1463.90, -1430.80, -89.00, 1724.70, -1290.80, 110.90},
  84. {!"Downtown Los Santos", ZONE_LOS_SANTOS, 1724.70, -1430.80, -89.00, 1812.60, -1250.90, 110.90},
  85. {!"Downtown Los Santos", ZONE_LOS_SANTOS, 1463.90, -1290.80, -89.00, 1724.70, -1150.80, 110.90},
  86. {!"Downtown Los Santos", ZONE_LOS_SANTOS, 1370.80, -1384.90, -89.00, 1463.90, -1170.80, 110.90},
  87. {!"Downtown Los Santos", ZONE_LOS_SANTOS, 1724.70, -1250.90, -89.00, 1812.60, -1150.80, 110.90},
  88. {!"Downtown Los Santos", ZONE_LOS_SANTOS, 1370.80, -1170.80, -89.00, 1463.90, -1130.80, 110.90},
  89. {!"Downtown Los Santos", ZONE_LOS_SANTOS, 1378.30, -1130.80, -89.00, 1463.90, -1026.30, 110.90},
  90. {!"Downtown Los Santos", ZONE_LOS_SANTOS, 1391.00, -1026.30, -89.00, 1463.90, -926.90, 110.90},
  91. {!"Downtown Los Santos", ZONE_LOS_SANTOS, 1507.50, -1385.20, 110.90, 1582.50, -1325.30, 335.90},
  92. {!"East Beach", ZONE_LOS_SANTOS, 2632.80, -1852.80, -89.00, 2959.30, -1668.10, 110.90},
  93. {!"East Beach", ZONE_LOS_SANTOS, 2632.80, -1668.10, -89.00, 2747.70, -1393.40, 110.90},
  94. {!"East Beach", ZONE_LOS_SANTOS, 2747.70, -1668.10, -89.00, 2959.30, -1498.60, 110.90},
  95. {!"East Beach", ZONE_LOS_SANTOS, 2747.70, -1498.60, -89.00, 2959.30, -1120.00, 110.90},
  96. {!"East Los Santos", ZONE_LOS_SANTOS, 2421.00, -1628.50, -89.00, 2632.80, -1454.30, 110.90},
  97. {!"East Los Santos", ZONE_LOS_SANTOS, 2222.50, -1628.50, -89.00, 2421.00, -1494.00, 110.90},
  98. {!"East Los Santos", ZONE_LOS_SANTOS, 2266.20, -1494.00, -89.00, 2381.60, -1372.00, 110.90},
  99. {!"East Los Santos", ZONE_LOS_SANTOS, 2381.60, -1494.00, -89.00, 2421.00, -1454.30, 110.90},
  100. {!"East Los Santos", ZONE_LOS_SANTOS, 2281.40, -1372.00, -89.00, 2381.60, -1135.00, 110.90},
  101. {!"East Los Santos", ZONE_LOS_SANTOS, 2381.60, -1454.30, -89.00, 2462.10, -1135.00, 110.90},
  102. {!"East Los Santos", ZONE_LOS_SANTOS, 2462.10, -1454.30, -89.00, 2581.70, -1135.00, 110.90},
  103. {!"Easter Basin", ZONE_SAN_FIERRO, -1794.90, 249.90, -9.10, -1242.90, 578.30, 200.00},
  104. {!"Easter Basin", ZONE_SAN_FIERRO, -1794.90, -50.00, -0.00, -1499.80, 249.90, 200.00},
  105. {!"Easter Bay Airport", ZONE_SAN_FIERRO, -1499.80, -50.00, -0.00, -1242.90, 249.90, 200.00},
  106. {!"Easter Bay Airport", ZONE_SAN_FIERRO, -1794.90, -730.10, -3.00, -1213.90, -50.00, 200.00},
  107. {!"Easter Bay Airport", ZONE_SAN_FIERRO, -1213.90, -730.10, 0.00, -1132.80, -50.00, 200.00},
  108. {!"Easter Bay Airport", ZONE_SAN_FIERRO, -1242.90, -50.00, 0.00, -1213.90, 578.30, 200.00},
  109. {!"Easter Bay Airport", ZONE_SAN_FIERRO, -1213.90, -50.00, -4.50, -947.90, 578.30, 200.00},
  110. {!"Easter Bay Airport", ZONE_SAN_FIERRO, -1315.40, -405.30, 15.40, -1264.40, -209.50, 25.40},
  111. {!"Easter Bay Airport", ZONE_SAN_FIERRO, -1354.30, -287.30, 15.40, -1315.40, -209.50, 25.40},
  112. {!"Easter Bay Airport", ZONE_SAN_FIERRO, -1490.30, -209.50, 15.40, -1264.40, -148.30, 25.40},
  113. {!"Easter Bay Chemicals", ZONE_RED_COUNTY, -1132.80, -768.00, 0.00, -956.40, -578.10, 200.00},
  114. {!"Easter Bay Chemicals", ZONE_RED_COUNTY, -1132.80, -787.30, 0.00, -956.40, -768.00, 200.00},
  115. {!"El Castillo del Diablo", ZONE_BONE_COUNTY, -464.50, 2217.60, 0.00, -208.50, 2580.30, 200.00},
  116. {!"El Castillo del Diablo", ZONE_BONE_COUNTY, -208.50, 2123.00, -7.60, 114.00, 2337.10, 200.00},
  117. {!"El Castillo del Diablo", ZONE_BONE_COUNTY, -208.50, 2337.10, 0.00, 8.40, 2487.10, 200.00},
  118. {!"El Corona", ZONE_LOS_SANTOS, 1812.60, -2179.20, -89.00, 1970.60, -1852.80, 110.90},
  119. {!"El Corona", ZONE_LOS_SANTOS, 1692.60, -2179.20, -89.00, 1812.60, -1842.20, 110.90},
  120. {!"El Quebrados", ZONE_TIERRA_ROBADA, -1645.20, 2498.50, 0.00, -1372.10, 2777.80, 200.00},
  121. {!"Esplanade East", ZONE_SAN_FIERRO, -1620.30, 1176.50, -4.50, -1580.00, 1274.20, 200.00},
  122. {!"Esplanade East", ZONE_SAN_FIERRO, -1580.00, 1025.90, -6.10, -1499.80, 1274.20, 200.00},
  123. {!"Esplanade East", ZONE_SAN_FIERRO, -1499.80, 578.30, -79.60, -1339.80, 1274.20, 20.30},
  124. {!"Esplanade North", ZONE_SAN_FIERRO, -2533.00, 1358.90, -4.50, -1996.60, 1501.20, 200.00},
  125. {!"Esplanade North", ZONE_SAN_FIERRO, -1996.60, 1358.90, -4.50, -1524.20, 1592.50, 200.00},
  126. {!"Esplanade North", ZONE_SAN_FIERRO, -1982.30, 1274.20, -4.50, -1524.20, 1358.90, 200.00},
  127. {!"Fallen Tree", ZONE_RED_COUNTY, -792.20, -698.50, -5.30, -452.40, -380.00, 200.00},
  128. {!"Fallow Bridge", ZONE_RED_COUNTY, 434.30, 366.50, 0.00, 603.00, 555.60, 200.00},
  129. {!"Fern Ridge", ZONE_RED_COUNTY, 508.10, -139.20, 0.00, 1306.60, 119.50, 200.00},
  130. {!"Financial", ZONE_SAN_FIERRO, -1871.70, 744.10, -6.10, -1701.30, 1176.40, 300.00},
  131. {!"Fisher's Lagoon", ZONE_RED_COUNTY, 1916.90, -233.30, -100.00, 2131.70, 13.80, 200.00},
  132. {!"Flint Intersection", ZONE_FLINT_COUNTY, -187.70, -1596.70, -89.00, 17.00, -1276.60, 110.90},
  133. {!"Flint Range", ZONE_FLINT_COUNTY, -594.10, -1648.50, 0.00, -187.70, -1276.60, 200.00},
  134. {!"Fort Carson", ZONE_BONE_COUNTY, -376.20, 826.30, -3.00, 123.70, 1220.40, 200.00},
  135. {!"Foster Valley", ZONE_SAN_FIERRO, -2270.00, -430.20, -0.00, -2178.60, -324.10, 200.00},
  136. {!"Foster Valley", ZONE_SAN_FIERRO, -2178.60, -599.80, -0.00, -1794.90, -324.10, 200.00},
  137. {!"Foster Valley", ZONE_SAN_FIERRO, -2178.60, -1115.50, 0.00, -1794.90, -599.80, 200.00},
  138. {!"Foster Valley", ZONE_SAN_FIERRO, -2178.60, -1250.90, 0.00, -1794.90, -1115.50, 200.00},
  139. {!"Frederick Bridge", ZONE_RED_COUNTY, 2759.20, 296.50, 0.00, 2774.20, 594.70, 200.00},
  140. {!"Gant Bridge", ZONE_SAN_FIERRO, -2741.40, 1659.60, -6.10, -2616.40, 2175.10, 200.00},
  141. {!"Gant Bridge", ZONE_SAN_FIERRO, -2741.00, 1490.40, -6.10, -2616.40, 1659.60, 200.00},
  142. {!"Ganton", ZONE_LOS_SANTOS, 2222.50, -1852.80, -89.00, 2632.80, -1722.30, 110.90},
  143. {!"Ganton", ZONE_LOS_SANTOS, 2222.50, -1722.30, -89.00, 2632.80, -1628.50, 110.90},
  144. {!"Garcia", ZONE_SAN_FIERRO, -2411.20, -222.50, -0.00, -2173.00, 265.20, 200.00},
  145. {!"Garcia", ZONE_SAN_FIERRO, -2395.10, -222.50, -5.30, -2354.00, -204.70, 200.00},
  146. {!"Garver Bridge", ZONE_SAN_FIERRO, -1339.80, 828.10, -89.00, -1213.90, 1057.00, 110.90},
  147. {!"Garver Bridge", ZONE_SAN_FIERRO, -1213.90, 950.00, -89.00, -1087.90, 1178.90, 110.90},
  148. {!"Garver Bridge", ZONE_SAN_FIERRO, -1499.80, 696.40, -179.60, -1339.80, 925.30, 20.30},
  149. {!"Glen Park", ZONE_LOS_SANTOS, 1812.60, -1449.60, -89.00, 1996.90, -1350.70, 110.90},
  150. {!"Glen Park", ZONE_LOS_SANTOS, 1812.60, -1100.80, -89.00, 1994.30, -973.30, 110.90},
  151. {!"Glen Park", ZONE_LOS_SANTOS, 1812.60, -1350.70, -89.00, 2056.80, -1100.80, 110.90},
  152. {!"Green Palms", ZONE_BONE_COUNTY, 176.50, 1305.40, -3.00, 338.60, 1520.70, 200.00},
  153. {!"Greenglass College", ZONE_LAS_VENTURAS, 964.30, 1044.60, -89.00, 1197.30, 1203.20, 110.90},
  154. {!"Greenglass College", ZONE_LAS_VENTURAS, 964.30, 930.80, -89.00, 1166.50, 1044.60, 110.90},
  155. {!"Hampton Barns", ZONE_RED_COUNTY, 603.00, 264.30, 0.00, 761.90, 366.50, 200.00},
  156. {!"Hankypanky Point", ZONE_RED_COUNTY, 2576.90, 62.10, 0.00, 2759.20, 385.50, 200.00},
  157. {!"Harry Gold Parkway", ZONE_LAS_VENTURAS, 1777.30, 863.20, -89.00, 1817.30, 2342.80, 110.90},
  158. {!"Hashbury", ZONE_SAN_FIERRO, -2593.40, -222.50, -0.00, -2411.20, 54.70, 200.00},
  159. {!"Hilltop Farm", ZONE_RED_COUNTY, 967.30, -450.30, -3.00, 1176.70, -217.90, 200.00},
  160. {!"Hunter Quarry", ZONE_BONE_COUNTY, 337.20, 710.80, -115.20, 860.50, 1031.70, 203.70},
  161. {!"Idlewood", ZONE_LOS_SANTOS, 1812.60, -1852.80, -89.00, 1971.60, -1742.30, 110.90},
  162. {!"Idlewood", ZONE_LOS_SANTOS, 1812.60, -1742.30, -89.00, 1951.60, -1602.30, 110.90},
  163. {!"Idlewood", ZONE_LOS_SANTOS, 1951.60, -1742.30, -89.00, 2124.60, -1602.30, 110.90},
  164. {!"Idlewood", ZONE_LOS_SANTOS, 1812.60, -1602.30, -89.00, 2124.60, -1449.60, 110.90},
  165. {!"Idlewood", ZONE_LOS_SANTOS, 2124.60, -1742.30, -89.00, 2222.50, -1494.00, 110.90},
  166. {!"Idlewood", ZONE_LOS_SANTOS, 1971.60, -1852.80, -89.00, 2222.50, -1742.30, 110.90},
  167. {!"Jefferson", ZONE_LOS_SANTOS, 1996.90, -1449.60, -89.00, 2056.80, -1350.70, 110.90},
  168. {!"Jefferson", ZONE_LOS_SANTOS, 2124.60, -1494.00, -89.00, 2266.20, -1449.60, 110.90},
  169. {!"Jefferson", ZONE_LOS_SANTOS, 2056.80, -1372.00, -89.00, 2281.40, -1210.70, 110.90},
  170. {!"Jefferson", ZONE_LOS_SANTOS, 2056.80, -1210.70, -89.00, 2185.30, -1126.30, 110.90},
  171. {!"Jefferson", ZONE_LOS_SANTOS, 2185.30, -1210.70, -89.00, 2281.40, -1154.50, 110.90},
  172. {!"Jefferson", ZONE_LOS_SANTOS, 2056.80, -1449.60, -89.00, 2266.20, -1372.00, 110.90},
  173. {!"Julius Thruway East", ZONE_LAS_VENTURAS, 2623.10, 943.20, -89.00, 2749.90, 1055.90, 110.90},
  174. {!"Julius Thruway East", ZONE_LAS_VENTURAS, 2685.10, 1055.90, -89.00, 2749.90, 2626.50, 110.90},
  175. {!"Julius Thruway East", ZONE_LAS_VENTURAS, 2536.40, 2442.50, -89.00, 2685.10, 2542.50, 110.90},
  176. {!"Julius Thruway East", ZONE_LAS_VENTURAS, 2625.10, 2202.70, -89.00, 2685.10, 2442.50, 110.90},
  177. {!"Julius Thruway North", ZONE_LAS_VENTURAS, 2498.20, 2542.50, -89.00, 2685.10, 2626.50, 110.90},
  178. {!"Julius Thruway North", ZONE_LAS_VENTURAS, 2237.40, 2542.50, -89.00, 2498.20, 2663.10, 110.90},
  179. {!"Julius Thruway North", ZONE_LAS_VENTURAS, 2121.40, 2508.20, -89.00, 2237.40, 2663.10, 110.90},
  180. {!"Julius Thruway North", ZONE_LAS_VENTURAS, 1938.80, 2508.20, -89.00, 2121.40, 2624.20, 110.90},
  181. {!"Julius Thruway North", ZONE_LAS_VENTURAS, 1534.50, 2433.20, -89.00, 1848.40, 2583.20, 110.90},
  182. {!"Julius Thruway North", ZONE_LAS_VENTURAS, 1848.40, 2478.40, -89.00, 1938.80, 2553.40, 110.90},
  183. {!"Julius Thruway North", ZONE_LAS_VENTURAS, 1704.50, 2342.80, -89.00, 1848.40, 2433.20, 110.90},
  184. {!"Julius Thruway North", ZONE_LAS_VENTURAS, 1377.30, 2433.20, -89.00, 1534.50, 2507.20, 110.90},
  185. {!"Julius Thruway South", ZONE_LAS_VENTURAS, 1457.30, 823.20, -89.00, 2377.30, 863.20, 110.90},
  186. {!"Julius Thruway South", ZONE_LAS_VENTURAS, 2377.30, 788.80, -89.00, 2537.30, 897.90, 110.90},
  187. {!"Julius Thruway West", ZONE_LAS_VENTURAS, 1197.30, 1163.30, -89.00, 1236.60, 2243.20, 110.90},
  188. {!"Julius Thruway West", ZONE_LAS_VENTURAS, 1236.60, 2142.80, -89.00, 1297.40, 2243.20, 110.90},
  189. {!"Juniper Hill", ZONE_SAN_FIERRO, -2533.00, 578.30, -7.60, -2274.10, 968.30, 200.00},
  190. {!"Juniper Hollow", ZONE_SAN_FIERRO, -2533.00, 968.30, -6.10, -2274.10, 1358.90, 200.00},
  191. {!"K.A.C.C. Military Fuels", ZONE_LAS_VENTURAS, 2498.20, 2626.50, -89.00, 2749.90, 2861.50, 110.90},
  192. {!"Kincaid Bridge", ZONE_SAN_FIERRO, -1339.80, 599.20, -89.00, -1213.90, 828.10, 110.90},
  193. {!"Kincaid Bridge", ZONE_SAN_FIERRO, -1213.90, 721.10, -89.00, -1087.90, 950.00, 110.90},
  194. {!"Kincaid Bridge", ZONE_SAN_FIERRO, -1087.90, 855.30, -89.00, -961.90, 986.20, 110.90},
  195. {!"King's", ZONE_SAN_FIERRO, -2329.30, 458.40, -7.60, -1993.20, 578.30, 200.00},
  196. {!"King's", ZONE_SAN_FIERRO, -2411.20, 265.20, -9.10, -1993.20, 373.50, 200.00},
  197. {!"King's", ZONE_SAN_FIERRO, -2253.50, 373.50, -9.10, -1993.20, 458.40, 200.00},
  198. {!"LVA Freight Depot", ZONE_LAS_VENTURAS, 1457.30, 863.20, -89.00, 1777.40, 1143.20, 110.90},
  199. {!"LVA Freight Depot", ZONE_LAS_VENTURAS, 1375.60, 919.40, -89.00, 1457.30, 1203.20, 110.90},
  200. {!"LVA Freight Depot", ZONE_LAS_VENTURAS, 1277.00, 1087.60, -89.00, 1375.60, 1203.20, 110.90},
  201. {!"LVA Freight Depot", ZONE_LAS_VENTURAS, 1315.30, 1044.60, -89.00, 1375.60, 1087.60, 110.90},
  202. {!"LVA Freight Depot", ZONE_LAS_VENTURAS, 1236.60, 1163.40, -89.00, 1277.00, 1203.20, 110.90},
  203. {!"Las Barrancas", ZONE_TIERRA_ROBADA, -926.10, 1398.70, -3.00, -719.20, 1634.60, 200.00},
  204. {!"Las Brujas", ZONE_BONE_COUNTY, -365.10, 2123.00, -3.00, -208.50, 2217.60, 200.00},
  205. {!"Las Colinas", ZONE_LOS_SANTOS, 1994.30, -1100.80, -89.00, 2056.80, -920.80, 110.90},
  206. {!"Las Colinas", ZONE_LOS_SANTOS, 2056.80, -1126.30, -89.00, 2126.80, -920.80, 110.90},
  207. {!"Las Colinas", ZONE_LOS_SANTOS, 2185.30, -1154.50, -89.00, 2281.40, -934.40, 110.90},
  208. {!"Las Colinas", ZONE_LOS_SANTOS, 2126.80, -1126.30, -89.00, 2185.30, -934.40, 110.90},
  209. {!"Las Colinas", ZONE_LOS_SANTOS, 2747.70, -1120.00, -89.00, 2959.30, -945.00, 110.90},
  210. {!"Las Colinas", ZONE_LOS_SANTOS, 2632.70, -1135.00, -89.00, 2747.70, -945.00, 110.90},
  211. {!"Las Colinas", ZONE_LOS_SANTOS, 2281.40, -1135.00, -89.00, 2632.70, -945.00, 110.90},
  212. {!"Las Payasadas", ZONE_BONE_COUNTY, -354.30, 2580.30, 2.00, -133.60, 2816.80, 200.00},
  213. {!"Las Venturas Airport", ZONE_LAS_VENTURAS, 1236.60, 1203.20, -89.00, 1457.30, 1883.10, 110.90},
  214. {!"Las Venturas Airport", ZONE_LAS_VENTURAS, 1457.30, 1203.20, -89.00, 1777.30, 1883.10, 110.90},
  215. {!"Las Venturas Airport", ZONE_LAS_VENTURAS, 1457.30, 1143.20, -89.00, 1777.40, 1203.20, 110.90},
  216. {!"Las Venturas Airport", ZONE_LAS_VENTURAS, 1515.80, 1586.40, -12.50, 1729.90, 1714.50, 87.50},
  217. {!"Last Dime Motel", ZONE_LAS_VENTURAS, 1823.00, 596.30, -89.00, 1997.20, 823.20, 110.90},
  218. {!"Leafy Hollow", ZONE_FLINT_COUNTY, -1166.90, -1856.00, 0.00, -815.60, -1602.00, 200.00},
  219. {!"Liberty City", ZONE_LIBERTY_CITY, -1000.00, 400.00, 1300.00, -700.00, 600.00, 1400.00},
  220. {!"Lil' Probe Inn", ZONE_BONE_COUNTY, -90.20, 1286.80, -3.00, 153.80, 1554.10, 200.00},
  221. {!"Linden Side", ZONE_LAS_VENTURAS, 2749.90, 943.20, -89.00, 2923.30, 1198.90, 110.90},
  222. {!"Linden Station", ZONE_LAS_VENTURAS, 2749.90, 1198.90, -89.00, 2923.30, 1548.90, 110.90},
  223. {!"Linden Station", ZONE_LAS_VENTURAS, 2811.20, 1229.50, -39.50, 2861.20, 1407.50, 60.40},
  224. {!"Little Mexico", ZONE_LOS_SANTOS, 1701.90, -1842.20, -89.00, 1812.60, -1722.20, 110.90},
  225. {!"Little Mexico", ZONE_LOS_SANTOS, 1758.90, -1722.20, -89.00, 1812.60, -1577.50, 110.90},
  226. {!"Los Flores", ZONE_LOS_SANTOS, 2581.70, -1454.30, -89.00, 2632.80, -1393.40, 110.90},
  227. {!"Los Flores", ZONE_LOS_SANTOS, 2581.70, -1393.40, -89.00, 2747.70, -1135.00, 110.90},
  228. {!"Los Santos International", ZONE_LOS_SANTOS, 1249.60, -2394.30, -89.00, 1852.00, -2179.20, 110.90},
  229. {!"Los Santos International", ZONE_LOS_SANTOS, 1852.00, -2394.30, -89.00, 2089.00, -2179.20, 110.90},
  230. {!"Los Santos International", ZONE_LOS_SANTOS, 1382.70, -2730.80, -89.00, 2201.80, -2394.30, 110.90},
  231. {!"Los Santos International", ZONE_LOS_SANTOS, 1974.60, -2394.30, -39.00, 2089.00, -2256.50, 60.90},
  232. {!"Los Santos International", ZONE_LOS_SANTOS, 1400.90, -2669.20, -39.00, 2189.80, -2597.20, 60.90},
  233. {!"Los Santos International", ZONE_LOS_SANTOS, 2051.60, -2597.20, -39.00, 2152.40, -2394.30, 60.90},
  234. {!"Marina", ZONE_LOS_SANTOS, 647.70, -1804.20, -89.00, 851.40, -1577.50, 110.90},
  235. {!"Marina", ZONE_LOS_SANTOS, 647.70, -1577.50, -89.00, 807.90, -1416.20, 110.90},
  236. {!"Marina", ZONE_LOS_SANTOS, 807.90, -1577.50, -89.00, 926.90, -1416.20, 110.90},
  237. {!"Market", ZONE_LOS_SANTOS, 787.40, -1416.20, -89.00, 1072.60, -1310.20, 110.90},
  238. {!"Market", ZONE_LOS_SANTOS, 952.60, -1310.20, -89.00, 1072.60, -1130.80, 110.90},
  239. {!"Market", ZONE_LOS_SANTOS, 1072.60, -1416.20, -89.00, 1370.80, -1130.80, 110.90},
  240. {!"Market", ZONE_LOS_SANTOS, 926.90, -1577.50, -89.00, 1370.80, -1416.20, 110.90},
  241. {!"Market Station", ZONE_LOS_SANTOS, 787.40, -1410.90, -34.10, 866.00, -1310.20, 65.80},
  242. {!"Martin Bridge", ZONE_RED_COUNTY, -222.10, 293.30, 0.00, -122.10, 476.40, 200.00},
  243. {!"Missionary Hill", ZONE_SAN_FIERRO, -2994.40, -811.20, 0.00, -2178.60, -430.20, 200.00},
  244. {!"Montgomery", ZONE_RED_COUNTY, 1119.50, 119.50, -3.00, 1451.40, 493.30, 200.00},
  245. {!"Montgomery", ZONE_RED_COUNTY, 1451.40, 347.40, -6.10, 1582.40, 420.80, 200.00},
  246. {!"Montgomery Intersection", ZONE_RED_COUNTY, 1546.60, 208.10, 0.00, 1745.80, 347.40, 200.00},
  247. {!"Montgomery Intersection", ZONE_RED_COUNTY, 1582.40, 347.40, 0.00, 1664.60, 401.70, 200.00},
  248. {!"Mulholland", ZONE_LOS_SANTOS, 1414.00, -768.00, -89.00, 1667.60, -452.40, 110.90},
  249. {!"Mulholland", ZONE_LOS_SANTOS, 1281.10, -452.40, -89.00, 1641.10, -290.90, 110.90},
  250. {!"Mulholland", ZONE_LOS_SANTOS, 1269.10, -768.00, -89.00, 1414.00, -452.40, 110.90},
  251. {!"Mulholland", ZONE_LOS_SANTOS, 1357.00, -926.90, -89.00, 1463.90, -768.00, 110.90},
  252. {!"Mulholland", ZONE_LOS_SANTOS, 1318.10, -910.10, -89.00, 1357.00, -768.00, 110.90},
  253. {!"Mulholland", ZONE_LOS_SANTOS, 1169.10, -910.10, -89.00, 1318.10, -768.00, 110.90},
  254. {!"Mulholland", ZONE_LOS_SANTOS, 768.60, -954.60, -89.00, 952.60, -860.60, 110.90},
  255. {!"Mulholland", ZONE_LOS_SANTOS, 687.80, -860.60, -89.00, 911.80, -768.00, 110.90},
  256. {!"Mulholland", ZONE_LOS_SANTOS, 737.50, -768.00, -89.00, 1142.20, -674.80, 110.90},
  257. {!"Mulholland", ZONE_LOS_SANTOS, 1096.40, -910.10, -89.00, 1169.10, -768.00, 110.90},
  258. {!"Mulholland", ZONE_LOS_SANTOS, 952.60, -937.10, -89.00, 1096.40, -860.60, 110.90},
  259. {!"Mulholland", ZONE_LOS_SANTOS, 911.80, -860.60, -89.00, 1096.40, -768.00, 110.90},
  260. {!"Mulholland", ZONE_LOS_SANTOS, 861.00, -674.80, -89.00, 1156.50, -600.80, 110.90},
  261. {!"Mulholland Intersection", ZONE_LOS_SANTOS, 1463.90, -1150.80, -89.00, 1812.60, -768.00, 110.90},
  262. {!"North Rock", ZONE_RED_COUNTY, 2285.30, -768.00, 0.00, 2770.50, -269.70, 200.00},
  263. {!"Ocean Docks", ZONE_LOS_SANTOS, 2373.70, -2697.00, -89.00, 2809.20, -2330.40, 110.90},
  264. {!"Ocean Docks", ZONE_LOS_SANTOS, 2201.80, -2418.30, -89.00, 2324.00, -2095.00, 110.90},
  265. {!"Ocean Docks", ZONE_LOS_SANTOS, 2324.00, -2302.30, -89.00, 2703.50, -2145.10, 110.90},
  266. {!"Ocean Docks", ZONE_LOS_SANTOS, 2089.00, -2394.30, -89.00, 2201.80, -2235.80, 110.90},
  267. {!"Ocean Docks", ZONE_LOS_SANTOS, 2201.80, -2730.80, -89.00, 2324.00, -2418.30, 110.90},
  268. {!"Ocean Docks", ZONE_LOS_SANTOS, 2703.50, -2302.30, -89.00, 2959.30, -2126.90, 110.90},
  269. {!"Ocean Docks", ZONE_LOS_SANTOS, 2324.00, -2145.10, -89.00, 2703.50, -2059.20, 110.90},
  270. {!"Ocean Flats", ZONE_SAN_FIERRO, -2994.40, 277.40, -9.10, -2867.80, 458.40, 200.00},
  271. {!"Ocean Flats", ZONE_SAN_FIERRO, -2994.40, -222.50, -0.00, -2593.40, 277.40, 200.00},
  272. {!"Ocean Flats", ZONE_SAN_FIERRO, -2994.40, -430.20, -0.00, -2831.80, -222.50, 200.00},
  273. {!"Octane Springs", ZONE_BONE_COUNTY, 338.60, 1228.50, 0.00, 664.30, 1655.00, 200.00},
  274. {!"Old Venturas Strip", ZONE_LAS_VENTURAS, 2162.30, 2012.10, -89.00, 2685.10, 2202.70, 110.90},
  275. {!"Palisades", ZONE_SAN_FIERRO, -2994.40, 458.40, -6.10, -2741.00, 1339.60, 200.00},
  276. {!"Palomino Creek", ZONE_RED_COUNTY, 2160.20, -149.00, 0.00, 2576.90, 228.30, 200.00},
  277. {!"Paradiso", ZONE_SAN_FIERRO, -2741.00, 793.40, -6.10, -2533.00, 1268.40, 200.00},
  278. {!"Pershing Square", ZONE_LOS_SANTOS, 1440.90, -1722.20, -89.00, 1583.50, -1577.50, 110.90},
  279. {!"Pilgrim", ZONE_LAS_VENTURAS, 2437.30, 1383.20, -89.00, 2624.40, 1783.20, 110.90},
  280. {!"Pilgrim", ZONE_LAS_VENTURAS, 2624.40, 1383.20, -89.00, 2685.10, 1783.20, 110.90},
  281. {!"Pilson Intersection", ZONE_LAS_VENTURAS, 1098.30, 2243.20, -89.00, 1377.30, 2507.20, 110.90},
  282. {!"Pirates in Men's Pants", ZONE_LAS_VENTURAS, 1817.30, 1469.20, -89.00, 2027.40, 1703.20, 110.90},
  283. {!"Playa del Seville", ZONE_LOS_SANTOS, 2703.50, -2126.90, -89.00, 2959.30, -1852.80, 110.90},
  284. {!"Prickle Pine", ZONE_LAS_VENTURAS, 1534.50, 2583.20, -89.00, 1848.40, 2863.20, 110.90},
  285. {!"Prickle Pine", ZONE_LAS_VENTURAS, 1117.40, 2507.20, -89.00, 1534.50, 2723.20, 110.90},
  286. {!"Prickle Pine", ZONE_LAS_VENTURAS, 1848.40, 2553.40, -89.00, 1938.80, 2863.20, 110.90},
  287. {!"Prickle Pine", ZONE_LAS_VENTURAS, 1938.80, 2624.20, -89.00, 2121.40, 2861.50, 110.90},
  288. {!"Queens", ZONE_SAN_FIERRO, -2533.00, 458.40, 0.00, -2329.30, 578.30, 200.00},
  289. {!"Queens", ZONE_SAN_FIERRO, -2593.40, 54.70, 0.00, -2411.20, 458.40, 200.00},
  290. {!"Queens", ZONE_SAN_FIERRO, -2411.20, 373.50, 0.00, -2253.50, 458.40, 200.00},
  291. {!"Randolph Industrial Estate", ZONE_LAS_VENTURAS, 1558.00, 596.30, -89.00, 1823.00, 823.20, 110.90},
  292. {!"Redsands East", ZONE_LAS_VENTURAS, 1817.30, 2011.80, -89.00, 2106.70, 2202.70, 110.90},
  293. {!"Redsands East", ZONE_LAS_VENTURAS, 1817.30, 2202.70, -89.00, 2011.90, 2342.80, 110.90},
  294. {!"Redsands East", ZONE_LAS_VENTURAS, 1848.40, 2342.80, -89.00, 2011.90, 2478.40, 110.90},
  295. {!"Redsands West", ZONE_LAS_VENTURAS, 1236.60, 1883.10, -89.00, 1777.30, 2142.80, 110.90},
  296. {!"Redsands West", ZONE_LAS_VENTURAS, 1297.40, 2142.80, -89.00, 1777.30, 2243.20, 110.90},
  297. {!"Redsands West", ZONE_LAS_VENTURAS, 1377.30, 2243.20, -89.00, 1704.50, 2433.20, 110.90},
  298. {!"Redsands West", ZONE_LAS_VENTURAS, 1704.50, 2243.20, -89.00, 1777.30, 2342.80, 110.90},
  299. {!"Regular Tom", ZONE_BONE_COUNTY, -405.70, 1712.80, -3.00, -276.70, 1892.70, 200.00},
  300. {!"Richman", ZONE_LOS_SANTOS, 647.50, -1118.20, -89.00, 787.40, -954.60, 110.90},
  301. {!"Richman", ZONE_LOS_SANTOS, 647.50, -954.60, -89.00, 768.60, -860.60, 110.90},
  302. {!"Richman", ZONE_LOS_SANTOS, 225.10, -1369.60, -89.00, 334.50, -1292.00, 110.90},
  303. {!"Richman", ZONE_LOS_SANTOS, 225.10, -1292.00, -89.00, 466.20, -1235.00, 110.90},
  304. {!"Richman", ZONE_LOS_SANTOS, 72.60, -1404.90, -89.00, 225.10, -1235.00, 110.90},
  305. {!"Richman", ZONE_LOS_SANTOS, 72.60, -1235.00, -89.00, 321.30, -1008.10, 110.90},
  306. {!"Richman", ZONE_LOS_SANTOS, 321.30, -1235.00, -89.00, 647.50, -1044.00, 110.90},
  307. {!"Richman", ZONE_LOS_SANTOS, 321.30, -1044.00, -89.00, 647.50, -860.60, 110.90},
  308. {!"Richman", ZONE_LOS_SANTOS, 321.30, -860.60, -89.00, 687.80, -768.00, 110.90},
  309. {!"Richman", ZONE_LOS_SANTOS, 321.30, -768.00, -89.00, 700.70, -674.80, 110.90},
  310. {!"Robada Intersection", ZONE_TIERRA_ROBADA, -1119.00, 1178.90, -89.00, -862.00, 1351.40, 110.90},
  311. {!"Roca Escalante", ZONE_LAS_VENTURAS, 2237.40, 2202.70, -89.00, 2536.40, 2542.50, 110.90},
  312. {!"Roca Escalante", ZONE_LAS_VENTURAS, 2536.40, 2202.70, -89.00, 2625.10, 2442.50, 110.90},
  313. {!"Rockshore East", ZONE_LAS_VENTURAS, 2537.30, 676.50, -89.00, 2902.30, 943.20, 110.90},
  314. {!"Rockshore West", ZONE_LAS_VENTURAS, 1997.20, 596.30, -89.00, 2377.30, 823.20, 110.90},
  315. {!"Rockshore West", ZONE_LAS_VENTURAS, 2377.30, 596.30, -89.00, 2537.30, 788.80, 110.90},
  316. {!"Rodeo", ZONE_LOS_SANTOS, 72.60, -1684.60, -89.00, 225.10, -1544.10, 110.90},
  317. {!"Rodeo", ZONE_LOS_SANTOS, 72.60, -1544.10, -89.00, 225.10, -1404.90, 110.90},
  318. {!"Rodeo", ZONE_LOS_SANTOS, 225.10, -1684.60, -89.00, 312.80, -1501.90, 110.90},
  319. {!"Rodeo", ZONE_LOS_SANTOS, 225.10, -1501.90, -89.00, 334.50, -1369.60, 110.90},
  320. {!"Rodeo", ZONE_LOS_SANTOS, 334.50, -1501.90, -89.00, 422.60, -1406.00, 110.90},
  321. {!"Rodeo", ZONE_LOS_SANTOS, 312.80, -1684.60, -89.00, 422.60, -1501.90, 110.90},
  322. {!"Rodeo", ZONE_LOS_SANTOS, 422.60, -1684.60, -89.00, 558.00, -1570.20, 110.90},
  323. {!"Rodeo", ZONE_LOS_SANTOS, 558.00, -1684.60, -89.00, 647.50, -1384.90, 110.90},
  324. {!"Rodeo", ZONE_LOS_SANTOS, 466.20, -1570.20, -89.00, 558.00, -1385.00, 110.90},
  325. {!"Rodeo", ZONE_LOS_SANTOS, 422.60, -1570.20, -89.00, 466.20, -1406.00, 110.90},
  326. {!"Rodeo", ZONE_LOS_SANTOS, 466.20, -1385.00, -89.00, 647.50, -1235.00, 110.90},
  327. {!"Rodeo", ZONE_LOS_SANTOS, 334.50, -1406.00, -89.00, 466.20, -1292.00, 110.90},
  328. {!"Royal Casino", ZONE_LAS_VENTURAS, 2087.30, 1383.20, -89.00, 2437.30, 1543.20, 110.90},
  329. {!"San Andreas Sound", ZONE_RED_COUNTY, 2450.30, 385.50, -100.00, 2759.20, 562.30, 200.00},
  330. {!"Santa Flora", ZONE_SAN_FIERRO, -2741.00, 458.40, -7.60, -2533.00, 793.40, 200.00},
  331. {!"Santa Maria Beach", ZONE_LOS_SANTOS, 342.60, -2173.20, -89.00, 647.70, -1684.60, 110.90},
  332. {!"Santa Maria Beach", ZONE_LOS_SANTOS, 72.60, -2173.20, -89.00, 342.60, -1684.60, 110.90},
  333. {!"Shady Cabin", ZONE_WHETSTONE, -1632.80, -2263.40, -3.00, -1601.30, -2231.70, 200.00},
  334. {!"Shady Creeks", ZONE_WHETSTONE, -1820.60, -2643.60, -8.00, -1226.70, -1771.60, 200.00},
  335. {!"Shady Creeks", ZONE_WHETSTONE, -2030.10, -2174.80, -6.10, -1820.60, -1771.60, 200.00},
  336. {!"Sobell Rail Yards", ZONE_LAS_VENTURAS, 2749.90, 1548.90, -89.00, 2923.30, 1937.20, 110.90},
  337. {!"Spinybed", ZONE_LAS_VENTURAS, 2121.40, 2663.10, -89.00, 2498.20, 2861.50, 110.90},
  338. {!"Starfish Casino", ZONE_LAS_VENTURAS, 2437.30, 1783.20, -89.00, 2685.10, 2012.10, 110.90},
  339. {!"Starfish Casino", ZONE_LAS_VENTURAS, 2437.30, 1858.10, -39.00, 2495.00, 1970.80, 60.90},
  340. {!"Starfish Casino", ZONE_LAS_VENTURAS, 2162.30, 1883.20, -89.00, 2437.30, 2012.10, 110.90},
  341. {!"Temple", ZONE_LOS_SANTOS, 1252.30, -1130.80, -89.00, 1378.30, -1026.30, 110.90},
  342. {!"Temple", ZONE_LOS_SANTOS, 1252.30, -1026.30, -89.00, 1391.00, -926.90, 110.90},
  343. {!"Temple", ZONE_LOS_SANTOS, 1252.30, -926.90, -89.00, 1357.00, -910.10, 110.90},
  344. {!"Temple", ZONE_LOS_SANTOS, 952.60, -1130.80, -89.00, 1096.40, -937.10, 110.90},
  345. {!"Temple", ZONE_LOS_SANTOS, 1096.40, -1130.80, -89.00, 1252.30, -1026.30, 110.90},
  346. {!"Temple", ZONE_LOS_SANTOS, 1096.40, -1026.30, -89.00, 1252.30, -910.10, 110.90},
  347. {!"The Camel's Toe", ZONE_LAS_VENTURAS, 2087.30, 1203.20, -89.00, 2640.40, 1383.20, 110.90},
  348. {!"The Clown's Pocket", ZONE_LAS_VENTURAS, 2162.30, 1783.20, -89.00, 2437.30, 1883.20, 110.90},
  349. {!"The Emerald Isle", ZONE_LAS_VENTURAS, 2011.90, 2202.70, -89.00, 2237.40, 2508.20, 110.90},
  350. {!"The Farm", ZONE_FLINT_COUNTY, -1209.60, -1317.10, 114.90, -908.10, -787.30, 251.90},
  351. {!"The Four Dragons Casino", ZONE_LAS_VENTURAS, 1817.30, 863.20, -89.00, 2027.30, 1083.20, 110.90},
  352. {!"The High Roller", ZONE_LAS_VENTURAS, 1817.30, 1283.20, -89.00, 2027.30, 1469.20, 110.90},
  353. {!"The Mako Span", ZONE_RED_COUNTY, 1664.60, 401.70, 0.00, 1785.10, 567.20, 200.00},
  354. {!"The Panopticon", ZONE_RED_COUNTY, -947.90, -304.30, -1.10, -319.60, 327.00, 200.00},
  355. {!"The Pink Swan", ZONE_LAS_VENTURAS, 1817.30, 1083.20, -89.00, 2027.30, 1283.20, 110.90},
  356. {!"The Sherman Dam", ZONE_BONE_COUNTY, -968.70, 1929.40, -3.00, -481.10, 2155.20, 200.00},
  357. {!"The Strip", ZONE_LAS_VENTURAS, 2027.40, 863.20, -89.00, 2087.30, 1703.20, 110.90},
  358. {!"The Strip", ZONE_LAS_VENTURAS, 2106.70, 1863.20, -89.00, 2162.30, 2202.70, 110.90},
  359. {!"The Strip", ZONE_LAS_VENTURAS, 2027.40, 1783.20, -89.00, 2162.30, 1863.20, 110.90},
  360. {!"The Strip", ZONE_LAS_VENTURAS, 2027.40, 1703.20, -89.00, 2137.40, 1783.20, 110.90},
  361. {!"The Visage", ZONE_LAS_VENTURAS, 1817.30, 1863.20, -89.00, 2106.70, 2011.80, 110.90},
  362. {!"The Visage", ZONE_LAS_VENTURAS, 1817.30, 1703.20, -89.00, 2027.40, 1863.20, 110.90},
  363. {!"Unity Station", ZONE_LOS_SANTOS, 1692.60, -1971.80, -20.40, 1812.60, -1932.80, 79.50},
  364. {!"Valle Ocultado", ZONE_BONE_COUNTY, -936.60, 2611.40, 2.00, -715.90, 2847.90, 200.00},
  365. {!"Verdant Bluffs", ZONE_LOS_SANTOS, 930.20, -2488.40, -89.00, 1249.60, -2006.70, 110.90},
  366. {!"Verdant Bluffs", ZONE_LOS_SANTOS, 1073.20, -2006.70, -89.00, 1249.60, -1842.20, 110.90},
  367. {!"Verdant Bluffs", ZONE_LOS_SANTOS, 1249.60, -2179.20, -89.00, 1692.60, -1842.20, 110.90},
  368. {!"Verdant Meadows", ZONE_BONE_COUNTY, 37.00, 2337.10, -3.00, 435.90, 2677.90, 200.00},
  369. {!"Verona Beach", ZONE_LOS_SANTOS, 647.70, -2173.20, -89.00, 930.20, -1804.20, 110.90},
  370. {!"Verona Beach", ZONE_LOS_SANTOS, 930.20, -2006.70, -89.00, 1073.20, -1804.20, 110.90},
  371. {!"Verona Beach", ZONE_LOS_SANTOS, 851.40, -1804.20, -89.00, 1046.10, -1577.50, 110.90},
  372. {!"Verona Beach", ZONE_LOS_SANTOS, 1161.50, -1722.20, -89.00, 1323.90, -1577.50, 110.90},
  373. {!"Verona Beach", ZONE_LOS_SANTOS, 1046.10, -1722.20, -89.00, 1161.50, -1577.50, 110.90},
  374. {!"Vinewood", ZONE_LOS_SANTOS, 787.40, -1310.20, -89.00, 952.60, -1130.80, 110.90},
  375. {!"Vinewood", ZONE_LOS_SANTOS, 787.40, -1130.80, -89.00, 952.60, -954.60, 110.90},
  376. {!"Vinewood", ZONE_LOS_SANTOS, 647.50, -1227.20, -89.00, 787.40, -1118.20, 110.90},
  377. {!"Vinewood", ZONE_LOS_SANTOS, 647.70, -1416.20, -89.00, 787.40, -1227.20, 110.90},
  378. {!"Whitewood Estates", ZONE_LAS_VENTURAS, 883.30, 1726.20, -89.00, 1098.30, 2507.20, 110.90},
  379. {!"Whitewood Estates", ZONE_LAS_VENTURAS, 1098.30, 1726.20, -89.00, 1197.30, 2243.20, 110.90},
  380. {!"Willowfield", ZONE_LOS_SANTOS, 1970.60, -2179.20, -89.00, 2089.00, -1852.80, 110.90},
  381. {!"Willowfield", ZONE_LOS_SANTOS, 2089.00, -2235.80, -89.00, 2201.80, -1989.90, 110.90},
  382. {!"Willowfield", ZONE_LOS_SANTOS, 2089.00, -1989.90, -89.00, 2324.00, -1852.80, 110.90},
  383. {!"Willowfield", ZONE_LOS_SANTOS, 2201.80, -2095.00, -89.00, 2324.00, -1989.90, 110.90},
  384. {!"Willowfield", ZONE_LOS_SANTOS, 2541.70, -1941.40, -89.00, 2703.50, -1852.80, 110.90},
  385. {!"Willowfield", ZONE_LOS_SANTOS, 2324.00, -2059.20, -89.00, 2541.70, -1852.80, 110.90},
  386. {!"Willowfield", ZONE_LOS_SANTOS, 2541.70, -2059.20, -89.00, 2703.50, -1941.40, 110.90},
  387. {!"Yellow Bell Station", ZONE_LAS_VENTURAS, 1377.40, 2600.40, -21.90, 1492.40, 2687.30, 78.00},
  388. {!"Los Santos", ZONE_LOS_SANTOS, 44.60, -2892.90, -242.90, 2997.00, -768.00, 900.00},
  389. {!"Las Venturas", ZONE_LAS_VENTURAS, 869.40, 596.30, -242.90, 2997.00, 2993.80, 900.00},
  390. {!"Bone County", ZONE_BONE_COUNTY, -480.50, 596.30, -242.90, 869.40, 2993.80, 900.00},
  391. {!"Tierra Robada", ZONE_TIERRA_ROBADA, -2997.40, 1659.60, -242.90, -480.50, 2993.80, 900.00},
  392. {!"Tierra Robada", ZONE_TIERRA_ROBADA, -1213.90, 596.30, -242.90, -480.50, 1659.60, 900.00},
  393. {!"San Fierro", ZONE_SAN_FIERRO, -2997.40, -1115.50, -242.90, -1213.90, 1659.60, 900.00},
  394. {!"Red County", ZONE_RED_COUNTY, -1213.90, -768.00, -242.90, 2997.00, 596.30, 900.00},
  395. {!"Flint County", ZONE_FLINT_COUNTY, -1213.90, -2892.90, -242.90, 44.60, -768.00, 900.00},
  396. {!"Whetstone", ZONE_WHETSTONE, -2997.40, -2892.90, -242.90, -1213.90, -1115.50, 900.00}
  397. };
  398. static
  399. g_iCurrentZoneIndex[MAX_PLAYERS] = {-1, ...}
  400. ;
  401. forward OnPlayerZoneChange(playerid, newzone[], oldzone[]);
  402. /*
  403. native GetPlayerZoneName(playerid);
  404. native GetPlayerRegionName(playerid);
  405. native IsPlayerInZone(playerid, const zone[]);
  406. native IsPlayerInRegion(playerid, const region[]);
  407. native GetZoneName(Float:fX, Float:fY, Float:fZ);
  408. native GetRegionName(Float:fX, Float:fY, Float:fZ);
  409. native GetPlayerRegion(playerid);
  410. native GetZonePosition(const zone[], &Float:fMinX, &Float:fMinY, &Float:fMinZ, &Float:fMaxX, &Float:fMaxY, &Float:fMaxZ);
  411. */
  412. stock static GetZoneIndex(Float:fX, Float:fY, Float:fZ)
  413. {
  414. for (new i = 0; i < sizeof(g_scZoneData); i ++)
  415. {
  416. if ((g_scZoneData[i][e_fZoneMinX] <= fX <= g_scZoneData[i][e_fZoneMaxX]) && (g_scZoneData[i][e_fZoneMinY] <= fY <= g_scZoneData[i][e_fZoneMaxY]) && (g_scZoneData[i][e_fZoneMinZ] <= fZ <= g_scZoneData[i][e_fZoneMaxZ]))
  417. {
  418. return i;
  419. }
  420. }
  421. return -1;
  422. }
  423. stock static GetPlayerZoneIndex(playerid)
  424. {
  425. new
  426. Float:fX,
  427. Float:fY,
  428. Float:fZ;
  429. GetPlayerPos(playerid, fX, fY, fZ);
  430. return GetZoneIndex(fX, fY, fZ);
  431. }
  432. stock static GetZoneCallbackIndex()
  433. {
  434. static
  435. s_iIndex = cellmax;
  436. if (s_iIndex == cellmax)
  437. {
  438. s_iIndex = funcidx("OnPlayerZoneChange");
  439. }
  440. return s_iIndex;
  441. }
  442. stock GetZoneName(Float:fX, Float:fY, Float:fZ)
  443. {
  444. new
  445. name[MAX_ZONE_NAME],
  446. index;
  447. if ((index = GetZoneIndex(fX, fY, fZ)) >= 0)
  448. {
  449. strunpack(name, g_scZoneData[index][e_sZoneName]);
  450. }
  451. else
  452. {
  453. name = "San Andreas";
  454. }
  455. return name;
  456. }
  457. stock GetRegionName(Float:fX, Float:fY, Float:fZ)
  458. {
  459. new
  460. string[MAX_ZONE_NAME],
  461. index;
  462. if ((index = GetZoneIndex(fX, fY, fZ)) == -1)
  463. {
  464. return string;
  465. }
  466. switch (g_scZoneData[index][e_iZoneRegion])
  467. {
  468. case ZONE_BONE_COUNTY:
  469. string = "Bone County";
  470. case ZONE_FLINT_COUNTY:
  471. string = "Flint County";
  472. case ZONE_LAS_VENTURAS:
  473. string = "Las Venturas";
  474. case ZONE_LIBERTY_CITY:
  475. string = "Liberty City";
  476. case ZONE_LOS_SANTOS:
  477. string = "Los Santos";
  478. case ZONE_RED_COUNTY:
  479. string = "Red County";
  480. case ZONE_SAN_ANDREAS:
  481. string = "San Andreas";
  482. case ZONE_SAN_FIERRO:
  483. string = "San Fierro";
  484. case ZONE_TIERRA_ROBADA:
  485. string = "Tierra Robada";
  486. case ZONE_WHETSTONE:
  487. string = "Whetstone";
  488. }
  489. return string;
  490. }
  491. stock GetPlayerZoneName(playerid)
  492. {
  493. new
  494. location[MAX_ZONE_NAME],
  495. Float:fX,
  496. Float:fY,
  497. Float:fZ;
  498. GetPlayerPos(playerid, fX, fY, fZ);
  499. location = GetZoneName(fX, fY, fZ);
  500. return location;
  501. }
  502. stock GetPlayerRegionName(playerid)
  503. {
  504. new
  505. location[MAX_ZONE_NAME],
  506. Float:fX,
  507. Float:fY,
  508. Float:fZ;
  509. GetPlayerPos(playerid, fX, fY, fZ);
  510. location = GetRegionName(fX, fY, fZ);
  511. return location;
  512. }
  513. stock GetPlayerRegion(playerid)
  514. {
  515. new
  516. index = GetPlayerZoneIndex(playerid);
  517. if (index == -1)
  518. {
  519. return ZONE_SAN_ANDREAS;
  520. }
  521. return g_scZoneData[index][e_iZoneRegion];
  522. }
  523. stock GetZonePosition(const zone[], &Float:fMinX, &Float:fMinY, &Float:fMinZ, &Float:fMaxX, &Float:fMaxY, &Float:fMaxZ)
  524. {
  525. for (new i = 0; i < sizeof(g_scZoneData); i ++)
  526. {
  527. if (!strcmp(g_scZoneData[i][e_sZoneName], zone))
  528. {
  529. fMinX = g_scZoneData[i][e_fZoneMinX];
  530. fMinY = g_scZoneData[i][e_fZoneMinY];
  531. fMinZ = g_scZoneData[i][e_fZoneMinZ];
  532. fMaxX = g_scZoneData[i][e_fZoneMaxX];
  533. fMaxY = g_scZoneData[i][e_fZoneMaxY];
  534. fMaxZ = g_scZoneData[i][e_fZoneMaxZ];
  535. return 1;
  536. }
  537. }
  538. return 0;
  539. }
  540. public OnPlayerConnect(playerid)
  541. {
  542. g_iCurrentZoneIndex[playerid] = -1;
  543. #if defined ZS_OnPlayerConnect
  544. return ZS_OnPlayerConnect(playerid);
  545. #else
  546. return 1;
  547. #endif
  548. }
  549. public OnPlayerUpdate(playerid)
  550. {
  551. new
  552. index = GetPlayerZoneIndex(playerid);
  553. if (GetPlayerState(playerid) != PLAYER_STATE_SPECTATING)
  554. {
  555. if (g_iCurrentZoneIndex[playerid] == -1)
  556. {
  557. g_iCurrentZoneIndex[playerid] = index;
  558. }
  559. else if (g_iCurrentZoneIndex[playerid] != index && GetZoneCallbackIndex() != -1)
  560. {
  561. new
  562. oldzone[MAX_ZONE_NAME],
  563. newzone[MAX_ZONE_NAME]
  564. ;
  565. if (g_iCurrentZoneIndex[playerid] != -1)
  566. {
  567. strunpack(oldzone, g_scZoneData[g_iCurrentZoneIndex[playerid]][e_sZoneName]);
  568. }
  569. strunpack(newzone, g_scZoneData[index][e_sZoneName]);
  570. if (strcmp(oldzone, newzone) != 0)
  571. {
  572. CallLocalFunction("OnPlayerZoneChange", "dss", playerid, newzone, oldzone);
  573. g_iCurrentZoneIndex[playerid] = index;
  574. }
  575. }
  576. }
  577. #if defined ZS_OnPlayerUpdate
  578. return ZS_OnPlayerUpdate(playerid);
  579. #else
  580. return 1;
  581. #endif
  582. }
  583. #if defined _ALS_OnPlayerConnect
  584. #undef OnPlayerConnect
  585. #else
  586. #define _ALS_OnPlayerConnect
  587. #endif
  588. #if defined _ALS_OnPlayerUpdate
  589. #undef OnPlayerUpdate
  590. #else
  591. #define _ALS_OnPlayerUpdate
  592. #endif
  593. #define OnPlayerConnect ZS_OnPlayerConnect
  594. #define OnPlayerUpdate ZS_OnPlayerUpdate
  595. #if defined ZS_OnPlayerConnect
  596. forward ZS_OnPlayerConnect(playerid);
  597. #endif
  598. #if defined ZS_OnPlayerUpdate
  599. forward ZS_OnPlayerUpdate(playerid);
  600. #endif