Advertisement
HolywoodJack

ZoneNameMixed.cpp

Jul 23rd, 2022
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.09 KB | None | 0 0
  1. // https://github.com/DK22Pac/plugin-sdk
  2. #include "plugin.h"
  3. #include "CCamera.h"
  4. #include "CFont.h"
  5. #include "CHud.h"
  6. #include "CTimer.h"
  7. #include "CMessages.h"
  8. #include "CStats.h"
  9. #include "CTheScripts.h"
  10. #include "CTheZones.h"
  11. #include "CWorld.h"
  12. #include "common.h"
  13. #include "CModelInfo.h"
  14. #include "CPedModelInfo.h"
  15. #include "CRadar.h"
  16. #include "CRunningScript.h"
  17. #include "CStreaming.h"
  18. #include "CGame.h"
  19. #include "CMenuManager.h"
  20. #include "CText.h"
  21. #include "CZoneInfo.h"
  22. #include "CFileMgr.h"
  23. #include "CFileLoader.h"
  24. #include "extensions\ScriptCommands.h"
  25.  
  26. #include <iostream>
  27. #include <array>
  28. #include <stdio.h>
  29. #include <string.h>
  30.  
  31. std::array<BYTE, 4> zoneNameColours;
  32.  
  33. static int _ZN5CRGBAC2Ehhhh = 0x7170C0;
  34. static int _ZN5CFont12SetDropColorE5CRGBA = 0x719510;
  35. static int _ZN5CFont12SetFontStyleEs = 0x719490;
  36. int fontStyle = 2;
  37.  
  38. DWORD loc_58ADA4 = 0x58ADA4;
  39. DWORD loc_58ADE4 = 0x58ADE4;
  40. DWORD loc_58AE02 = 0x58AE02;
  41.  
  42. int zoneNameBorderR = 226;
  43. int zoneNameBorderG = 181;
  44. int zoneNameBorderB = 119;
  45. int zoneNameBorderA = 255;
  46.  
  47. int zoneNameR = 226;
  48. int zoneNameG = 181;
  49. int zoneNameB = 119;
  50. int zoneNameA = 255;
  51.  
  52. __declspec(naked) void AreaNameFontStyle() { // 0x58AD8D gta_sa 1.00 US Hoodlum
  53. _asm {
  54. push 255 // a ebx zoneNameBorderA
  55. push 0 // b edi zoneNameBorderB
  56. push 255 // g edi zoneNameBorderG
  57. push 0 // r edi zoneNameBorderR
  58. call _ZN5CRGBAC2Ehhhh
  59. mov eax, [eax]
  60. push 0xFFFF0000 // eax // ; color
  61. call _ZN5CFont12SetDropColorE5CRGBA
  62. push fontStyle // edi
  63. call _ZN5CFont12SetFontStyleEs // 2 - SA, 3 - GTA3
  64. jmp loc_58ADA4
  65. }
  66. }
  67.  
  68. __declspec(naked) void borderColour() { // 0x58ADDC gta_sa 1.00 US Hoodlum
  69. _asm {
  70. push 255 // ebx; a
  71. push 0 // ecx; b
  72. lea ecx, [esp + 0x18]
  73. push 255 // edx; g
  74. push 0 // eax; r
  75. jmp loc_58ADE4
  76. }
  77. }
  78.  
  79. __declspec(naked) void colour_3() { // 0x58ADE9 gta_sa 1.00 US Hoodlum
  80. _asm {
  81. mov ecx, [eax]
  82. push 0xFF0000FF // ecx
  83. jmp loc_58AE02
  84. }
  85. }
  86.  
  87. float mixed_lc_x = 5666.0f;
  88. float mixed_lc_y = 2250.0f;
  89. float mixed_lc_z = -0.07f;
  90.  
  91. float mixed_vc_x = 6000.0f;
  92. float mixed_vc_y = -3000.0f;
  93. float mixed_vc_z = -5.94f;
  94.  
  95. bool zoneCreated = false;
  96.  
  97. bool areaDisplayed = false;
  98. unsigned int areaDisplayedTimer = CTimer::m_snTimeInMilliseconds;
  99.  
  100. bool Fps_Counter = true;
  101.  
  102. using namespace plugin;
  103. using namespace std;
  104.  
  105. char *gxtName = "none";
  106. char *primGxtName = "none";
  107. char *loopGxt = "none";
  108.  
  109. char *text = "none";
  110. char *mainText = "none";
  111.  
  112. DWORD areaNemaPsdk = 0xBAB1D0;
  113. DWORD mainAreaNemaPsdk = 0xBAB1D0;
  114. DWORD finalAreaName = 0xBAB1D0;
  115. char *finalText = "none";
  116.  
  117. class ZoneNameMixed {
  118. public:
  119. ZoneNameMixed() {
  120.  
  121.  
  122.  
  123. plugin::patch::Nop(0x58D542, 5);
  124.  
  125. zoneCreated = false;
  126. areaDisplayed = false;
  127. areaDisplayedTimer = CTimer::m_snTimeInMilliseconds;
  128.  
  129. // injector::MakeJMP(0x58AD8D, AreaNameFontStyle);
  130. // injector::MakeJMP(0x58ADDC, borderColour);
  131. // injector::MakeJMP(0x58ADE9, colour_3);
  132.  
  133. // CFileLoader::LoadZone("LC_PARK");
  134. // CFileLoader::LoadCullZone("LC_PARK");
  135. generateNewZoneGxtEntries_2(); // createNewZones();
  136.  
  137. Events::drawAfterFadeEvent += [] {
  138. // zoneCreated = false;
  139. };
  140.  
  141. Events::reInitGameEvent += [] {
  142. zoneCreated = false;
  143. plugin::patch::Nop(0x58D542, 5);
  144. };
  145.  
  146. Events::initGameEvent += [] {
  147. zoneCreated = true;
  148. };
  149.  
  150.  
  151.  
  152. Events::gameProcessEvent += [] {
  153.  
  154. if (zoneCreated) {
  155. // injector::WriteMemory<DWORD>(0xBAB22C, 1);
  156. } else {
  157. // injector::WriteMemory<DWORD>(0xBAB22C, 0);
  158. }
  159.  
  160. // injector::WriteMemory<BYTE>(0x420A10, 0x51);
  161. // injector::WriteMemory<DWORD>(0x420A11, 0x0C41BF0F);
  162. // injector::WriteMemory<DWORD>(0x420A15, 0x0A51BF0F);
  163.  
  164.  
  165. auto playa = FindPlayerPed();
  166. if (playa) {
  167. if (GetTheZone(playa) == 4 || GetTheZone(playa) == 5) {
  168. zoneNameColours[0] = 0;
  169. zoneNameColours[1] = 0;
  170. zoneNameColours[2] = 0xFF;
  171. zoneNameColours[3] = 0xFF;
  172. fontStyle = 3;
  173. // plugin::patch::SetPointer(0x58ADF5 + 1, &zoneNameColours);
  174.  
  175. // auto zone = CTheZones::FindSmallestZoneForPosition(playa->GetPosition(), true);
  176. // gamefont::Print(Format("%s (%s), %s", zone->m_szTextKey, TheText.Get(zone->m_szTextKey), zone->m_szLabel), 20.0f, 20.0f);
  177.  
  178.  
  179.  
  180. if (!zoneCreated) {
  181. CVector indZonePos; // IND_ZON
  182. indZonePos.x = 6925.9055f;
  183. indZonePos.y = 1802.1975f;
  184. indZonePos.z = 200.0f;
  185.  
  186. if (CTheZones::FindSmallestZoneForPosition(indZonePos, false)->GetTranslatedName() != "IND_ZON" &&
  187. TheText.Get("IND_ZON") != "Portland") {
  188. generateNewZoneGxtEntries_2(); createNewZones(); zoneCreated = true;
  189. }
  190.  
  191. // eLevelName lName = static_cast<eLevelName>(0);
  192. // const char * nname = "CustomZone";
  193. // const char * nGxtname = "CustomZone";
  194. // CTheZones::CreateZone("LC_PARK", znType, 5544.433f, 1246.93f, -100.0, 5865.271f, 1836.932f, 500.0, LEVEL_NAME_COUNTRY_SIDE, "LC_PARK");
  195. // CTheZones::CreateZone("LC_CHIN", znType, 6411.421f, 1341.711f, -100.0, 6731.42f, 1786.31f, 500.0, LEVEL_NAME_COUNTRY_SIDE, "LC_CHIN");
  196. // CFileLoader::LoadLevel("modloader\\GTA Mixed\\DATA\\INFO.ZON");
  197. // CFileLoader::LoadScene("modloader\\GTA Mixed\\DATA\\INFO.ZON");
  198. // CFileLoader::LoadZone("LC_PARK");
  199. // CFileLoader::LoadZone("LC_CHIN");
  200. // CFileLoader::LoadCullZone("LC_PARK");
  201. // CFileLoader::LoadCullZone("LC_CHIN");
  202.  
  203. } else {
  204. if (!TheCamera.m_bFading) {
  205. if (plugin::patch::GetUChar(0x58D542) != 0xE8) {
  206. plugin::patch::SetRaw(0x58D542, "\xE8\x09\xD5\xFF\xFF", 5);
  207. }
  208. }
  209. }
  210.  
  211.  
  212.  
  213.  
  214.  
  215. // if (playa->IsWithinArea(6283.442f, 1291.653f, 6731.44f, 1341.653f)) { gxtName = "ROADBR1"; }
  216. // if (playa->IsWithinArea(6417.68f, 1071.78f, 6731.68f, 1291.275f)) { gxtName = "PORT_W"; }
  217. // if (playa->IsWithinArea(6610.208f, 1100.19f, 6682.14f, 1173.99f)) { gxtName = "FISHFAC"; }
  218. // if (playa->IsWithinArea(6731.88f, 998.45f, 7167.88f, 1180.07f)) { gxtName = "PORT_S"; }
  219. // if (playa->IsWithinArea(7029.68f, 1180.35f, 7481.68f, 1636.354f)) { gxtName = "PORT_E"; }
  220. // if (playa->IsWithinArea(6731.88f, 1180.15f, 7029.38f, 1507.946f)) { gxtName = "PORT_I"; }
  221. // if (playa->IsWithinArea(6411.421f, 1341.711f, 6731.42f, 1786.31f)) { gxtName = "LC_CHIN"; }
  222. // if (playa->IsWithinArea(6411.378f, 1786.384f, 6731.38f, 1967.384f)) { gxtName = "REDLIGH"; }
  223. // if (playa->IsWithinArea(6411.421f, 1967.6f, 6731.42f, 2171.2301f)) { gxtName = "TOWERS"; }
  224. // if (playa->IsWithinArea(6731.9f, 1737.676f, 7054.9f, 2171.676f)) { gxtName = "LITTLEI"; }
  225. // if (playa->IsWithinArea(6411.979f, 2171.8222f, 7054.98f, 2572.676f)) { gxtName = "HARWOOD"; }
  226. // if (playa->IsWithinArea(7055.37f, 1636.533f, 7463.6f, 2449.628f)) { gxtName = "EASTBAY"; }
  227. // if (playa->IsWithinArea(6732.1f, 1508.194f, 7029.6f, 1737.194f)) { gxtName = "S_VIEW"; }
  228. // if (playa->IsWithinArea(6801.8f, 1554.979f, 6848.36f, 1618.979f)) { gxtName = "COPS_1"; }
  229. // if (playa->IsWithinArea(6802.09f, 1640.024f, 6848.09f, 1728.833f)) { gxtName = "HOSPI_1"; }
  230. // if (playa->IsWithinArea(6283.151f, 920.28f, 7568.66f, 2684.115f)) { primGxtName = "IND_ZON"; }
  231. // if (playa->IsWithinArea(6110.768f, 1291.702f, 6280.878f, 1341.702f)) { gxtName = "ROADBR2"; }
  232. // if (playa->IsWithinArea(7029.77f, 1636.661f, 7055.17f, 1737.461f)) { gxtName = "FILLIN1"; }
  233. // if (playa->IsWithinArea(5905.878f, 1838.383f, 6280.322f, 2188.3833f)) { gxtName = "LC_CONS"; }
  234. // if (playa->IsWithinArea(5440.236f, 1837.396f, 5782.236f, 2410.496f)) { gxtName = "LC_STAD"; }
  235. // if (playa->IsWithinArea(5865.766f, 577.58f, 6243.766f, 1190.07f)) { gxtName = "YAKUSA"; }
  236. // if (playa->IsWithinArea(5441.562f, 577.95f, 5865.562f, 1245.55f)) { gxtName = "LC_SHOP"; }
  237. // if (playa->IsWithinArea(5866.107f, 1190.81f, 6281.107f, 1837.807f)) { gxtName = "COM_EAS"; }
  238. // if (playa->IsWithinArea(5544.433f, 1246.93f, 5865.271f, 1836.932f)) { gxtName = "LC_PARK"; }
  239. // if (playa->IsWithinArea(5783.268f, 1838.378f, 5905.268f, 2188.3782f)) { gxtName = "LC_UNIV"; }
  240. // if (playa->IsWithinArea(5783.236f, 2188.8895f, 6281.236f, 2518.889f)) { gxtName = "HOSPI_2"; }
  241. // if (playa->IsWithinArea(4033.03f, 905.29f, 5197.371f, 1981.557f)) { gxtName = "LC_AIRP"; }
  242. // if (playa->IsWithinArea(4854.165f, 1981.926f, 5294.959f, 2342.7263f)) { gxtName = "PROJECT"; }
  243. // if (playa->IsWithinArea(4798.771f, 2343.3882f, 5399.086f, 2900.058f)) { gxtName = "SWANKS"; }
  244. // if (playa->IsWithinArea(4258.43f, 1982.034f, 4853.694f, 2342.7559f)) { gxtName = "SUB_IND"; }
  245. // if (playa->IsWithinArea(4271.5f, 2343.4441f, 4798.48f, 2954.544f)) { gxtName = "BIG_DAM"; }
  246. // if (playa->IsWithinArea(6703.53f, 1342.726f, 6731.16f, 1612.311f)) { gxtName = "MAIN_D1"; }
  247. // if (playa->IsWithinArea(6632.079f, 1612.634f, 6730.83f, 1640.443f)) { gxtName = "MAIN_D2"; }
  248. // if (playa->IsWithinArea(6631.795f, 1641.01f, 6661.306f, 1779.77f)) { gxtName = "MAIN_D3"; }
  249. // if (playa->IsWithinArea(6661.59f, 1738.908f, 6731.11f, 1779.77f)) { gxtName = "MAIN_D4"; }
  250. // if (playa->IsWithinArea(6701.88f, 1786.44f, 6730.83f, 1967.14f)) { gxtName = "MAIN_D5"; }
  251. // if (playa->IsWithinArea(6702.15f, 1968.04f, 6730.85f, 2070.776f)) { gxtName = "MAIN_D6"; }
  252. // if (playa->IsWithinArea(4021.36f, 898.62f, 5399.105f, 3456.35f)) { primGxtName = "SUB_ZON"; }
  253. // if (playa->IsWithinArea(5400.521f, 530.03f, 6281.52f, 2617.265f)) { primGxtName = "COM_ZON"; }
  254. // if (playa->IsWithinArea(5400.556f, 2411.113f, 5544.713f, 2617.043f)) { primGxtName = "SUB_ZO2"; }
  255. // if (playa->IsWithinArea(5400.566f, 2329.0922f, 5439.666f, 2411.064f)) { primGxtName = "SUB_ZO3"; }
  256. // if (playa->IsWithinArea(4427.41f, 2556.841f, 4755.555f, 2754.646f)) { gxtName = "WEE_DAM"; }
  257. // VC Navigation zones
  258. // if (playa->IsWithinArea(4386.97f, -2586.872f, 5786.27f, -1322.68f)) { gxtName = "VC_DWTW"; }
  259. // if (playa->IsWithinArea(6163.656f, -3351.153f, 7246.03f, -1601.15f)) { gxtName = "VC_BCH3"; }
  260. // if (playa->IsWithinArea(5896.03f, -3930.526f, 7246.03f, -3351.153f)) { gxtName = "VC_BCH2"; }
  261. // if (playa->IsWithinArea(5746.794f, -4805.37f, 7254.9f, -3930.526f)) { gxtName = "VC_BCH1"; }
  262. // if (playa->IsWithinArea(4111.79f, -4779.61f, 4791.79f, -2769.61f)) { gxtName = "VC_AIRP"; }
  263. // if (playa->IsWithinArea(5251.794f, -3818.266f, 5895.495f, -3241.467f)) { gxtName = "VC_STIS"; }
  264. // if (playa->IsWithinArea(5786.27f, -2202.395f, 6163.656f, -1756.53f)) { gxtName = "VC_PRIS"; }
  265. // if (playa->IsWithinArea(5786.27f, -3241.429f, 6163.656f, -2202.395f)) { gxtName = "VC_GOLF"; }
  266. // if (playa->IsWithinArea(4603.24f, -3042.9113f, 4791.79f, -2769.61f)) { gxtName = "VC_JNKY"; }
  267. // if (playa->IsWithinArea(4791.79f, -4779.61f, 5746.794f, -3898.738f)) { gxtName = "VC_DOCK"; }
  268. // if (playa->IsWithinArea(4791.79f, -3898.738f, 5251.794f, -3241.467f)) { gxtName = "VC_HAVA"; }
  269. // if (playa->IsWithinArea(4791.79f, -3241.467f, 5421.711f, -2587.34f)) { gxtName = "VC_HAIT"; }
  270.  
  271. // if (playa->IsWithinArea(5958.777f, -4696.02f, 6158.777f, -4476.02f)) { gxtName = "RICH2"; }
  272. // if (playa->IsWithinArea(5958.7767f, -4476.02f, 6178.777f, -4334.67f)) { gxtName = "CLUB2"; }
  273. // if (playa->IsWithinArea(5958.7767f, -4334.67f, 6208.777f, -4234.67f)) { gxtName = "SHOP3"; }
  274. // if (playa->IsWithinArea(6051.8355f, -4034.67f, 6271.836f, -3909.668f)) { gxtName = "STREET3"; }
  275. // if (playa->IsWithinArea(5926.8355f, -4034.67f, 6051.8355f, -3909.668f)) { gxtName = "SHOP2"; }
  276. // if (playa->IsWithinArea(6051.835f, -3909.668f, 6301.836f, -3784.768f)) { gxtName = "STREET3"; }
  277. // if (playa->IsWithinArea(6183.371f, -3784.019f, 6363.371f, -3674.019f)) { gxtName = "STREET2"; }
  278. // if (playa->IsWithinArea(6239.788f, -3565.171f, 6464.788f, -3458.371f)) { gxtName = "STREET2"; }
  279. // if (playa->IsWithinArea(6278.031f, -3458.371f, 6428.031f, -3383.371f)) { gxtName = "STREET2"; }
  280. // if (playa->IsWithinArea(6332.729f, -4676.02f, 6632.729f, -4476.02f)) { gxtName = "VC_BCH1"; }
  281. // if (playa->IsWithinArea(6261.438f, -4475.67f, 6681.438f, -4334.67f)) { gxtName = "VC_BCH1"; }
  282. // if (playa->IsWithinArea(6289.734f, -4334.67f, 6701.734f, -4234.67f)) { gxtName = "VC_BCH1"; }
  283. // if (playa->IsWithinArea(6319.082f, -4234.67f, 6739.082f, -4034.67f)) { gxtName = "VC_BCH1"; }
  284. // if (playa->IsWithinArea(6351.836f, -3909.668f, 6831.836f, -3784.768f)) { gxtName = "VC_BCH2"; }
  285. // if (playa->IsWithinArea(6413.371f, -3784.019f, 6863.371f, -3674.019f)) { gxtName = "VC_BCH2"; }
  286. // if (playa->IsWithinArea(6458.527f, -3674.019f, 6908.527f, -3567.019f)) { gxtName = "VC_BCH2"; }
  287. // if (playa->IsWithinArea(6584.788f, -3565.371f, 6984.788f, -3458.371f)) { gxtName = "VC_BCH2"; }
  288. // if (playa->IsWithinArea(6528.031f, -3458.371f, 6978.031f, -3383.371f)) { gxtName = "VC_BCH2"; }
  289. // if (playa->IsWithinArea(6278.236f, -3382.62f, 6407.736f, -3203.582f)) { gxtName = "VC_CONS"; }
  290. // if (playa->IsWithinArea(6407.799f, -3382.756f, 6627.499f, -3032.7556f)) { gxtName = "CLUB1"; }
  291. // if (playa->IsWithinArea(6627.505f, -3381.941f, 6978.287f, -2981.9406f)) { gxtName = "VC_BCH3"; }
  292. // if (playa->IsWithinArea(6557.587f, -2981.9406f, 6978.287f, -2952.9406f)) { gxtName = "VC_BCH3"; }
  293. // if (playa->IsWithinArea(6070.626f, -2750.503f, 6220.626f, -2580.503f)) { gxtName = "GOLF2"; }
  294. // if (playa->IsWithinArea(6041.3288f, -2580.205f, 6254.229f, -2374.805f)) { gxtName = "GOLF1"; }
  295. // if (playa->IsWithinArea(5960.626f, -2660.503f, 6070.626f, -2580.503f)) { gxtName = "GOLF1"; }
  296. // if (playa->IsWithinArea(6070.626f, -2774.203f, 6120.825f, -2750.503f)) { gxtName = "GOLF2"; }
  297. // if (playa->IsWithinArea(5922.8821f, -2774.435f, 6010.626f, -2727.224f)) { gxtName = "GOLF1"; }
  298. // if (playa->IsWithinArea(6221.791f, -2892.847f, 6235.434f, -2815.199f)) { gxtName = "GOLF1"; }
  299. // if (playa->IsWithinArea(6176.872f, -3245.832f, 6278.236f, -3203.582f)) { gxtName = "STREET1"; }
  300. // if (playa->IsWithinArea(6176.872f, -3203.582f, 6407.799f, -3032.7556f)) { gxtName = "STREET1"; }
  301. // if (playa->IsWithinArea(6220.626f, -2741.403f, 6482.228f, -2580.503f)) { gxtName = "STREET1"; }
  302. // if (playa->IsWithinArea(6254.229f, -2580.503f, 6482.228f, -2444.377f)) { gxtName = "STREET1"; }
  303. // if (playa->IsWithinArea(6482.228f, -2688.463f, 6978.431f, -2444.377f)) { gxtName = "TOUR1"; }
  304. // if (playa->IsWithinArea(6339.576f, -2444.332f, 6617.16f, -1971.88f)) { gxtName = "RICH1"; }
  305. // if (playa->IsWithinArea(6339.114f, -1972.06f, 6573.412f, -1656.46f)) { gxtName = "SHOP1"; }
  306. // if (playa->IsWithinArea(5863.597f, -1656.46f, 6978.597f, -1266.46f)) { gxtName = "TOUR1"; }
  307. // if (playa->IsWithinArea(4985.59f, -1926.26f, 5345.588f, -1266.26f)) { gxtName = "SHOP4"; }
  308. // if (playa->IsWithinArea(5345.588f, -1576.26f, 5780.847f, -1266.26f)) { gxtName = "TESTT"; }
  309. // if (playa->IsWithinArea(5166.278f, -2513.284f, 5636.942f, -2158.284f)) { gxtName = "BIKAREA"; }
  310. // if (playa->IsWithinArea(5345.588f, -2158.109f, 5780.816f, -1576.26f)) { gxtName = "BUSINES"; }
  311. // if (playa->IsWithinArea(4644.79f, -2710.199f, 5006.512f, -2513.284f)) { gxtName = "GHETTO1"; }
  312. // if (playa->IsWithinArea(5006.512f, -3159.82f, 5298.185f, -2943.2835f)) { gxtName = "GHETTO1"; }
  313. // if (playa->IsWithinArea(4644.79f, -3041.9074f, 4703.42f, -2710.199f)) { gxtName = "GHETTO1"; }
  314. // if (playa->IsWithinArea(5780.847f, -2158.284f, 5863.597f, -1266.46f)) { gxtName = "TOUR1"; }
  315. // if (playa->IsWithinArea(5636.942f, -2374.805f, 5863.597f, -2158.284f)) { gxtName = "TOUR1"; }
  316. // if (playa->IsWithinArea(6254.229f, -2444.077f, 6339.576f, -2375.115f)) { gxtName = "TOUR1"; }
  317. // if (playa->IsWithinArea(5636.942f, -2513.147f, 5736.411f, -2374.805f)) { gxtName = "TOUR1"; }
  318. // if (playa->IsWithinArea(5736.411f, -2941.884f, 5921.423f, -2600.084f)) { gxtName = "TOUR1"; }
  319. // if (playa->IsWithinArea(4745.59f, -2158.197f, 5345.378f, -1926.26f)) { gxtName = "SHOP5"; }
  320. // if (playa->IsWithinArea(4745.64f, -2513.284f, 5166.228f, -2158.197f)) { gxtName = "SHOP5"; }
  321. // if (playa->IsWithinArea(4723.82f, -3470.199f, 5198.815f, -3315.199f)) { gxtName = "GHETTO2"; }
  322. // if (playa->IsWithinArea(4051.95f, -3041.9074f, 4644.79f, -2765.338f)) { gxtName = "VC_AIRP"; }
  323. // if (playa->IsWithinArea(4051.95f, -3315.199f, 4201.95f, -3041.9074f)) { gxtName = "VC_AIRP"; }
  324. // if (playa->IsWithinArea(4051.95f, -3945.199f, 4383.81f, -3315.199f)) { gxtName = "VC_AIRP"; }
  325. // if (playa->IsWithinArea(4723.81f, -3865.199f, 4766.81f, -3470.199f)) { gxtName = "TERMINL"; }
  326. // if (playa->IsWithinArea(4051.95f, -4802.63f, 4766.47f, -3945.2f)) { gxtName = "BAGGAG"; }
  327. // if (playa->IsWithinArea(4766.81f, -4173.01f, 5276.812f, -4089.55f)) { gxtName = "STREET6"; }
  328. // if (playa->IsWithinArea(5446.472f, -4802.63f, 6158.777f, -4696.02f)) { gxtName = "TOUR2"; }
  329. // if (playa->IsWithinArea(5446.472f, -4696.02f, 5648.777f, -4273.65f)) { gxtName = "TOUR2"; }
  330. // if (playa->IsWithinArea(5446.472f, -4273.65f, 5696.472f, -4234.67f)) { gxtName = "TOUR2"; }
  331. // if (playa->IsWithinArea(5446.472f, -4234.67f, 5696.472f, -4173.01f)) { gxtName = "TOUR2"; }
  332. // if (playa->IsWithinArea(5245.923f, -4089.55f, 5751.923f, -4034.67f)) { gxtName = "TOUR2"; }
  333. // if (playa->IsWithinArea(5245.923f, -4034.67f, 5751.923f, -3909.668f)) { gxtName = "TOUR2"; }
  334. // if (playa->IsWithinArea(5246.812f, -3909.468f, 5796.812f, -3784.019f)) { gxtName = "TOUR2"; }
  335. // if (playa->IsWithinArea(5808.722f, -3784.019f, 5946.3212f, -3437.103f)) { gxtName = "TOUR2"; }
  336. // if (playa->IsWithinArea(5483.722f, -3784.019f, 5808.722f, -3634.891f)) { gxtName = "TOUR2"; }
  337. // if (playa->IsWithinArea(5246.812f, -3784.019f, 5483.722f, -3570.199f)) { gxtName = "RICH3"; }
  338. // if (playa->IsWithinArea(6158.777f, -4802.63f, 6728.117f, -4676.02f)) { gxtName = "VC_BCH1"; }
  339. // if (playa->IsWithinArea(6017.343f, -3437.028f, 6278.236f, -3245.832f)) { gxtName = "VC_CONS"; }
  340. // if (playa->IsWithinArea(5483.722f, -3437.103f, 5921.423f, -2942.0209f)) { gxtName = "RICH3"; }
  341. // if (playa->IsWithinArea(5298.185f, -3437.103f, 5483.722f, -2943.2835f)) { gxtName = "RICH3"; }
  342. // if (playa->IsWithinArea(5198.815f, -3437.103f, 5298.185f, -3315.199f)) { gxtName = "TOUR2"; }
  343. // if (playa->IsWithinArea(5198.815f, -3470.199f, 5483.722f, -3437.103f)) { gxtName = "RICH3"; }
  344. // if (playa->IsWithinArea(5216.812f, -3570.199f, 5483.722f, -3470.199f)) { gxtName = "RICH3"; }
  345. // if (playa->IsWithinArea(6183.371f, -3674.019f, 6408.527f, -3567.019f)) { gxtName = "STREET2"; }
  346. // if (playa->IsWithinArea(6183.371f, -3565.759f, 6239.788f, -3437.103f)) { gxtName = "STREET2"; }
  347. // if (playa->IsWithinArea(6239.788f, -3458.371f, 6278.031f, -3437.103f)) { gxtName = "STREET2"; }
  348. // if (playa->IsWithinArea(6557.587f, -3032.7556f, 6627.499f, -2981.9406f)) { gxtName = "VC_BCH3"; }
  349. // if (playa->IsWithinArea(6172.098f, -2952.9406f, 6222.02f, -2774.435f)) { gxtName = "GOLF1"; }
  350. // if (playa->IsWithinArea(5863.597f, -2374.805f, 6131.372f, -2174.892f)) { gxtName = "TOUR1"; }
  351. // if (playa->IsWithinArea(5386.512f, -2941.884f, 5736.411f, -2513.147f)) { gxtName = "TOUR1"; }
  352. // if (playa->IsWithinArea(6235.434f, -2892.847f, 6482.228f, -2815.199f)) { gxtName = "STREET1"; }
  353. // if (playa->IsWithinArea(6130.91f, -2375.295f, 6339.114f, -1656.46f)) { gxtName = "SHOP1"; }
  354. // if (playa->IsWithinArea(6573.874f, -1972.11f, 6978.597f, -1656.28f)) { gxtName = "TOUR1"; }
  355. // if (playa->IsWithinArea(5736.411f, -2600.084f, 5921.423f, -2374.374f)) { gxtName = "GOLF1"; }
  356. // if (playa->IsWithinArea(5921.4229f, -2660.503f, 5960.626f, -2580.221f)) { gxtName = "TOUR1"; }
  357. // if (playa->IsWithinArea(5921.4229f, -2727.224f, 6070.626f, -2660.503f)) { gxtName = "GOLF1"; }
  358. // if (playa->IsWithinArea(5922.8821f, -2952.9406f, 6172.098f, -2774.435f)) { gxtName = "GOLF1"; }
  359. // if (playa->IsWithinArea(6176.872f, -3032.7556f, 6222.02f, -2952.9406f)) { gxtName = "STREET1"; }
  360. // if (playa->IsWithinArea(6222.02f, -3032.7556f, 6457.587f, -2952.9406f)) { gxtName = "STREET1"; }
  361. // if (playa->IsWithinArea(6222.02f, -2952.9406f, 6482.228f, -2892.847f)) { gxtName = "STREET1"; }
  362. // if (playa->IsWithinArea(6482.228f, -2952.9406f, 6978.431f, -2688.463f)) { gxtName = "VC_BCH3"; }
  363. // if (playa->IsWithinArea(6457.587f, -3032.7556f, 6557.587f, -2952.9406f)) { gxtName = "CLUB1"; }
  364. // if (playa->IsWithinArea(6617.16f, -2444.377f, 6978.431f, -1971.88f)) { gxtName = "TOUR1"; }
  365. // if (playa->IsWithinArea(6220.626f, -2815.199f, 6482.228f, -2741.403f)) { gxtName = "STREET1"; }
  366. // if (playa->IsWithinArea(6120.825f, -2774.435f, 6222.02f, -2750.503f)) { gxtName = "GOLF2"; }
  367. // if (playa->IsWithinArea(6010.626f, -2774.203f, 6070.626f, -2727.224f)) { gxtName = "GOLF2"; }
  368. // if (playa->IsWithinArea(5921.423f, -3437.103f, 6017.343f, -3245.832f)) { gxtName = "RICH3"; }
  369. // if (playa->IsWithinArea(5921.423f, -3245.832f, 6176.872f, -2952.9406f)) { gxtName = "GOLF1"; }
  370. // if (playa->IsWithinArea(6271.836f, -4034.67f, 6351.836f, -3909.668f)) { gxtName = "OCEAND1"; }
  371. // if (playa->IsWithinArea(6238.834f, -4234.67f, 6319.082f, -4034.67f)) { gxtName = "OCEAND1"; }
  372. // if (playa->IsWithinArea(6208.777f, -4334.67f, 6289.734f, -4234.67f)) { gxtName = "OCEAND1"; }
  373. // if (playa->IsWithinArea(6178.777f, -4476.02f, 6261.438f, -4334.67f)) { gxtName = "OCEAND1"; }
  374. // if (playa->IsWithinArea(6158.777f, -4676.37f, 6332.729f, -4476.02f)) { gxtName = "OCEAND1"; }
  375. // if (playa->IsWithinArea(6301.836f, -3910.218f, 6351.836f, -3784.768f)) { gxtName = "OCEAND2"; }
  376. // if (playa->IsWithinArea(6363.371f, -3784.019f, 6413.371f, -3674.019f)) { gxtName = "OCEAND2"; }
  377. // if (playa->IsWithinArea(6408.527f, -3674.019f, 6458.527f, -3567.019f)) { gxtName = "OCEAND2"; }
  378. // if (playa->IsWithinArea(6464.788f, -3564.583f, 6584.788f, -3458.371f)) { gxtName = "OCEAND2"; }
  379. // if (playa->IsWithinArea(6428.031f, -3458.371f, 6528.031f, -3383.371f)) { gxtName = "OCEAND2"; }
  380. // if (playa->IsWithinArea(5648.777f, -4696.02f, 5958.777f, -4273.65f)) { gxtName = "STREET4"; }
  381. // if (playa->IsWithinArea(5696.472f, -4273.65f, 5958.7767f, -4234.67f)) { gxtName = "STREET3"; }
  382. // if (playa->IsWithinArea(5276.812f, -4173.01f, 5696.472f, -4089.55f)) { gxtName = "TOUR2"; }
  383. // if (playa->IsWithinArea(5751.923f, -4089.55f, 5926.8355f, -3909.668f)) { gxtName = "STREET3"; }
  384. // if (playa->IsWithinArea(5696.472f, -4234.67f, 5926.8355f, -4089.55f)) { gxtName = "STREET3"; }
  385. // if (playa->IsWithinArea(5926.8355f, -4234.67f, 6238.834f, -4034.67f)) { gxtName = "STREET3"; }
  386. // if (playa->IsWithinArea(5796.812f, -3909.468f, 6051.8355f, -3784.218f)) { gxtName = "STREET3"; }
  387. // if (playa->IsWithinArea(5483.722f, -3502.947f, 5808.722f, -3437.103f)) { gxtName = "RICH3"; }
  388. // if (playa->IsWithinArea(5483.722f, -3634.891f, 5808.722f, -3502.947f)) { gxtName = "GANG1"; }
  389. // if (playa->IsWithinArea(5921.423f, -2432.227f, 6041.3289f, -2374.374f)) { gxtName = "TOUR1"; }
  390. // if (playa->IsWithinArea(5921.423f, -2580.205f, 6041.3288f, -2432.227f)) { gxtName = "GOLF1"; }
  391. // if (playa->IsWithinArea(6351.836f, -4034.67f, 6751.836f, -3909.668f)) { gxtName = "VC_BCH1"; }
  392. // if (playa->IsWithinArea(4383.81f, -3945.199f, 4723.81f, -3695.199f)) { gxtName = "TERMINL"; }
  393. // if (playa->IsWithinArea(4383.81f, -3695.199f, 4723.82f, -3315.199f)) { gxtName = "VC_AIRP"; }
  394. // if (playa->IsWithinArea(4723.81f, -3945.199f, 4766.81f, -3865.199f)) { gxtName = "VC_AIRP"; }
  395. // if (playa->IsWithinArea(5946.3212f, -3784.019f, 6183.371f, -3566.735f)) { gxtName = "STREET2"; }
  396. // if (playa->IsWithinArea(5946.3212f, -3566.735f, 6183.371f, -3437.103f)) { gxtName = "STREET2"; }
  397. // if (playa->IsWithinArea(4385.59f, -1926.26f, 4985.59f, -1266.26f)) { gxtName = "STREET2"; }
  398. // if (playa->IsWithinArea(5089.086f, -3596.38f, 5149.111f, -3569.893f)) { gxtName = "ICCREAM"; }
  399. // if (playa->IsWithinArea(5089.086f, -3569.893f, 5149.11f, -3542.906f)) { gxtName = "ICCREAM"; }
  400. // if (playa->IsWithinArea(4862.76f, -3315.199f, 4958.24f, -3160.199f)) { gxtName = "PRINTWK"; }
  401. // if (playa->IsWithinArea(4984.64f, -2821.087f, 5005.965f, -2778.245f)) { gxtName = "KAUFCAB"; }
  402. // if (playa->IsWithinArea(5006.617f, -2823.525f, 5020.147f, -2780.683f)) { gxtName = "KAUFCAB"; }
  403. // if (playa->IsWithinArea(5354.361f, -4495.58f, 5418.261f, -4452.69f)) { gxtName = "BOATYRD"; }
  404. // if (playa->IsWithinArea(5354.361f, -4538.46f, 5445.842f, -4495.58f)) { gxtName = "BOATYRD"; }
  405. // if (playa->IsWithinArea(5304.361f, -4512.27f, 5354.361f, -4448.29f)) { gxtName = "BOATYRD"; }
  406. // if (playa->IsWithinArea(4939.46f, -3910.663f, 5040.298f, -3807.183f)) { gxtName = "CARYRD"; }
  407. // if (playa->IsWithinArea(5863.597f, -2147.958f, 6015.6971f, -1954.25f)) { gxtName = "PORNSTU"; }
  408. // if (playa->IsWithinArea(4766.47f, -4802.63f, 5445.842f, -4538.46f)) { gxtName = "VC_DOCK"; }
  409. // if (playa->IsWithinArea(4766.47f, -4538.46f, 5354.361f, -4512.27f)) { gxtName = "VC_DOCK"; }
  410. // if (playa->IsWithinArea(4766.81f, -4512.27f, 5304.361f, -4173.01f)) { gxtName = "VC_DOCK"; }
  411. // if (playa->IsWithinArea(5418.261f, -4495.58f, 5446.472f, -4173.01f)) { gxtName = "VC_DOCK"; }
  412. // if (playa->IsWithinArea(5354.361f, -4452.69f, 5418.261f, -4173.01f)) { gxtName = "VC_DOCK"; }
  413. // if (playa->IsWithinArea(5304.361f, -4448.29f, 5354.361f, -4173.01f)) { gxtName = "VC_DOCK"; }
  414. // if (playa->IsWithinArea(4766.92f, -4089.55f, 5244.923f, -3910.663f)) { gxtName = "STREET6"; }
  415. // if (playa->IsWithinArea(4766.81f, -3807.183f, 5246.812f, -3670.199f)) { gxtName = "STREET6"; }
  416. // if (playa->IsWithinArea(4766.92f, -3910.663f, 4939.06f, -3807.183f)) { gxtName = "STREET6"; }
  417. // if (playa->IsWithinArea(5040.298f, -3909.668f, 5245.923f, -3807.183f)) { gxtName = "STREET6"; }
  418. // if (playa->IsWithinArea(4766.81f, -3670.199f, 5246.812f, -3596.38f)) { gxtName = "GHETTO2"; }
  419. // if (playa->IsWithinArea(4766.81f, -3596.38f, 5089.086f, -3470.199f)) { gxtName = "GHETTO2"; }
  420. // if (playa->IsWithinArea(5149.111f, -3596.38f, 5246.812f, -3570.199f)) { gxtName = "GHETTO2"; }
  421. // if (playa->IsWithinArea(5149.111f, -3570.199f, 5216.812f, -3470.199f)) { gxtName = "GHETTO2"; }
  422. // if (playa->IsWithinArea(5089.086f, -3542.906f, 5149.111f, -3470.199f)) { gxtName = "GHETTO2"; }
  423. // if (playa->IsWithinArea(4703.42f, -2778.245f, 5005.965f, -2710.199f)) { gxtName = "GANG2"; }
  424. // if (playa->IsWithinArea(4703.42f, -2821.087f, 4984.64f, -2778.245f)) { gxtName = "GANG2"; }
  425. // if (playa->IsWithinArea(4703.42f, -3159.82f, 5006.512f, -2821.087f)) { gxtName = "GANG2"; }
  426. // if (playa->IsWithinArea(5006.617f, -2941.884f, 5386.512f, -2823.525f)) { gxtName = "GHETTO1"; }
  427. // if (playa->IsWithinArea(5006.617f, -2780.683f, 5386.512f, -2513.147f)) { gxtName = "GHETTO1"; }
  428. // if (playa->IsWithinArea(5020.147f, -2823.525f, 5386.512f, -2780.683f)) { gxtName = "GHETTO1"; }
  429. // if (playa->IsWithinArea(5863.597f, -1954.25f, 6130.91f, -1656.46f)) { gxtName = "STREET5"; }
  430. // if (playa->IsWithinArea(6015.6971f, -2147.958f, 6130.91f, -1954.25f)) { gxtName = "STREET5"; }
  431. // if (playa->IsWithinArea(5863.597f, -2174.892f, 6131.372f, -2147.958f)) { gxtName = "STREET5"; }
  432. // if (playa->IsWithinArea(4703.42f, -3315.199f, 4862.76f, -3160.199f)) { gxtName = "GHETTO1"; }
  433. // if (playa->IsWithinArea(4958.24f, -3315.199f, 5298.185f, -3160.199f)) { gxtName = "GHETTO1"; }
  434. // if (playa->IsWithinArea(4201.95f, -3315.199f, 4444.15f, -3041.9074f)) { gxtName = "ARMYBAS"; }
  435. // if (playa->IsWithinArea(4444.15f, -3315.199f, 4703.42f, -3041.9074f)) { gxtName = "VC_AIRP"; }
  436.  
  437. // eZoneType zType = static_cast<eZoneType>(2);
  438. // int v3 = CTheZones::FindZoneByLabel(gxtName, zType);
  439.  
  440. // WORD zoneExtraInfo = CTheZones::ZoneInfoArray[v3].m_nZoneExtraIndexInfo;
  441. // CZoneExtraInfo *zxzType = reinterpret_cast<CZoneExtraInfo*>(zoneExtraInfo);
  442. // zxzType->m_nGangDensity[0] = 40;
  443.  
  444.  
  445.  
  446. // if (TheCamera.m_bFading) {
  447. // areaDisplayed = false;
  448. // areaDisplayedTimer = CTimer::m_snTimeInMilliseconds;
  449. // }
  450. //
  451. // if (!areaDisplayed) {
  452. //
  453. //
  454. //
  455. // areaDisplayedTimer = CTimer::m_snTimeInMilliseconds;
  456. // text = TheText.Get(gxtName);
  457. // mainText = TheText.Get(primGxtName);
  458. // plugin::patch::SetPointer(areaNemaPsdk, text, false);
  459. // plugin::patch::SetPointer(mainAreaNemaPsdk, mainText, false);
  460. //
  461. // finalText = mainText;
  462. // finalAreaName = mainAreaNemaPsdk;
  463. //
  464. // finalText = text;
  465. // finalAreaName = areaNemaPsdk;
  466. //
  467. // if (!CHud::m_pZoneName) {
  468. // CHud::SetZoneName(finalText, true);
  469. // } else {
  470. //
  471. //
  472. // injector::WriteMemory<DWORD>(0x58AAC7 + 2, finalAreaName);
  473. // injector::WriteMemory<DWORD>(0x58AC5C + 2, finalAreaName);
  474. // injector::WriteMemory<DWORD>(0x58AE13 + 2, finalAreaName);
  475. //
  476. // injector::WriteMemory<DWORD>(0x571E47 + 1, finalAreaName);
  477. // injector::WriteMemory<DWORD>(0x588924 + 2, finalAreaName);
  478. // injector::WriteMemory<DWORD>(0x58AA69 + 2, finalAreaName);
  479. // injector::WriteMemory<DWORD>(0x58AAED + 2, finalAreaName);
  480. //
  481. // injector::WriteMemory<DWORD>(0x58891E + 2, finalAreaName);
  482. // injector::WriteMemory<DWORD>(0x588A8B + 2, finalAreaName);
  483. // injector::WriteMemory<DWORD>(0x588BCE + 1, finalAreaName);
  484. // injector::WriteMemory<DWORD>(0x58AA51 + 2, finalAreaName);
  485. //
  486. // CFileLoader::LoadZone("LC_PARK");
  487. // FrontEndMenuManager.PrintMap();
  488.  
  489. //
  490. // plugin::patch::SetPointer(0xBAB1D0, text, false);
  491. // CHud::m_ZoneToPrint = finalText;
  492. //
  493. // CHud::m_pLastZoneName = finalText;
  494. // CHud::m_pZoneName = finalText;
  495. //
  496. // FrontEndMenuManager
  497. //
  498. // CHud::m_ZoneNameTimer = 0;
  499. // CHud::m_ZoneFadeTimer = 0;
  500. //
  501. // if (TheCamera.GetFading() || TheCamera.GetScreenFadeStatus() == 2) {
  502. // CHud::m_ZoneState = 1;
  503. // } else {
  504. // CHud::m_ZoneState = 2;
  505. // }
  506. // }
  507. //
  508. // areaDisplayed = true;
  509. // loopGxt = gxtName;
  510. // }
  511. //
  512. // if (loopGxt != gxtName) {
  513. // if (areaDisplayed && CTimer::m_snTimeInMilliseconds - areaDisplayedTimer >= 3000) {
  514. // areaDisplayed = false;
  515. // }
  516. // }
  517.  
  518. } else {
  519. // if (injector::ReadMemory<DWORD>(0x58AAC7 + 2) != 0xBAB1D0) {
  520. // injector::WriteMemory<DWORD>(0x58AAC7 + 2, 0xBAB1D0);
  521. // injector::WriteMemory<DWORD>(0x58AC5C + 2, 0xBAB1D0);
  522. // injector::WriteMemory<DWORD>(0x58AE13 + 2, 0xBAB1D0);
  523. //
  524. // injector::WriteMemory<DWORD>(0x571E47 + 1, 0xBAB1D4);
  525. // injector::WriteMemory<DWORD>(0x588924 + 2, 0xBAB1D4);
  526. // injector::WriteMemory<DWORD>(0x58AA69 + 2, 0xBAB1D4);
  527. // injector::WriteMemory<DWORD>(0x58AAED + 2, 0xBAB1D4);
  528. //
  529. // injector::WriteMemory<DWORD>(0x58891E + 2, 0xBAB1D8);
  530. // injector::WriteMemory<DWORD>(0x588A8B + 2, 0xBAB1D8);
  531. // injector::WriteMemory<DWORD>(0x588BCE + 1, 0xBAB1D8);
  532. // injector::WriteMemory<DWORD>(0x58AA51 + 2, 0xBAB1D8);
  533. //
  534. // fontStyle = 2;
  535. // }
  536. }
  537.  
  538. } else {
  539. zoneCreated = false;
  540. }
  541. };
  542. }
  543.  
  544. static float point_lc_x(float origPoint_x) {
  545. origPoint_x += mixed_lc_x;
  546. return origPoint_x;
  547. }
  548.  
  549. static float point_lc_y(float origPoint_y) {
  550. origPoint_y += mixed_lc_y;
  551. return origPoint_y;
  552. }
  553.  
  554. static float point_lc_z(float origPoint_z) {
  555. origPoint_z += mixed_lc_y;
  556. return origPoint_z;
  557. }
  558.  
  559.  
  560. static float point_vc_x(float origPoint2_x) {
  561. origPoint2_x += mixed_vc_x;
  562. return origPoint2_x;
  563. }
  564.  
  565. static float point_vc_y(float origPoint2_y) {
  566. origPoint2_y += mixed_vc_y;
  567. return origPoint2_y;
  568. }
  569.  
  570. static float point_vc_z(float origPoint2_z) {
  571. origPoint2_z += mixed_vc_y;
  572. return origPoint2_z;
  573. }
  574.  
  575. static int GetTheZone(CPlayerPed *playaPed) {
  576. if (playaPed->IsWithinArea(4013.302f, -5134.968f, 7034.359f, -1355.872f)) {
  577. return 5;
  578. } else {
  579. if (playaPed->IsWithinArea(3966.666f, 439.636f, 7369.405f, 3511.027f)) {
  580. return 4;
  581. } else {
  582. return -1;
  583. }
  584. }
  585. }
  586.  
  587. static void createNewZones() {
  588. eZoneType znType = static_cast<eZoneType>(ZONE_TYPE_NAVI);
  589. // liberty City
  590. CTheZones::CreateZone("WHOLELC", znType, 3922.975f, 415.034f, -100.0f, 7518.566f, 3604.700f, 2000.0f, LEVEL_NAME_COUNTRY_SIDE, "WHOLELC");
  591. CTheZones::CreateZone("IND_ZON", znType, 6283.151f, 920.28f, -100.0f, 7568.66f, 2684.115f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "IND_ZON");
  592. CTheZones::CreateZone("HARWOOD", znType, 6411.979f, 2171.8222f, -100.0f, 7054.98f, 2572.676f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HARWOOD");
  593. CTheZones::CreateZone("TOWERS", znType, 6411.421f, 1967.6f, -100.0f, 6731.42f, 2171.2301f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "TOWERS");
  594. CTheZones::CreateZone("REDLIGH", znType, 6411.378f, 1786.384f, -100.0f, 6731.38f, 1967.384f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "REDLIGH");
  595. CTheZones::CreateZone("LITTLEI", znType, 6731.9f, 1737.676f, -100.0f, 7054.9f, 2171.676f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LITTLEI");
  596. CTheZones::CreateZone("EASTBAY", znType, 7055.37f, 1636.533f, -100.0f, 7463.6f, 2449.628f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "EASTBAY");
  597. CTheZones::CreateZone("LC_CHIN", znType, 6411.421f, 1341.711f, -100.0f, 6731.42f, 1786.31f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LC_CHIN");
  598. CTheZones::CreateZone("S_VIEW", znType, 6732.1f, 1508.194f, -100.0f, 7029.6f, 1737.194f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "S_VIEW");
  599. CTheZones::CreateZone("FILLIN1", znType, 7029.77f, 1636.661f, -100.0f, 7055.17f, 1737.461f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "FILLIN1");
  600. CTheZones::CreateZone("PORT_I", znType, 6731.88f, 1180.15f, -100.0f, 7029.38f, 1507.946f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "PORT_I");
  601. CTheZones::CreateZone("PORT_E", znType, 7029.68f, 1180.35f, -100.0f, 7481.68f, 1636.354f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "PORT_E");
  602. CTheZones::CreateZone("ROADBR", znType, 6283.442f, 1291.653f, -100.0f, 6731.44f, 1341.653f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "ROADBR");
  603. CTheZones::CreateZone("PORT_W", znType, 6417.68f, 1071.78f, -100.0f, 6731.68f, 1291.275f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "PORT_W");
  604. CTheZones::CreateZone("PORT_S", znType, 6731.88f, 998.45f, -100.0f, 7167.88f, 1180.07f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "PORT_S");
  605. CTheZones::CreateZone("TOWERS", znType, 6702.15f, 1968.04f, -100.0f, 6730.85f, 2070.776f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "TOWERS");
  606. CTheZones::CreateZone("REDLIGH", znType, 6701.88f, 1786.44f, -100.0f, 6730.83f, 1967.14f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "REDLIGH");
  607. CTheZones::CreateZone("LC_CHIN", znType, 6661.59f, 1738.908f, -100.0f, 6731.11f, 1779.77f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LC_CHIN");
  608. CTheZones::CreateZone("LC_CHIN", znType, 6631.795f, 1641.01f, -100.0f, 6661.306f, 1779.77f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LC_CHIN");
  609. CTheZones::CreateZone("LC_CHIN", znType, 6632.079f, 1612.634f, -100.0f, 6730.83f, 1640.443f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LC_CHIN");
  610. CTheZones::CreateZone("LC_CHIN", znType, 6703.53f, 1342.726f, -100.0f, 6731.16f, 1612.311f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LC_CHIN");
  611. CTheZones::CreateZone("S_VIEW", znType, 6802.09f, 1640.024f, -100.0f, 6848.09f, 1728.833f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "S_VIEW");
  612. CTheZones::CreateZone("S_VIEW", znType, 6801.8f, 1554.979f, -100.0f, 6848.36f, 1618.979f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "S_VIEW");
  613. CTheZones::CreateZone("FISHFAC", znType, 6610.208f, 1100.19f, -100.0f, 6682.14f, 1173.99f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "FISHFAC");
  614.  
  615. // STAUNTON ISLAND
  616. CTheZones::CreateZone("COM_ZON", znType, 5400.521f, 530.03f, -100.0f, 6281.52f, 2617.265f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "COM_ZON");
  617. CTheZones::CreateZone("SUB_ZO1", znType, 5400.556f, 2411.113f, -100.0f, 5544.713f, 2617.043f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SUB_ZO1");
  618. CTheZones::CreateZone("SUB_ZO3", znType, 5400.566f, 2329.0922f, -100.0f, 5439.666f, 2411.064f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SUB_ZO3");
  619. CTheZones::CreateZone("LC_STAD", znType, 5440.236f, 1837.396f, -100.0f, 5782.236f, 2410.496f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LC_STAD");
  620. CTheZones::CreateZone("HOSPI_2", znType, 5783.236f, 2188.8895f, -100.0f, 6281.236f, 2518.889f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HOSPI_2");
  621. CTheZones::CreateZone("LC_UNIV", znType, 5783.268f, 1838.378f, -100.0f, 5905.268f, 2188.3782f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LC_UNIV");
  622. CTheZones::CreateZone("LC_CONS", znType, 5905.878f, 1838.383f, -100.0f, 6280.322f, 2188.3833f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LC_CONS");
  623. CTheZones::CreateZone("LC_PARK", znType, 5544.433f, 1246.93f, -100.0f, 5865.271f, 1836.932f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LC_PARK");
  624. CTheZones::CreateZone("COM_EAS", znType, 5866.107f, 1190.81f, -100.0f, 6281.107f, 1837.807f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "COM_EAS");
  625. CTheZones::CreateZone("LC_SHOP", znType, 5441.562f, 577.95f, -100.0f, 5865.562f, 1245.55f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LC_SHOP");
  626. CTheZones::CreateZone("YAKUSA", znType, 5865.766f, 577.58f, -100.0f, 6243.766f, 1190.07f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "YAKUSA");
  627. CTheZones::CreateZone("ROADBR", znType, 6110.768f, 1291.702f, -100.0f, 6280.878f, 1341.702f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "ROADBR");
  628. // SHORESIDE VALE
  629. CTheZones::CreateZone("SUB_ZON", znType, 4021.36f, 898.62f, -100.0f, 5399.105f, 3456.35f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SUB_ZON");
  630. CTheZones::CreateZone("BIG_DAM", znType, 4271.5f, 2343.4441f, -100.0f, 4798.48f, 2954.544f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BIG_DAM");
  631. CTheZones::CreateZone("SWANKS", znType, 4798.771f, 2343.3882f, -100.0f, 5399.086f, 2900.058f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SWANKS");
  632. CTheZones::CreateZone("SUB_IND", znType, 4258.43f, 1982.034f, -100.0f, 4853.694f, 2342.7559f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SUB_IND");
  633. CTheZones::CreateZone("PROJECT", znType, 4854.165f, 1981.926f, -100.0f, 5294.959f, 2342.7263f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "PROJECT");
  634. CTheZones::CreateZone("LC_AIRP", znType, 4033.03f, 905.29f, -100.0f, 5197.371f, 1981.557f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LC_AIRP");
  635. CTheZones::CreateZone("BIG_DAM", znType, 4427.41f, 2556.841f, -100.0f, 4755.555f, 2754.646f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BIG_DAM");
  636. // UPSTATE
  637. CTheZones::CreateZone("SUBHIL", znType, 853.69f, 2617.26f, -100.0f, 5615.07f, 3098.66f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SUBHIL");
  638. CTheZones::CreateZone("SUBHIL", znType, 271.5f, 3098.66f, -100.0f, 5590.8f, 3164.05f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SUBHIL");
  639. CTheZones::CreateZone("SUBHIL", znType, 271.5f, 3164.05f, -100.0f, 5530.8f, 3214.05f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SUBHIL");
  640. CTheZones::CreateZone("SUBHIL", znType, 271.5f, 3214.05f, -100.0f, 5470.8f, 3254.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SUBHIL");
  641. CTheZones::CreateZone("SUBHIL", znType, 271.5f, 3254.1f, -100.0f, 5410.8f, 3314.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SUBHIL");
  642. CTheZones::CreateZone("SUBHIL", znType, 271.5f, 3314.1f, -100.0f, 5290.8f, 3414.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SUBHIL");
  643. CTheZones::CreateZone("SUBHIL", znType, 271.5f, 3414.1f, -100.0f, 5100.8f, 3614.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "SUBHIL");
  644. CTheZones::CreateZone("LONGIS", znType, 615.07f, 2943.33f, -100.0f, 7815.53f, 4326.94f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LONGIS");
  645. CTheZones::CreateZone("LONGIS", znType, 590.8f, 3098.66f, -100.0f, 5615.07f, 3414.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LONGIS");
  646. CTheZones::CreateZone("LONGIS", znType, 5530.8f, 3164.05f, -100.0f, 5590.8f, 3414.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LONGIS");
  647. CTheZones::CreateZone("LONGIS", znType, 5470.8f, 3214.05f, -100.0f, 5530.8f, 3414.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LONGIS");
  648. CTheZones::CreateZone("LONGIS", znType, 5410.8f, 3254.1f, -100.0f, 5470.8f, 3414.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LONGIS");
  649. CTheZones::CreateZone("LONGIS", znType, 5290.8f, 3314.1f, -100.0f, 5410.8f, 3414.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LONGIS");
  650. CTheZones::CreateZone("LONGIS", znType, 5100.8f, 3414.1f, -100.0f, 5615.07f, 4326.9f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "LONGIS");
  651. // Vice City
  652. CTheZones::CreateZone("WHOLEVC", znType, 3922.975f, -5184.922f, -100.0f, 7518.566f, -1087.106f, 2000.0f, LEVEL_NAME_COUNTRY_SIDE, "WHOLEVC");
  653. CTheZones::CreateZone("VICE_C", znType, 6148.228f, 2561.537f, -100.0f, 6644.431f, 2805.623f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  654. CTheZones::CreateZone("VICE_C", znType, 5529.597f, 3593.54f, -100.0f, 6644.597f, 3983.54f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  655. CTheZones::CreateZone("VICE_C", znType, 5446.847f, 3091.716f, -100.0f, 5529.597f, 3983.54f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  656. CTheZones::CreateZone("VICE_C", znType, 5302.942f, 2875.195f, -100.0f, 5529.597f, 3091.716f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  657. CTheZones::CreateZone("VICE_C", znType, 5920.229f, 2805.923f, -100.0f, 6005.576f, 2874.885f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  658. CTheZones::CreateZone("VICE_C", znType, 5302.942f, 2736.853f, -100.0f, 5402.411f, 2875.195f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  659. CTheZones::CreateZone("VICE_C", znType, 5402.411f, 2308.116f, -100.0f, 5587.423f, 2649.916f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  660. CTheZones::CreateZone("VICE_C", znType, 5529.597f, 2875.195f, -100.0f, 5797.372f, 3075.108f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  661. CTheZones::CreateZone("VICE_C", znType, 5052.512f, 2308.116f, -100.0f, 5402.411f, 2736.853f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  662. CTheZones::CreateZone("VICE_C", znType, 6239.874f, 3277.89f, -100.0f, 6644.597f, 3593.72f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  663. CTheZones::CreateZone("VICE_C", znType, 5587.4229f, 2589.497f, -100.0f, 5626.626f, 2669.779f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  664. CTheZones::CreateZone("VICE_C", znType, 6283.16f, 2805.623f, -100.0f, 6644.431f, 3278.12f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  665. CTheZones::CreateZone("VICE_C", znType, 5587.423f, 2817.773f, -100.0f, 5707.3289f, 2875.626f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  666. CTheZones::CreateZone("VICE_C", znType, 5112.472f, 447.37f, -100.0f, 5824.777f, 553.98f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  667. CTheZones::CreateZone("VICE_C", znType, 5112.472f, 553.98f, -100.0f, 5314.777f, 976.35f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  668. CTheZones::CreateZone("VICE_C", znType, 5112.472f, 976.35f, -100.0f, 5362.472f, 1015.33f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  669. CTheZones::CreateZone("VICE_C", znType, 5112.472f, 1015.33f, -100.0f, 5362.472f, 1076.99f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  670. CTheZones::CreateZone("VICE_C", znType, 4911.923f, 1160.45f, -100.0f, 5417.923f, 1215.33f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  671. CTheZones::CreateZone("VICE_C", znType, 4911.923f, 1215.33f, -100.0f, 5417.923f, 1340.332f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  672. CTheZones::CreateZone("VICE_C", znType, 4912.812f, 1340.532f, -100.0f, 5462.812f, 1465.981f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  673. CTheZones::CreateZone("VICE_C", znType, 5474.722f, 1465.981f, -100.0f, 5612.3212f, 1812.897f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  674. CTheZones::CreateZone("VICE_C", znType, 5149.722f, 1465.981f, -100.0f, 5474.722f, 1615.109f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  675. CTheZones::CreateZone("VICE_C", znType, 4864.815f, 1812.897f, -100.0f, 4964.185f, 1934.801f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  676. CTheZones::CreateZone("VICE_C", znType, 4942.812f, 1076.99f, -100.0f, 5362.472f, 1160.45f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "VICE_C");
  677. // BEACH1 - Ocean Beach
  678. CTheZones::CreateZone("BEACH1", znType, 5648.78f, -4696.02f, -100.0f, 5958.78f, -4273.65f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  679. CTheZones::CreateZone("BEACH1", znType, 5958.78f, -4696.02f, -100.0f, 6158.78f, -4476.02f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  680. CTheZones::CreateZone("BEACH1", znType, 6158.78f, -4802.6f, -100.0f, 6728.12f, -4676.02f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  681. CTheZones::CreateZone("BEACH1", znType, 6158.78f, -4676.02f, -100.0f, 6332.73f, -4476.02f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  682. CTheZones::CreateZone("BEACH1", znType, 6332.73f, -4676.02f, -100.0f, 6632.73f, -4476.02f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  683. CTheZones::CreateZone("BEACH1", znType, 5958.78f, -4476.02f, -100.0f, 6178.78f, -4334.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  684. CTheZones::CreateZone("BEACH1", znType, 6178.78f, -4476.02f, -100.0f, 6261.44f, -4334.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  685. CTheZones::CreateZone("BEACH1", znType, 6261.44f, -4476.02f, -100.0f, 6681.44f, -4334.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  686. CTheZones::CreateZone("BEACH1", znType, 5696.47f, -4273.65f, -100.0f, 5958.78f, -4234.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  687. CTheZones::CreateZone("BEACH1", znType, 5958.78f, -4334.67f, -100.0f, 6208.78f, -4234.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  688. CTheZones::CreateZone("BEACH1", znType, 6208.78f, -4334.67f, -100.0f, 6289.73f, -4234.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  689. CTheZones::CreateZone("BEACH1", znType, 6289.73f, -4334.67f, -100.0f, 6701.73f, -4234.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  690. CTheZones::CreateZone("BEACH1", znType, 5696.47f, -4234.67f, -100.0f, 5926.84f, -4089.55f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  691. CTheZones::CreateZone("BEACH1", znType, 5926.84f, -4234.67f, -100.0f, 6238.83f, -4034.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  692. CTheZones::CreateZone("BEACH1", znType, 6238.83f, -4234.67f, -100.0f, 6319.08f, -4034.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  693. CTheZones::CreateZone("BEACH1", znType, 6319.08f, -4234.67f, -100.0f, 6739.08f, -4034.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  694. CTheZones::CreateZone("BEACH1", znType, 5751.92f, -4089.55f, -100.0f, 5926.84f, -3909.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  695. CTheZones::CreateZone("BEACH1", znType, 5926.84f, -4034.67f, -100.0f, 6051.84f, -3909.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  696. CTheZones::CreateZone("BEACH1", znType, 6051.84f, -4034.67f, -100.0f, 6271.84f, -3909.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  697. CTheZones::CreateZone("BEACH1", znType, 6271.84f, -4034.67f, -100.0f, 6351.84f, -3909.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  698. CTheZones::CreateZone("BEACH1", znType, 6351.84f, -4034.67f, -100.0f, 6751.84f, -3909.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  699. CTheZones::CreateZone("BEACH1", znType, 5796.81f, -3909.67f, -100.0f, 6051.84f, -3784.02f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  700. CTheZones::CreateZone("BEACH1", znType, 6051.84f, -3909.67f, -100.0f, 6301.84f, -3784.02f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH1");
  701. // BEACH2 - Washington Beach
  702. CTheZones::CreateZone("BEACH2", znType, 6301.84f, -3909.67f, -100.0f, 6351.84f, -3784.02f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  703. CTheZones::CreateZone("BEACH2", znType, 6351.84f, -3909.67f, -100.0f, 6831.84f, -3784.02f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  704. CTheZones::CreateZone("BEACH2", znType, 5946.32f, -3784.02f, -100.0f, 6183.37f, -3566.74f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  705. CTheZones::CreateZone("BEACH2", znType, 6183.37f, -3784.02f, -100.0f, 6363.37f, -3674.02f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  706. CTheZones::CreateZone("BEACH2", znType, 6363.37f, -3784.02f, -100.0f, 6413.37f, -3674.02f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  707. CTheZones::CreateZone("BEACH2", znType, 6413.37f, -3784.02f, -100.0f, 6863.37f, -3674.02f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  708. CTheZones::CreateZone("BEACH2", znType, 6183.37f, -3674.02f, -100.0f, 6408.53f, -3566.74f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  709. CTheZones::CreateZone("BEACH2", znType, 6408.53f, -3674.02f, -100.0f, 6458.53f, -3566.74f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  710. CTheZones::CreateZone("BEACH2", znType, 6458.53f, -3674.02f, -100.0f, 6908.53f, -3566.74f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  711. CTheZones::CreateZone("BEACH2", znType, 5946.32f, -3566.74f, -100.0f, 6183.37f, -3437.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  712. CTheZones::CreateZone("BEACH2", znType, 6183.37f, -3566.74f, -100.0f, 6219.79f, -3437.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  713. CTheZones::CreateZone("BEACH2", znType, 6219.79f, -3566.74f, -100.0f, 6464.79f, -3458.37f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  714. CTheZones::CreateZone("BEACH2", znType, 6464.79f, -3566.74f, -100.0f, 6584.79f, -3458.37f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  715. CTheZones::CreateZone("BEACH2", znType, 6584.79f, -3566.74f, -100.0f, 6984.79f, -3458.37f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  716. CTheZones::CreateZone("BEACH2", znType, 6219.79f, -3458.37f, -100.0f, 6235.62f, -3437.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  717. CTheZones::CreateZone("BEACH2", znType, 6235.62f, -3458.37f, -100.0f, 6428.03f, -3383.37f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  718. CTheZones::CreateZone("BEACH2", znType, 6428.03f, -3458.37f, -100.0f, 6528.03f, -3383.37f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  719. CTheZones::CreateZone("BEACH2", znType, 6528.03f, -3458.37f, -100.0f, 6978.60f, -3383.37f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH2");
  720. // VC_CONS - Construction Site
  721. CTheZones::CreateZone("VC_CONS", znType, 6050.05f, -3437.10f, -100.0f, 6235.62f, -3272.68f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "VC_CONS");
  722. CTheZones::CreateZone("VC_CONS", znType, 6235.62f, -3383.37f, -100.0f, 6407.80f, -3169.46f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "VC_CONS");
  723. // BEACH3 - Vice Point
  724. CTheZones::CreateZone("BEACH3", znType, 6176.87f, -3272.68f, -100.0f, 6235.62f, -3169.46f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  725. CTheZones::CreateZone("BEACH3", znType, 6176.87f, -3169.46f, -100.0f, 6407.8f, -3032.75f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  726. CTheZones::CreateZone("BEACH3", znType, 6407.8f, -3383.37f, -100.0f, 6627.5f, -3032.75f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  727. CTheZones::CreateZone("BEACH3", znType, 6627.5f, -3383.37f, -100.0f, 6978.6f, -2981.94f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  728. CTheZones::CreateZone("BEACH3", znType, 6176.87f, -3032.75f, -100.0f, 6222.02f, -2952.94f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  729. CTheZones::CreateZone("BEACH3", znType, 6222.02f, -3032.75f, -100.0f, 6457.59f, -2952.94f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  730. CTheZones::CreateZone("BEACH3", znType, 6457.59f, -3032.75f, -100.0f, 6557.59f, -2952.94f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  731. CTheZones::CreateZone("BEACH3", znType, 6557.59f, -3032.75f, -100.0f, 6627.5f, -2981.94f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  732. CTheZones::CreateZone("BEACH3", znType, 6557.59f, -2981.94f, -100.0f, 6978.6f, -2952.94f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  733. CTheZones::CreateZone("BEACH3", znType, 6222.02f, -2952.94f, -100.0f, 6482.23f, -2892.85f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  734. CTheZones::CreateZone("BEACH3", znType, 6235.43f, -2892.85f, -100.0f, 6482.23f, -2815.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  735. CTheZones::CreateZone("BEACH3", znType, 6222.02f, -2815.2f, -100.0f, 6482.23f, -2741.4f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  736. CTheZones::CreateZone("BEACH3", znType, 6482.23f, -2952.94f, -100.0f, 6978.6f, -2688.46f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  737. CTheZones::CreateZone("BEACH3", znType, 6222.02f, -2741.4f, -100.0f, 6482.23f, -2580.5f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  738. CTheZones::CreateZone("BEACH3", znType, 6254.23f, -2580.5f, -100.0f, 6482.23f, -2444.38f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  739. CTheZones::CreateZone("BEACH3", znType, 6482.23f, -2688.46f, -100.0f, 6978.6f, -2444.38f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  740. CTheZones::CreateZone("BEACH3", znType, 6339.11f, -2444.38f, -100.0f, 6617.16f, -1971.88f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  741. CTheZones::CreateZone("BEACH3", znType, 6617.16f, -2444.38f, -100.0f, 6978.6f, -1971.88f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  742. CTheZones::CreateZone("BEACH3", znType, 6130.91f, -2374.37f, -100.0f, 6339.11f, -1656.46f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  743. CTheZones::CreateZone("BEACH3", znType, 6339.11f, -1971.88f, -100.0f, 6573.41f, -1656.46f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  744. CTheZones::CreateZone("BEACH3", znType, 6573.41f, -1971.88f, -100.0f, 6978.6f, -1656.46f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "BEACH3");
  745. // GOLFC - Leaf Links
  746. CTheZones::CreateZone("GOLFC", znType, 5921.42f, -3272.68f, -100.0f, 6176.87f, -2952.94f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  747. CTheZones::CreateZone("GOLFC", znType, 5921.42f, -2952.94f, -100.0f, 6172.1f, -2774.44f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  748. CTheZones::CreateZone("GOLFC", znType, 6172.1f, -2952.94f, -100.0f, 6222.02f, -2774.44f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  749. CTheZones::CreateZone("GOLFC", znType, 6222.02f, -2892.85f, -100.0f, 6235.43f, -2815.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  750. CTheZones::CreateZone("GOLFC", znType, 5921.42f, -2774.44f, -100.0f, 6010.63f, -2727.22f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  751. CTheZones::CreateZone("GOLFC", znType, 6010.63f, -2774.44f, -100.0f, 6070.63f, -2727.22f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  752. CTheZones::CreateZone("GOLFC", znType, 6070.63f, -2774.44f, -100.0f, 6120.83f, -2750.5f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  753. CTheZones::CreateZone("GOLFC", znType, 6120.83f, -2774.44f, -100.0f, 6222.02f, -2750.5f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  754. CTheZones::CreateZone("GOLFC", znType, 5921.42f, -2727.22f, -100.0f, 6070.63f, -2660.5f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  755. CTheZones::CreateZone("GOLFC", znType, 5960.63f, -2660.5f, -100.0f, 6070.63f, -2580.5f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  756. CTheZones::CreateZone("GOLFC", znType, 6070.63f, -2750.5f, -100.0f, 6222.02f, -2580.5f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  757. CTheZones::CreateZone("GOLFC", znType, 5736.41f, -2600.08f, -100.0f, 5921.42f, -2374.37f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  758. CTheZones::CreateZone("GOLFC", znType, 5921.42f, -2580.5f, -100.0f, 6041.33f, -2432.23f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  759. CTheZones::CreateZone("GOLFC", znType, 6041.33f, -2580.5f, -100.0f, 6254.23f, -2374.37f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "GOLFC");
  760. // PORNI - Prawn Island
  761. CTheZones::CreateZone("PORNI", znType, 5863.6f, -2174.89f, -100.0f, 6130.91f, -2147.96f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "PORNI");
  762. CTheZones::CreateZone("PORNI", znType, 6015.7f, -2147.96f, -100.0f, 6130.91f, -1954.25f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "PORNI");
  763. CTheZones::CreateZone("PORNI", znType, 5863.6f, -1954.25f, -100.0f, 6130.91f, -1656.46f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "PORNI");
  764. // PORNSTU - InterGlobal Studios
  765. CTheZones::CreateZone("PORNSTU", znType, 5863.6f, -2147.96f, -100.0f, 6015.7f, -1954.25f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "PORNSTU");
  766. // STARI - Starfish Island
  767. CTheZones::CreateZone("STARI", znType, 5246.81f, -3784.02f, -100.0f, 5483.72f, -3570.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "STARI");
  768. CTheZones::CreateZone("STARI", znType, 5216.81f, -3570.2f, -100.0f, 5483.72f, -3470.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "STARI");
  769. CTheZones::CreateZone("STARI", znType, 5198.81f, -3470.2f, -100.0f, 5483.72f, -3437.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "STARI");
  770. CTheZones::CreateZone("STARI", znType, 5483.72f, -3502.95f, -100.0f, 5808.72f, -3437.1f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "STARI");
  771. CTheZones::CreateZone("STARI", znType, 5298.19f, -3437.1f, -100.0f, 5483.72f, -3110.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "STARI");
  772. CTheZones::CreateZone("STARI", znType, 5483.72f, -3437.1f, -100.0f, 5921.42f, -3110.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "STARI");
  773. CTheZones::CreateZone("STARI", znType, 5921.42f, -3437.1f, -100.0f, 6050.05f, -3272.68f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "STARI");
  774. // GANG1 - Vercetti Estate
  775. CTheZones::CreateZone("GANG1", znType, 5483.72f, -3658.89f, -100.0f, 5808.72f, -3502.95f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "GANG1");
  776. // XDOCKS - Viceport
  777. CTheZones::CreateZone("XDOCKS", znType, 4766.47f, -4802.6f, -100.0f, 5445.84f, -4538.46f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "XDOCKS");
  778. CTheZones::CreateZone("XDOCKS", znType, 4766.47f, -4538.46f, -100.0f, 5354.36f, -4512.27f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "XDOCKS");
  779. CTheZones::CreateZone("XDOCKS", znType, 4766.47f, -4512.27f, -100.0f, 5304.36f, -4173.01f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "XDOCKS");
  780. CTheZones::CreateZone("XDOCKS", znType, 5304.36f, -4448.29f, -100.0f, 5354.36f, -4173.01f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "XDOCKS");
  781. CTheZones::CreateZone("XDOCKS", znType, 5354.36f, -4452.69f, -100.0f, 5418.26f, -4173.01f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "XDOCKS");
  782. CTheZones::CreateZone("XDOCKS", znType, 5418.26f, -4495.58f, -100.0f, 5445.84f, -4173.01f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "XDOCKS");
  783. // BOATYRD - The Boatyard
  784. CTheZones::CreateZone("BOATYRD", znType, 5304.36f, -4512.27f, -100.0f, 5354.36f, -4448.29f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "BOATYRD");
  785. CTheZones::CreateZone("BOATYRD", znType, 5354.36f, -4538.46f, -100.0f, 5445.84f, -4495.58f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "BOATYRD");
  786. CTheZones::CreateZone("BOATYRD", znType, 5354.36f, -4495.58f, -100.0f, 5418.26f, -4452.69f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "BOATYRD");
  787. // CARYRD - Sunshine Autos
  788. CTheZones::CreateZone("CARYRD", znType, 4939.46f, -3909.67f, -100.0f, 5040.3f, -3807.18f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "CARYRD");
  789. // HAVANA - Little Havana
  790. CTheZones::CreateZone("HAVANA", znType, 4766.47f, -4173.01f, -100.0f, 5276.81f, -4089.55f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  791. CTheZones::CreateZone("HAVANA", znType, 4766.47f, -4089.55f, -100.0f, 5244.92f, -3909.67f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  792. CTheZones::CreateZone("HAVANA", znType, 4766.47f, -3909.67f, -100.0f, 4939.46f, -3807.18f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  793. CTheZones::CreateZone("HAVANA", znType, 5040.3f, -3909.67f, -100.0f, 5246.81f, -3807.18f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  794. CTheZones::CreateZone("HAVANA", znType, 4766.47f, -3807.18f, -100.0f, 5246.81f, -3670.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  795. CTheZones::CreateZone("HAVANA", znType, 4766.47f, -3670.2f, -100.0f, 5246.81f, -3596.38f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  796. CTheZones::CreateZone("HAVANA", znType, 4766.47f, -3596.38f, -100.0f, 5089.09f, -3470.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  797. CTheZones::CreateZone("HAVANA", znType, 5089.09f, -3596.38f, -100.0f, 5149.11f, -3570.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  798. CTheZones::CreateZone("HAVANA", znType, 5089.09f, -3570.2f, -100.0f, 5149.11f, -3542.91f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  799. CTheZones::CreateZone("HAVANA", znType, 5149.11f, -3596.38f, -100.0f, 5246.81f, -3570.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  800. CTheZones::CreateZone("HAVANA", znType, 5089.09f, -3542.91f, -100.0f, 5149.11f, -3470.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  801. CTheZones::CreateZone("HAVANA", znType, 5149.11f, -3570.2f, -100.0f, 5216.81f, -3470.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  802. CTheZones::CreateZone("HAVANA", znType, 4723.81f, -3470.2f, -100.0f, 5198.81f, -3304.54f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAVANA");
  803. // HAITI - Little Haiti
  804. CTheZones::CreateZone("HAITI", znType, 6953.42f, -3304.54f, -100.0f, 4862.76f, -3160.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAITI");
  805. CTheZones::CreateZone("HAITI", znType, 7208.24f, -3304.54f, -100.0f, 5298.19f, -3160.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAITI");
  806. CTheZones::CreateZone("HAITI", znType, 6953.42f, -3160.2f, -100.0f, 5006.51f, -2821.09f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAITI");
  807. CTheZones::CreateZone("HAITI", znType, 7256.51f, -3160.2f, -100.0f, 5298.19f, -3110.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAITI");
  808. CTheZones::CreateZone("HAITI", znType, 6894.79f, -3086.15f, -100.0f, 4703.42f, -2710.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAITI");
  809. CTheZones::CreateZone("HAITI", znType, 7256.51f, -3110.2f, -100.0f, 5386.51f, -2823.52f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAITI");
  810. CTheZones::CreateZone("HAITI", znType, 6953.42f, -2821.09f, -100.0f, 4984.64f, -2778.25f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAITI");
  811. CTheZones::CreateZone("HAITI", znType, 7270.15f, -2823.52f, -100.0f, 5386.51f, -2780.68f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAITI");
  812. CTheZones::CreateZone("HAITI", znType, 6953.42f, -2778.25f, -100.0f, 5006.51f, -2710.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAITI");
  813. CTheZones::CreateZone("HAITI", znType, 7256.51f, -2780.68f, -100.0f, 5386.51f, -2513.15f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAITI");
  814. CTheZones::CreateZone("HAITI", znType, 6894.79f, -2710.2f, -100.0f, 5006.51f, -2513.15f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "HAITI");
  815. // PRINTWK - Print Works
  816. CTheZones::CreateZone("PRINTWK", znType, 4862.76f, -3304.54f, -100.0f, 4958.24f, -3160.2f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "PRINTWK");
  817. // JUNKY - Junkyard
  818. CTheZones::CreateZone("JUNKY", znType, 4651.79f, -3022.91f, -100.0f, 4765.79f, -2814.91f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "JUNKY");
  819. // KAUFCAB - Kaufman Cabs
  820. CTheZones::CreateZone("KAUFCAB", znType, 4984.64f, -2821.09f, -100.0f, 5006.51f, -2778.25f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "KAUFCAB");
  821. CTheZones::CreateZone("KAUFCAB", znType, 5006.51f, -2823.52f, -100.0f, 5020.15f, -2780.68f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "KAUFCAB");
  822. // DTOWN - Downtown Vice City
  823. CTheZones::CreateZone("DTOWN", znType, 4745.64f, -2513.15f, -100.0f, 5166.23f, -2158.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "DTOWN");
  824. CTheZones::CreateZone("DTOWN", znType, 5166.23f, -2513.15f, -100.0f, 5636.94f, -2158.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "DTOWN");
  825. CTheZones::CreateZone("DTOWN", znType, 4745.59f, -2158.2f, -100.0f, 5345.59f, -1926.26f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "DTOWN");
  826. CTheZones::CreateZone("DTOWN", znType, 5345.59f, -2158.2f, -100.0f, 5780.82f, -1576.26f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "DTOWN");
  827. CTheZones::CreateZone("DTOWN", znType, 4985.59f, -1926.26f, -100.0f, 5345.59f, -1266.26f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "DTOWN");
  828. CTheZones::CreateZone("DTOWN", znType, 5345.59f, -1576.26f, -100.0f, 5780.82f, -1266.26f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "DTOWN");
  829. // VC_STAD - Hyman Memorial Stadium
  830. CTheZones::CreateZone("VC_STAD", znType, 4385.59f, -1926.26f, -100.0f, 4985.59f, -1266.26f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "VC_STAD");
  831. // A_PORT - Escobar International Airport
  832. CTheZones::CreateZone("A_PORT", znType, 4051.95f, -4802.6f, -100.0f, 4766.47f, -3945.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "A_PORT");
  833. CTheZones::CreateZone("A_PORT", znType, 4051.95f, -3945.2f, -100.0f, 4383.81f, -3304.54f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "A_PORT");
  834. CTheZones::CreateZone("A_PORT", znType, 4383.81f, -3945.2f, -100.0f, 4723.81f, -3695.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "A_PORT");
  835. CTheZones::CreateZone("A_PORT", znType, 4723.81f, -3945.2f, -100.0f, 4766.47f, -3865.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "A_PORT");
  836. CTheZones::CreateZone("A_PORT", znType, 4723.81f, -3865.2f, -100.0f, 4766.47f, -3470.2f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "A_PORT");
  837. CTheZones::CreateZone("A_PORT", znType, 4383.81f, -3695.2f, -100.0f, 4723.81f, -3304.54f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "A_PORT");
  838. CTheZones::CreateZone("A_PORT", znType, 4051.95f, -3304.54f, -100.0f, 4219.33f, -3086.15f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "A_PORT");
  839. CTheZones::CreateZone("A_PORT", znType, 4411.53f, -3304.54f, -100.0f, 4703.42f, -3086.15f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "A_PORT");
  840. CTheZones::CreateZone("A_PORT", znType, 4051.95f, -3086.15f, -100.0f, 4644.79f, -2765.34f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "A_PORT");
  841. // ARMYBAS - Fort Baxter Air Base
  842. CTheZones::CreateZone("ARMYBAS", znType, 4219.33f, -3304.54f, -100.0f, 4411.53f, -3086.015f, 200.0f, LEVEL_NAME_COUNTRY_SIDE, "ARMYBAS");
  843. // The Zen Island
  844. CTheZones::CreateZone("ZENER", znType, 3885.99f, -905.1915f, -100.0f, 4413.2812f, -260.6855f, 500.0f, LEVEL_NAME_COUNTRY_SIDE, "ZENER");
  845. }
  846.  
  847. static void generateNewZoneGxtEntries_2() {
  848. Command<0x0ADF>("WHOLELC", "Liberty_City");
  849. Command<0x0ADF>("IND_ZON", "Portland");
  850. Command<0x0ADF>("HARWOOD", "Harwood");
  851. Command<0x0ADF>("TOWERS", "Hepburn_Heights");
  852. Command<0x0ADF>("REDLIGH", "Red_Light_District");
  853. Command<0x0ADF>("LITTLEI", "Saint_Mark's");
  854. Command<0x0ADF>("EASTBAY", "Portland_Beach");
  855. Command<0x0ADF>("S_VIEW", "Portland_View");
  856. Command<0x0ADF>("FILLIN1", "Liberty_City");
  857. Command<0x0ADF>("PORT_I", "Trenton");
  858. Command<0x0ADF>("PORT_E", "Portland_Harbor");
  859. Command<0x0ADF>("ROADBR", "Callahan Bridge");
  860. Command<0x0ADF>("PORT_W", "Callahan_Point");
  861. Command<0x0ADF>("PORT_S", "Atlantic_Quays");
  862. Command<0x0ADF>("LC_CHIN", "Chinatown");
  863. Command<0x0ADF>("FISHFAC", "Fish_Factory");
  864. Command<0x0ADF>("COM_ZON", "Staunton_Island");
  865. Command<0x0ADF>("SUB_ZO1", "Liberty_City");
  866. Command<0x0ADF>("SUB_ZO3", "Shoreside_Vale");
  867. Command<0x0ADF>("LC_STAD", "Aspatria");
  868. Command<0x0ADF>("HOSPI_2", "Rockford");
  869. Command<0x0ADF>("LC_UNIV", "Liberty_Campus");
  870. Command<0x0ADF>("LC_CONS", "Fort_Staunton");
  871. Command<0x0ADF>("LC_PARK", "Belleville_Park");
  872. Command<0x0ADF>("COM_EAS", "Newport");
  873. Command<0x0ADF>("LC_SHOP", "Bedford_Point");
  874. Command<0x0ADF>("YAKUSA", "Torrington");
  875. Command<0x0ADF>("SUB_ZON", "Shoreside_Vale");
  876. Command<0x0ADF>("BIG_DAM", "Cochrane_Dam");
  877. Command<0x0ADF>("SWANKS", "Cedar_Grove");
  878. Command<0x0ADF>("SUB_IND", "Pike_Creek");
  879. Command<0x0ADF>("PROJECT", "Wichita_Gardens");
  880. Command<0x0ADF>("LC_AIRP", "Francis_Intl. Airport");
  881. Command<0x0ADF>("SUBHIL", "Upstate_Liberty");
  882. Command<0x0ADF>("LONGIS", "long_Island");
  883.  
  884. Command<0x0ADF>("WHOLEVC", "Vice_City");
  885. Command<0x0ADF>("VICE_C", "Unknown_Area");
  886. Command<0x0ADF>("BEACH1", "Ocean_Beach");
  887. Command<0x0ADF>("BEACH2", "Washington_Beach");
  888. Command<0x0ADF>("VC_CONS", "Construction_Site");
  889. Command<0x0ADF>("BEACH3", "Vice_Point");
  890. Command<0x0ADF>("GOLFC", "Leaf_Links");
  891. Command<0x0ADF>("PORNI", "Prawn_Island");
  892. Command<0x0ADF>("PORNSTU", "Film_Srudio");
  893. Command<0x0ADF>("STARI", "Starfish_Island");
  894. Command<0x0ADF>("GANG1", "Vercetti_Estate");
  895. Command<0x0ADF>("XDOCKS", "Viceport");
  896. Command<0x0ADF>("BOATYRD", "The_Boatyard");
  897. Command<0x0ADF>("CARYRD", "Sunshine_Autos");
  898. Command<0x0ADF>("HAVANA", "Little_Havana");
  899. Command<0x0ADF>("HAITI", "Little_Haiti");
  900. Command<0x0ADF>("PRINTWK", "Print_Works");
  901. Command<0x0ADF>("JUNKY", "Junk_Yard");
  902. Command<0x0ADF>("KAUFCAB", "Kaufman_Cabs");
  903. Command<0x0ADF>("DTOWN", "Downtown_Vice_City");
  904. Command<0x0ADF>("VC_STAD", "Hyman_Memorial_Stadium");
  905. Command<0x0ADF>("A_PORT", "Escobar_International");
  906. Command<0x0ADF>("ARMYBAS", "Fort_Baxter_Air_Base");
  907. Command<0x0ADF>("ZENER", "Zen_Island");
  908. }
  909.  
  910. static void generateNewZoneGxtEntries() {
  911. // ADD_TEXT_LABEL
  912. //Command<0x0ADF>("", "");
  913. Command<0x0ADF>("ROADBR1", "Callahan Bridge");
  914. Command<0x0ADF>("PORT_W", "Callahan Point");
  915. // Command<0x0ADF>("FISHFAC", "Fish factory");
  916. Command<0x0ADF>("PORT_S", "Atlantic Quays");
  917. Command<0x0ADF>("PORT_E", "Portland Harbor");
  918. Command<0x0ADF>("PORT_I", "Trenton");
  919. Command<0x0ADF>("LC_CHIN", "Chinatown");
  920. Command<0x0ADF>("REDLIGH", "Red Light District");
  921. Command<0x0ADF>("TOWERS", "Hepburn Heights");
  922. Command<0x0ADF>("LITTLEI", "Saint Mark's");
  923. Command<0x0ADF>("HARWOOD", "Harwood");
  924. Command<0x0ADF>("EASTBAY", "Portland Beach");
  925. Command<0x0ADF>("S_VIEW", "Portland View");
  926. // Command<0x0ADF>("COPS_1", "LC Police Department");
  927. // Command<0x0ADF>("HOSPI_1", "Portland_Hospital");
  928. Command<0x0ADF>("IND_ZON", "Portland");
  929. Command<0x0ADF>("ROADBR2", "Callahan Bridge");
  930. //Command<0x0ADF>("FILLIN1", "");
  931. Command<0x0ADF>("LC_CONS", "Fort Staunton");
  932. Command<0x0ADF>("LC_STAD", "Aspatria");
  933. Command<0x0ADF>("YAKUSA", "Torrington");
  934. Command<0x0ADF>("LC_SHOP", "Bedford Point");
  935. Command<0x0ADF>("COM_EAS", "Newport");
  936. Command<0x0ADF>("LC_PARK", "Belleville Park");
  937. Command<0x0ADF>("LC_UNIV", "Liberty Campus");
  938. Command<0x0ADF>("HOSPI_2", "Rockford");
  939. Command<0x0ADF>("LC_AIRP", "Francis Intl. Airport");
  940. Command<0x0ADF>("PROJECT", "Wichita Gardens");
  941. Command<0x0ADF>("SWANKS", "Cedar Grove");
  942. Command<0x0ADF>("SUB_IND", "Pike Creek");
  943. Command<0x0ADF>("BIG_DAM", "Cochrane Dam");
  944. //Command<0x0ADF>("MAIN_D1", "");
  945. //Command<0x0ADF>("MAIN_D2", "");
  946. //Command<0x0ADF>("MAIN_D3", "");
  947. //Command<0x0ADF>("MAIN_D4", "");
  948. //Command<0x0ADF>("MAIN_D5", "");
  949. //Command<0x0ADF>("MAIN_D6", "");
  950. Command<0x0ADF>("SUB_ZON", "Shoreside Vale");
  951. Command<0x0ADF>("COM_ZON", "Staunton Island");
  952. Command<0x0ADF>("SUB_ZO2", "Shoreside Vale");
  953. Command<0x0ADF>("SUB_ZO3", "Shoreside Vale");
  954. Command<0x0ADF>("WEE_DAM", "Cockrane_Dam");
  955. Command<0x0ADF>("VC_COM_", "Vice City Mainland");
  956. Command<0x0ADF>("VC_IND_", "Vice City Beach");
  957. Command<0x0ADF>("VC_AIRP", "Escobar International");
  958. Command<0x0ADF>("VC_BCH1", "Ocean Beach");
  959. Command<0x0ADF>("VC_BCH2", "Washington Beach");
  960. Command<0x0ADF>("VC_BCH3", "Vice Point");
  961. Command<0x0ADF>("VC_STIS", "Starfish Island");
  962. Command<0x0ADF>("VC_DOCK", "Viceport");
  963. Command<0x0ADF>("VC_DWTW", "Vice City Downtown");
  964. Command<0x0ADF>("VC_GOLF", "Leaf Links");
  965. Command<0x0ADF>("VC_HAIT", "Little Haiti");
  966. Command<0x0ADF>("VC_HAVA", "Little Havana");
  967. Command<0x0ADF>("VC_JNKY", "Junk Yard");
  968. Command<0x0ADF>("VC_PRIS ", "Prawn Island");
  969. Command<0x0ADF>("ZENER", "The_Zen_Island");
  970. }
  971.  
  972. static int sscanf_2(char *Str, char _name, int _type, float x1, float y1, float z1, float x2, float y2, float z2, int _island, char _text) {
  973. // plugin::Call<0x8220AD, char *, char[30], int, float, float, float, float, float, float, int, char>(Str, "%s %d %f %f %f %f %f %f %d %s", _name, &_type, &x1, &y1, &z1, &x2, &y2, &z2, &_island, _text);
  974. return 0;
  975. }
  976.  
  977. } zoneNameMixed;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement