Рекомендованные сообщения



4 posts in this topic

 error 052: multi-dimensional arrays must be fully initialized вот вылазит при коплилирование мода

Спойлер

new TeleportInfo[121][tpInfo] =
{
    {"Тюрьма Сан Фиерро",-1606.3378,672.0713,-4.9063, 0, 0, 325.8035,94.0766,1001.0410,268.4566, 6, 13},
    {"Выход на улицу",323.9006,94.2639,1001.0410, 13, 6, -1606.3887,675.7780,-5.2422,359.2028, 0, 0},
    {"Мэрия",2412.3274,-1841.6921,22.9476, 0, 0, 1860.1224,1031.8214,1502.0000,179.3825, 2, 2},
    {"Выход на улицу",1862.1099,1031.8542,1502.0000, 2, 2, 2412.4961,-1844.4984,21.8546,184.2417, 0, 0},
    {"Полицейский участок",1554.866943, -1675.680297, 16.195312, 0, 0, -959.0286,-2358.1538,1701.0859,268.0805, 2, 2}, // Police LS
    {"Выход на улицу",-960.8102,-2358.1533,1701.0859, 2, 2, 1552.464599,-1675.447143,16.195312, 90.0, 0, 0}, // Police LS
    {"Полицейский участок",627.3923,-571.7623,17.9145, 0, 0, 246.7367,64.7762,1003.6406,359.3008, 6, 11}, // Police SF
    {"Выход на улицу",246.7980,62.4814,1003.6406, 11, 6, 630.7498,-571.5781,16.3359,268.5526, 0, 0}, // Police SF
    {"FBI",287.4745,-1611.9064,32.9373, 0, 0, -587.3000,-671.2534,1001.0859,92.8646, 2, 0},
    {"Выход на улицу",-585.3912,-671.2762,1001.0859, 0, 2, 287.9350,-1614.5675,33.0662,181.1810, 0, 0},
    {"Полицейский участок",-1605.5493,710.2738,13.8672, 0, 0, 246.3475,110.0356,1003.2257,0.1194, 10, 0},
    {"Выход на улицу",246.4371,107.3130,1003.2188, 0, 10 ,-1606.1509,713.7501,13.2903,359.7803, 0, 0},
    {"Полицейский участок",-1594.2084,716.2449,-4.9063, 0, 0, 216.9662,117.5420,1003.2188,273.3487, 10, 0},
    {"Выход в гараж",214.4533,116.9529,1003.2188, 0, 10, -1592.1372,715.8721,-5.2422,268.9620, 0, 0},
    {"Мэрия SF",-2765.854003, 375.598785, 6.334682, 0, 0, 387.794219, 173.858154, 1008.382812, 90.803520, 3, 1},
    {"San Fierro",390.4131,173.7889,1008.3828, 1, 3, -2764.148193,375.554595,6.326059, 271.943298, 0, 0},
    {"Radio студия LS",1653.9441,-1654.7587,22.5156, 0, 0, 1703.6064,-1668.0096,20.2259,269.1166, 18, 1},//word, int int, word
    {"Los Santos",1700.8987,-1667.9185,20.2259, 1, 18, 1653.5554,-1658.9841,22.5156,181.2989, 0, 0},//wordint , intword
    {"Автошкола",-2027.0585,-99.3543,35.2579, 0, 0, -2032.0493,-114.5915,35.2599,103.5576, 0, 0},
    {"San-Fierro",-2030.7273,-112.2272,35.2599, 0, 0, -2027.3667,-97.3583,35.2579,358.9032, 0, 0},
    {"Парковка",-2041.8939,-119.2454,35.2579, 0, 0,-2041.9072,-123.6755,35.2396,182.3970, 0, 0},
    {"Автошкола",-2042.0837,-121.6636,35.2241, 0, 0, -2042.0132,-117.1225,35.2579,355.3351, 0, 0},
    {"Los Santos",627.302978, -11.985424, 1000.921875, 1, 1, 1084.715942,-1226.635253,15.820312, 270.961944, 0, 0},
    {"San Fierro",964.776794, -53.210323, 1001.117187, 1, 3, -1552.170410,1165.444458,7.187500, 89.121200, 0, 0},
    {"Varrios Los Aztecas",2524.1243,-1998.7643,13.7826, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 4},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 4, 7, 2521.5767,-2001.4885,13.5469,137.3131, 0, 0},
    {"Los Santos Vagos",2795.966552, -1619.309692, 10.921875, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 2},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 2, 7, 2793.590820,-1618.637817,10.921875, 79.540718, 0, 0},
    {"Grove Street",2495.311035, -1690.930175, 14.765625, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 1},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 1, 7, 2495.2034,-1689.1195,14.2319, 0.9635, 0, 0},
    {"The Rifa",2185.7822, -1815.2261, 13.5469, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 5},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 5, 7, 2185.8145,-1810.8423, 13.5469, 1.5911, 0, 0},
    {"East Side Ballas",1996.9840,-1108.9204,26.8068, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 3},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 3, 7, 2000.2468,-1108.7992,26.7737,272.3124, 0, 0},
    {"La Cosa Nostra",1456.1313,2773.3252,10.8203, 0, 0, 830.1762,867.6147,1005.0040,182.0249, 5, 1},
    {"Las Venturas",830.4812,869.5156,1005.0040, 1, 5, 1460.8861,2773.1716,10.8203,269.9729, 0, 0},
    {"Yakuza",2634.7432,1824.2310,11.0161, 0, 0, 1947.4762,2213.2212,1501.0859,88.9017, 5, 0},
    {"Las Venturas",1949.6360,2213.3313,1501.0859, 0, 5, 2630.3728,1824.2715,11.0234,90.2341, 0, 0},
    {"Русская Мафия",937.0781,1731.0668,8.8516, 0, 0, -1662.6313,863.9360,1004.3510,89.0973, 3, 0},
    {"Las Venturas",-1659.7098,864.0506,1004.3409, 0, 3, 940.1907,1731.1997,8.8516,271.1088, 0, 0},
    {"Sport Club LS",2229.631835, -1721.709350, 13.565642, 0, 0, 773.9093,-76.9094,1000.6545,2.5748, 7, 0},
    {"Los Santos",773.8964,-78.8464,1000.6628, 0, 7, 2228.418701,-1722.766357,13.554397, 137.274353, 0, 0},
    {"Los Santos",964.776794, -53.210323, 1001.117187, 2, 3, 2194.1086,1677.1443,12.3672, 42.038417, 0, 0},
    {"Warlock MC", 681.5402,-473.3478,16.5363, 0, 0, 1577.8760,-1517.7976,1103.3810,267.8788, 3, 1},
    {"Выход на улицу", 1575.8328,-1517.7861,1103.3810, 1, 3, 681.6158,-476.9035,16.3359,178.3351, 0, 0},
    {"Больница LS",1172.6415, -1323.3395, 15.4030, 0, 0, 2065.9077,-1385.4116,1001.2960,1.5126, 2, 1},

    {"Наркопритон",2166.124267, -1671.345947, 15.073492, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 1},

    {"The Ghetto",318.586029, 1114.793212, 1083.882812, 1, 5, 2167.414550,-1672.636352,15.080650, 223.037063, 0, 0},

    {"Тир Los Santos",875.805541, -1565.014892, 13.533462, 0, 0, 298.074035,-26.779211,1001.515625, 90.0, 1, 0},

    {"Los Santos",299.993804, -26.763149, 1001.515625, 0, 1, 876.530090,-1566.720214,13.539081, 200.0, 0, 0},

    {"Завод",-86.3057, -299.6985, 2.7646, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 10},
    {"Лос Сантос",2577.3730,-1289.8970,1044.1250, 10, 2, -86.3985, -301.6363, 2.7646, 170.0, 0, 0},
    {"Церковь", 1720.3025,-1741.1660,13.5469,0,0,1274.6763,-1564.8978,3278.3521,89.3754,0,0},
    {"Unity Station", 1277.6923,-1564.9399,3278.3616,0,0,1720.2825,-1738.9661,13.5469,359.0755,0,0},
    {"San Fierro", -122.5312,-59.7999,1003.6160,0,0,-2168.4531,252.0057,35.3295,272.3488,0,0},
    {"CENTRAL HOTEL No1",1497.7190,-1582.6355,13.5469, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 3},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 3, 1, 1498.4694,-1586.2358,13.5469,180.5073, 0, 0},
    {"CENTRAL HOTEL No2",1499.2843,-1582.6288,13.5469, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 1},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 1, 1, 1498.4694,-1586.2358,13.5469,180.5073, 0, 0},


    {"LS HOTEL No3",325.3831,-1514.9725,36.0325, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 2},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 2, 1, 328.6411,-1517.9896,35.8672,1.2665, 0, 0},


    {"LS HOTEL No4",606.5820,-1457.0054,14.3563, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 5},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 5, 1, 610.3592,-1457.1979,14.3540,358.4465, 0, 0},

    {"LS HOTEL No5",334.7625,-1504.2760,36.0391, 0, 0, 197.9217,196.5635,1001.0859,2.2672,1, 6},
    {"Los Santos",197.6069,192.6454,1001.0859, 6, 1, 338.4149,-1508.0391,35.8672,4.6998, 0, 0},


    {"",2723.7825,-2028.5219,13.5472, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 7},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 7, 1, 2721.1589,-2028.5688,13.5472,90.8957, 0, 0},
    {"",2723.7820,-2011.9711,13.5547, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 8},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 8, 1, 2720.5266,-2012.1782,13.5547,93.0889, 0, 0},
    {"",2757.7007,-2058.4956,12.6221, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 9},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 9, 1, 2757.8984,-2055.6145,12.6167,355.9778, 0, 0},
    {"",2723.4365,-2114.9807,11.1390, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 10},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 10, 1, 2721.0776,-2115.1257,11.1369,88.7254, 0, 0},
    {"Sport Club LV",2092.6499,2493.1968,14.8390, 0, 0, 773.9093,-76.9094,1000.6545,2.5748, 7, 1},
    {"Las Venturas",773.8964,-78.8464,1000.6628, 1, 7, 2095.5288,2493.2524,14.8390,267.9022, 0, 0},
    {"Больница LV",1607.4197,1815.2408,10.8203, 0, 0, 2065.9077,-1385.4116,1001.2960,1.5126, 3, 2},
    {"Больница SF",-2668.8684,640.1640,14.4531, 0, 0, 2065.9077,-1385.4116,1001.2960,1.5126, 3, 3},
    {"",2731.6279,-2417.5535,13.6280, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 11},
    {"",2577.3730,-1289.8970,1044.1250, 11, 2, 2731.6812,-2416.2803,13.6277,0.7204, 0, 0},
    {"",237.8633,1872.3997,11.4609, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 12},
    {"",2577.3730,-1289.8970,1044.1250, 12, 2, 233.9474,1872.2189,11.4609,90.4364, 0, 0},
    {"Полицейский участок LV",2287.0254,2432.3618,10.8203, 0, 0, 246.7367,64.7762,1003.6406,359.3008, 6, 12}, // Police SF
    {"Выход на улицу",246.7980,62.4814,1003.6406, 12, 6, 2287.0684,2428.8718,10.8203,179.2759, 0, 0}, // Police SF
    {"Полицейский участок LV",2297.1162,2451.5430,10.8203, 0, 0, 246.5371,85.6301,1003.6406,180.1683, 6, 12}, // Police SF
    {"Выход на улицу",246.4687,87.8630,1003.6406, 12, 6, 2293.2761,2451.4275,10.8203,87.4205, 0, 0}, // Police SF
    {"Вход на крышу",2297.1160,2468.7705,10.8203, 0, 0, 2290.2505,2460.7644,38.6875,284.8691, 0, 0}, // Police SF
    {"Выход в гараж",2287.9663,2458.1406,38.6875, 0, 0, 2294.0698,2468.4187,10.8203,88.4307, 0, 0}, // Police SF
    {"Radio студия LV",2637.8018,1185.2871,10.8203, 0, 0, 1703.6064,-1668.0096,20.2259,269.1166, 18, 2},//word, int int, word
    {"Las-Venturas",1700.8987,-1667.9185,20.2259, 2, 18, 2637.8726,1182.4669,10.8203,179.5183, 0, 0},//wordint , intword
    {"Банковское отделение города Las Venturas",2375.5674,2306.3022,8.1406, 0, 0, 487.3989,1307.4255,774.4839,0.6282, 1, 2},//word, int int, word
    {"",487.5179,1304.6077,774.4839,2,1, 2375.3784,2310.3059,8.1406,0.8172, 0, 0},//wordint , intword
    {"АвиаШкола",2640.9631,1095.5267,10.8203, 0, 0, -2027.7902,-105.3816,1035.1719,90.0, 3, 1},
    {"Las Venturas",-2026.8085,-103.6107,1035.1798, 1, 3, 2641.1375,1092.6433,10.8203,182.4568, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 11, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 12, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 13, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 14, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 15, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 16, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"",-47.2234,108.2000,3.1852, 0, 0, -64.3512,102.1318,3.1172,140.2303, 0, 0},//ферма
    {"",-63.2242,103.5831,3.1172, 0, 0, -46.4155,110.5303,3.1172,338.2355, 0, 0},
    {"",-71.6448,96.8622,3.4184, 0, 0, -68.8315,96.8338,3.1172,247.6812, 0, 0},
    {"",-70.0108,97.1345,3.1172, 0, 0, -74.9095,97.1277,3.1172,80.6964, 0, 0},
    {"Night Wolfs",1379.4336,118.2506,1501.1659, 0, 0, 1379.4336,118.2506,1501.1659,90.4372, 7, 7},
    {"Выход на улицу",2296.4065,-1977.5221,21.9804, 7, 7, 2296.4065,-1977.5221,21.9804,357.6896, 0, 0},
    {"Radio студия SF",-1941.0482,456.0038,35.1719, 0, 0, 1703.6064,-1668.0096,20.2259,269.1166, 18, 3},//word, int int, word
    {"San Fierro",1700.8987,-1667.9185,20.2259, 3, 18, -1941.4008,459.7771,35.1719,1.2511, 0, 0},//wordint , intword
    {"",-1510.6035,459.8911,7.1875, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 13},

    {"Наркопритон",1814.4722,-1995.8588,13.5544, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 2},

    {"Наркопритон",2286.6912,-2012.8440,13.5447, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 3},

    {"Наркопритон",2333.4478,-1922.6251,12.2991, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 4},
    {"The Ghetto",318.586029, 1114.793212, 1083.882812, 4, 5, 2333.2817,-1919.0001,12.9586,359.0316, 0, 0},

    {"Наркопритон",2175.9934,-1503.9364,23.9520, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 6},

    {"Информационный центр",-2240.7681,577.8632,35.1719, 0, 0, 366.9214,162.2998,1025.7891,90.5603, 3, 1},
    {"На улицу",-925.3655,-2357.3103,1701.0859, 2, 2, 1568.4929,-1692.5367,5.8906,179.4458, 0, 0},
    {"Полицейский участок",1568.5947,-1689.9709,6.2188, 0, 0, -927.4053,-2356.8748,1701.0859,87.5521, 2, 2}
};

 

Весь код

Edited by odosenok
Причина: заключил весь код в спойлер.

Share this post


Link to post
Share on other sites

@ArsenLostovskiy1 Попробуй так:

new TeleportInfo[12][tpInfo] =

 

Share this post


Link to post
Share on other sites

@ArsenLostovskiy1, уберите вообще количество значений предустановленное. Пусть система сама считает:

Спойлер

new TeleportInfo[][tpInfo] =
{
    {"Тюрьма Сан Фиерро",-1606.3378,672.0713,-4.9063, 0, 0, 325.8035,94.0766,1001.0410,268.4566, 6, 13},
    {"Выход на улицу",323.9006,94.2639,1001.0410, 13, 6, -1606.3887,675.7780,-5.2422,359.2028, 0, 0},
    {"Мэрия",2412.3274,-1841.6921,22.9476, 0, 0, 1860.1224,1031.8214,1502.0000,179.3825, 2, 2},
    {"Выход на улицу",1862.1099,1031.8542,1502.0000, 2, 2, 2412.4961,-1844.4984,21.8546,184.2417, 0, 0},
    {"Полицейский участок",1554.866943, -1675.680297, 16.195312, 0, 0, -959.0286,-2358.1538,1701.0859,268.0805, 2, 2}, // Police LS
    {"Выход на улицу",-960.8102,-2358.1533,1701.0859, 2, 2, 1552.464599,-1675.447143,16.195312, 90.0, 0, 0}, // Police LS
    {"Полицейский участок",627.3923,-571.7623,17.9145, 0, 0, 246.7367,64.7762,1003.6406,359.3008, 6, 11}, // Police SF
    {"Выход на улицу",246.7980,62.4814,1003.6406, 11, 6, 630.7498,-571.5781,16.3359,268.5526, 0, 0}, // Police SF
    {"FBI",287.4745,-1611.9064,32.9373, 0, 0, -587.3000,-671.2534,1001.0859,92.8646, 2, 0},
    {"Выход на улицу",-585.3912,-671.2762,1001.0859, 0, 2, 287.9350,-1614.5675,33.0662,181.1810, 0, 0},
    {"Полицейский участок",-1605.5493,710.2738,13.8672, 0, 0, 246.3475,110.0356,1003.2257,0.1194, 10, 0},
    {"Выход на улицу",246.4371,107.3130,1003.2188, 0, 10 ,-1606.1509,713.7501,13.2903,359.7803, 0, 0},
    {"Полицейский участок",-1594.2084,716.2449,-4.9063, 0, 0, 216.9662,117.5420,1003.2188,273.3487, 10, 0},
    {"Выход в гараж",214.4533,116.9529,1003.2188, 0, 10, -1592.1372,715.8721,-5.2422,268.9620, 0, 0},
    {"Мэрия SF",-2765.854003, 375.598785, 6.334682, 0, 0, 387.794219, 173.858154, 1008.382812, 90.803520, 3, 1},
    {"San Fierro",390.4131,173.7889,1008.3828, 1, 3, -2764.148193,375.554595,6.326059, 271.943298, 0, 0},
    {"Radio студия LS",1653.9441,-1654.7587,22.5156, 0, 0, 1703.6064,-1668.0096,20.2259,269.1166, 18, 1},//word, int int, word
    {"Los Santos",1700.8987,-1667.9185,20.2259, 1, 18, 1653.5554,-1658.9841,22.5156,181.2989, 0, 0},//wordint , intword
    {"Автошкола",-2027.0585,-99.3543,35.2579, 0, 0, -2032.0493,-114.5915,35.2599,103.5576, 0, 0},
    {"San-Fierro",-2030.7273,-112.2272,35.2599, 0, 0, -2027.3667,-97.3583,35.2579,358.9032, 0, 0},
    {"Парковка",-2041.8939,-119.2454,35.2579, 0, 0,-2041.9072,-123.6755,35.2396,182.3970, 0, 0},
    {"Автошкола",-2042.0837,-121.6636,35.2241, 0, 0, -2042.0132,-117.1225,35.2579,355.3351, 0, 0},
    {"Los Santos",627.302978, -11.985424, 1000.921875, 1, 1, 1084.715942,-1226.635253,15.820312, 270.961944, 0, 0},
    {"San Fierro",964.776794, -53.210323, 1001.117187, 1, 3, -1552.170410,1165.444458,7.187500, 89.121200, 0, 0},
    {"Varrios Los Aztecas",2524.1243,-1998.7643,13.7826, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 4},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 4, 7, 2521.5767,-2001.4885,13.5469,137.3131, 0, 0},
    {"Los Santos Vagos",2795.966552, -1619.309692, 10.921875, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 2},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 2, 7, 2793.590820,-1618.637817,10.921875, 79.540718, 0, 0},
    {"Grove Street",2495.311035, -1690.930175, 14.765625, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 1},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 1, 7, 2495.2034,-1689.1195,14.2319, 0.9635, 0, 0},
    {"The Rifa",2185.7822, -1815.2261, 13.5469, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 5},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 5, 7, 2185.8145,-1810.8423, 13.5469, 1.5911, 0, 0},
    {"East Side Ballas",1996.9840,-1108.9204,26.8068, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 3},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 3, 7, 2000.2468,-1108.7992,26.7737,272.3124, 0, 0},
    {"La Cosa Nostra",1456.1313,2773.3252,10.8203, 0, 0, 830.1762,867.6147,1005.0040,182.0249, 5, 1},
    {"Las Venturas",830.4812,869.5156,1005.0040, 1, 5, 1460.8861,2773.1716,10.8203,269.9729, 0, 0},
    {"Yakuza",2634.7432,1824.2310,11.0161, 0, 0, 1947.4762,2213.2212,1501.0859,88.9017, 5, 0},
    {"Las Venturas",1949.6360,2213.3313,1501.0859, 0, 5, 2630.3728,1824.2715,11.0234,90.2341, 0, 0},
    {"Русская Мафия",937.0781,1731.0668,8.8516, 0, 0, -1662.6313,863.9360,1004.3510,89.0973, 3, 0},
    {"Las Venturas",-1659.7098,864.0506,1004.3409, 0, 3, 940.1907,1731.1997,8.8516,271.1088, 0, 0},
    {"Sport Club LS",2229.631835, -1721.709350, 13.565642, 0, 0, 773.9093,-76.9094,1000.6545,2.5748, 7, 0},
    {"Los Santos",773.8964,-78.8464,1000.6628, 0, 7, 2228.418701,-1722.766357,13.554397, 137.274353, 0, 0},
    {"Los Santos",964.776794, -53.210323, 1001.117187, 2, 3, 2194.1086,1677.1443,12.3672, 42.038417, 0, 0},
    {"Warlock MC", 681.5402,-473.3478,16.5363, 0, 0, 1577.8760,-1517.7976,1103.3810,267.8788, 3, 1},
    {"Выход на улицу", 1575.8328,-1517.7861,1103.3810, 1, 3, 681.6158,-476.9035,16.3359,178.3351, 0, 0},
    {"Больница LS",1172.6415, -1323.3395, 15.4030, 0, 0, 2065.9077,-1385.4116,1001.2960,1.5126, 2, 1},

    {"Наркопритон",2166.124267, -1671.345947, 15.073492, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 1},

    {"The Ghetto",318.586029, 1114.793212, 1083.882812, 1, 5, 2167.414550,-1672.636352,15.080650, 223.037063, 0, 0},

    {"Тир Los Santos",875.805541, -1565.014892, 13.533462, 0, 0, 298.074035,-26.779211,1001.515625, 90.0, 1, 0},

    {"Los Santos",299.993804, -26.763149, 1001.515625, 0, 1, 876.530090,-1566.720214,13.539081, 200.0, 0, 0},

    {"Завод",-86.3057, -299.6985, 2.7646, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 10},
    {"Лос Сантос",2577.3730,-1289.8970,1044.1250, 10, 2, -86.3985, -301.6363, 2.7646, 170.0, 0, 0},
    {"Церковь", 1720.3025,-1741.1660,13.5469,0,0,1274.6763,-1564.8978,3278.3521,89.3754,0,0},
    {"Unity Station", 1277.6923,-1564.9399,3278.3616,0,0,1720.2825,-1738.9661,13.5469,359.0755,0,0},
    {"San Fierro", -122.5312,-59.7999,1003.6160,0,0,-2168.4531,252.0057,35.3295,272.3488,0,0},
    {"CENTRAL HOTEL No1",1497.7190,-1582.6355,13.5469, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 3},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 3, 1, 1498.4694,-1586.2358,13.5469,180.5073, 0, 0},
    {"CENTRAL HOTEL No2",1499.2843,-1582.6288,13.5469, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 1},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 1, 1, 1498.4694,-1586.2358,13.5469,180.5073, 0, 0},


    {"LS HOTEL No3",325.3831,-1514.9725,36.0325, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 2},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 2, 1, 328.6411,-1517.9896,35.8672,1.2665, 0, 0},


    {"LS HOTEL No4",606.5820,-1457.0054,14.3563, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 5},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 5, 1, 610.3592,-1457.1979,14.3540,358.4465, 0, 0},

    {"LS HOTEL No5",334.7625,-1504.2760,36.0391, 0, 0, 197.9217,196.5635,1001.0859,2.2672,1, 6},
    {"Los Santos",197.6069,192.6454,1001.0859, 6, 1, 338.4149,-1508.0391,35.8672,4.6998, 0, 0},


    {"",2723.7825,-2028.5219,13.5472, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 7},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 7, 1, 2721.1589,-2028.5688,13.5472,90.8957, 0, 0},
    {"",2723.7820,-2011.9711,13.5547, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 8},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 8, 1, 2720.5266,-2012.1782,13.5547,93.0889, 0, 0},
    {"",2757.7007,-2058.4956,12.6221, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 9},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 9, 1, 2757.8984,-2055.6145,12.6167,355.9778, 0, 0},
    {"",2723.4365,-2114.9807,11.1390, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 10},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 10, 1, 2721.0776,-2115.1257,11.1369,88.7254, 0, 0},
    {"Sport Club LV",2092.6499,2493.1968,14.8390, 0, 0, 773.9093,-76.9094,1000.6545,2.5748, 7, 1},
    {"Las Venturas",773.8964,-78.8464,1000.6628, 1, 7, 2095.5288,2493.2524,14.8390,267.9022, 0, 0},
    {"Больница LV",1607.4197,1815.2408,10.8203, 0, 0, 2065.9077,-1385.4116,1001.2960,1.5126, 3, 2},
    {"Больница SF",-2668.8684,640.1640,14.4531, 0, 0, 2065.9077,-1385.4116,1001.2960,1.5126, 3, 3},
    {"",2731.6279,-2417.5535,13.6280, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 11},
    {"",2577.3730,-1289.8970,1044.1250, 11, 2, 2731.6812,-2416.2803,13.6277,0.7204, 0, 0},
    {"",237.8633,1872.3997,11.4609, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 12},
    {"",2577.3730,-1289.8970,1044.1250, 12, 2, 233.9474,1872.2189,11.4609,90.4364, 0, 0},
    {"Полицейский участок LV",2287.0254,2432.3618,10.8203, 0, 0, 246.7367,64.7762,1003.6406,359.3008, 6, 12}, // Police SF
    {"Выход на улицу",246.7980,62.4814,1003.6406, 12, 6, 2287.0684,2428.8718,10.8203,179.2759, 0, 0}, // Police SF
    {"Полицейский участок LV",2297.1162,2451.5430,10.8203, 0, 0, 246.5371,85.6301,1003.6406,180.1683, 6, 12}, // Police SF
    {"Выход на улицу",246.4687,87.8630,1003.6406, 12, 6, 2293.2761,2451.4275,10.8203,87.4205, 0, 0}, // Police SF
    {"Вход на крышу",2297.1160,2468.7705,10.8203, 0, 0, 2290.2505,2460.7644,38.6875,284.8691, 0, 0}, // Police SF
    {"Выход в гараж",2287.9663,2458.1406,38.6875, 0, 0, 2294.0698,2468.4187,10.8203,88.4307, 0, 0}, // Police SF
    {"Radio студия LV",2637.8018,1185.2871,10.8203, 0, 0, 1703.6064,-1668.0096,20.2259,269.1166, 18, 2},//word, int int, word
    {"Las-Venturas",1700.8987,-1667.9185,20.2259, 2, 18, 2637.8726,1182.4669,10.8203,179.5183, 0, 0},//wordint , intword
    {"Банковское отделение города Las Venturas",2375.5674,2306.3022,8.1406, 0, 0, 487.3989,1307.4255,774.4839,0.6282, 1, 2},//word, int int, word
    {"",487.5179,1304.6077,774.4839,2,1, 2375.3784,2310.3059,8.1406,0.8172, 0, 0},//wordint , intword
    {"АвиаШкола",2640.9631,1095.5267,10.8203, 0, 0, -2027.7902,-105.3816,1035.1719,90.0, 3, 1},
    {"Las Venturas",-2026.8085,-103.6107,1035.1798, 1, 3, 2641.1375,1092.6433,10.8203,182.4568, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 11, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 12, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 13, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 14, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 15, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 16, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"",-47.2234,108.2000,3.1852, 0, 0, -64.3512,102.1318,3.1172,140.2303, 0, 0},//ферма
    {"",-63.2242,103.5831,3.1172, 0, 0, -46.4155,110.5303,3.1172,338.2355, 0, 0},
    {"",-71.6448,96.8622,3.4184, 0, 0, -68.8315,96.8338,3.1172,247.6812, 0, 0},
    {"",-70.0108,97.1345,3.1172, 0, 0, -74.9095,97.1277,3.1172,80.6964, 0, 0},
    {"Night Wolfs",1379.4336,118.2506,1501.1659, 0, 0, 1379.4336,118.2506,1501.1659,90.4372, 7, 7},
    {"Выход на улицу",2296.4065,-1977.5221,21.9804, 7, 7, 2296.4065,-1977.5221,21.9804,357.6896, 0, 0},
    {"Radio студия SF",-1941.0482,456.0038,35.1719, 0, 0, 1703.6064,-1668.0096,20.2259,269.1166, 18, 3},//word, int int, word
    {"San Fierro",1700.8987,-1667.9185,20.2259, 3, 18, -1941.4008,459.7771,35.1719,1.2511, 0, 0},//wordint , intword
    {"",-1510.6035,459.8911,7.1875, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 13},

    {"Наркопритон",1814.4722,-1995.8588,13.5544, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 2},

    {"Наркопритон",2286.6912,-2012.8440,13.5447, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 3},

    {"Наркопритон",2333.4478,-1922.6251,12.2991, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 4},
    {"The Ghetto",318.586029, 1114.793212, 1083.882812, 4, 5, 2333.2817,-1919.0001,12.9586,359.0316, 0, 0},

    {"Наркопритон",2175.9934,-1503.9364,23.9520, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 6},

    {"Информационный центр",-2240.7681,577.8632,35.1719, 0, 0, 366.9214,162.2998,1025.7891,90.5603, 3, 1},
    {"На улицу",-925.3655,-2357.3103,1701.0859, 2, 2, 1568.4929,-1692.5367,5.8906,179.4458, 0, 0},
    {"Полицейский участок",1568.5947,-1689.9709,6.2188, 0, 0, -927.4053,-2356.8748,1701.0859,87.5521, 2, 2}
};

 

 

@Shakoladka, 121 - это количество строк в массиве, а не количество столбцов. Количество столбцов устанавливается перечислением (enum) tpInfo. Здесь либо стоит пересчитать количество этих строк (а их 116), либо вообще не считать - это сделает система гораздо быстрее.

Share this post


Link to post
Share on other sites
12 минут назад, odosenok сказал:

@ArsenLostovskiy1, уберите вообще количество значений предустановленное. Пусть система сама считает:

  Код (закрыть спойлер)


new TeleportInfo[][tpInfo] =
{
    {"Тюрьма Сан Фиерро",-1606.3378,672.0713,-4.9063, 0, 0, 325.8035,94.0766,1001.0410,268.4566, 6, 13},
    {"Выход на улицу",323.9006,94.2639,1001.0410, 13, 6, -1606.3887,675.7780,-5.2422,359.2028, 0, 0},
    {"Мэрия",2412.3274,-1841.6921,22.9476, 0, 0, 1860.1224,1031.8214,1502.0000,179.3825, 2, 2},
    {"Выход на улицу",1862.1099,1031.8542,1502.0000, 2, 2, 2412.4961,-1844.4984,21.8546,184.2417, 0, 0},
    {"Полицейский участок",1554.866943, -1675.680297, 16.195312, 0, 0, -959.0286,-2358.1538,1701.0859,268.0805, 2, 2}, // Police LS
    {"Выход на улицу",-960.8102,-2358.1533,1701.0859, 2, 2, 1552.464599,-1675.447143,16.195312, 90.0, 0, 0}, // Police LS
    {"Полицейский участок",627.3923,-571.7623,17.9145, 0, 0, 246.7367,64.7762,1003.6406,359.3008, 6, 11}, // Police SF
    {"Выход на улицу",246.7980,62.4814,1003.6406, 11, 6, 630.7498,-571.5781,16.3359,268.5526, 0, 0}, // Police SF
    {"FBI",287.4745,-1611.9064,32.9373, 0, 0, -587.3000,-671.2534,1001.0859,92.8646, 2, 0},
    {"Выход на улицу",-585.3912,-671.2762,1001.0859, 0, 2, 287.9350,-1614.5675,33.0662,181.1810, 0, 0},
    {"Полицейский участок",-1605.5493,710.2738,13.8672, 0, 0, 246.3475,110.0356,1003.2257,0.1194, 10, 0},
    {"Выход на улицу",246.4371,107.3130,1003.2188, 0, 10 ,-1606.1509,713.7501,13.2903,359.7803, 0, 0},
    {"Полицейский участок",-1594.2084,716.2449,-4.9063, 0, 0, 216.9662,117.5420,1003.2188,273.3487, 10, 0},
    {"Выход в гараж",214.4533,116.9529,1003.2188, 0, 10, -1592.1372,715.8721,-5.2422,268.9620, 0, 0},
    {"Мэрия SF",-2765.854003, 375.598785, 6.334682, 0, 0, 387.794219, 173.858154, 1008.382812, 90.803520, 3, 1},
    {"San Fierro",390.4131,173.7889,1008.3828, 1, 3, -2764.148193,375.554595,6.326059, 271.943298, 0, 0},
    {"Radio студия LS",1653.9441,-1654.7587,22.5156, 0, 0, 1703.6064,-1668.0096,20.2259,269.1166, 18, 1},//word, int int, word
    {"Los Santos",1700.8987,-1667.9185,20.2259, 1, 18, 1653.5554,-1658.9841,22.5156,181.2989, 0, 0},//wordint , intword
    {"Автошкола",-2027.0585,-99.3543,35.2579, 0, 0, -2032.0493,-114.5915,35.2599,103.5576, 0, 0},
    {"San-Fierro",-2030.7273,-112.2272,35.2599, 0, 0, -2027.3667,-97.3583,35.2579,358.9032, 0, 0},
    {"Парковка",-2041.8939,-119.2454,35.2579, 0, 0,-2041.9072,-123.6755,35.2396,182.3970, 0, 0},
    {"Автошкола",-2042.0837,-121.6636,35.2241, 0, 0, -2042.0132,-117.1225,35.2579,355.3351, 0, 0},
    {"Los Santos",627.302978, -11.985424, 1000.921875, 1, 1, 1084.715942,-1226.635253,15.820312, 270.961944, 0, 0},
    {"San Fierro",964.776794, -53.210323, 1001.117187, 1, 3, -1552.170410,1165.444458,7.187500, 89.121200, 0, 0},
    {"Varrios Los Aztecas",2524.1243,-1998.7643,13.7826, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 4},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 4, 7, 2521.5767,-2001.4885,13.5469,137.3131, 0, 0},
    {"Los Santos Vagos",2795.966552, -1619.309692, 10.921875, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 2},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 2, 7, 2793.590820,-1618.637817,10.921875, 79.540718, 0, 0},
    {"Grove Street",2495.311035, -1690.930175, 14.765625, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 1},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 1, 7, 2495.2034,-1689.1195,14.2319, 0.9635, 0, 0},
    {"The Rifa",2185.7822, -1815.2261, 13.5469, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 5},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 5, 7, 2185.8145,-1810.8423, 13.5469, 1.5911, 0, 0},
    {"East Side Ballas",1996.9840,-1108.9204,26.8068, 0, 0, 1410.5033,-1646.8865,1259.8119,274.4427, 7, 3},
    {"Выход на улицу",1408.5763,-1646.8601,1259.8119, 3, 7, 2000.2468,-1108.7992,26.7737,272.3124, 0, 0},
    {"La Cosa Nostra",1456.1313,2773.3252,10.8203, 0, 0, 830.1762,867.6147,1005.0040,182.0249, 5, 1},
    {"Las Venturas",830.4812,869.5156,1005.0040, 1, 5, 1460.8861,2773.1716,10.8203,269.9729, 0, 0},
    {"Yakuza",2634.7432,1824.2310,11.0161, 0, 0, 1947.4762,2213.2212,1501.0859,88.9017, 5, 0},
    {"Las Venturas",1949.6360,2213.3313,1501.0859, 0, 5, 2630.3728,1824.2715,11.0234,90.2341, 0, 0},
    {"Русская Мафия",937.0781,1731.0668,8.8516, 0, 0, -1662.6313,863.9360,1004.3510,89.0973, 3, 0},
    {"Las Venturas",-1659.7098,864.0506,1004.3409, 0, 3, 940.1907,1731.1997,8.8516,271.1088, 0, 0},
    {"Sport Club LS",2229.631835, -1721.709350, 13.565642, 0, 0, 773.9093,-76.9094,1000.6545,2.5748, 7, 0},
    {"Los Santos",773.8964,-78.8464,1000.6628, 0, 7, 2228.418701,-1722.766357,13.554397, 137.274353, 0, 0},
    {"Los Santos",964.776794, -53.210323, 1001.117187, 2, 3, 2194.1086,1677.1443,12.3672, 42.038417, 0, 0},
    {"Warlock MC", 681.5402,-473.3478,16.5363, 0, 0, 1577.8760,-1517.7976,1103.3810,267.8788, 3, 1},
    {"Выход на улицу", 1575.8328,-1517.7861,1103.3810, 1, 3, 681.6158,-476.9035,16.3359,178.3351, 0, 0},
    {"Больница LS",1172.6415, -1323.3395, 15.4030, 0, 0, 2065.9077,-1385.4116,1001.2960,1.5126, 2, 1},

    {"Наркопритон",2166.124267, -1671.345947, 15.073492, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 1},

    {"The Ghetto",318.586029, 1114.793212, 1083.882812, 1, 5, 2167.414550,-1672.636352,15.080650, 223.037063, 0, 0},

    {"Тир Los Santos",875.805541, -1565.014892, 13.533462, 0, 0, 298.074035,-26.779211,1001.515625, 90.0, 1, 0},

    {"Los Santos",299.993804, -26.763149, 1001.515625, 0, 1, 876.530090,-1566.720214,13.539081, 200.0, 0, 0},

    {"Завод",-86.3057, -299.6985, 2.7646, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 10},
    {"Лос Сантос",2577.3730,-1289.8970,1044.1250, 10, 2, -86.3985, -301.6363, 2.7646, 170.0, 0, 0},
    {"Церковь", 1720.3025,-1741.1660,13.5469,0,0,1274.6763,-1564.8978,3278.3521,89.3754,0,0},
    {"Unity Station", 1277.6923,-1564.9399,3278.3616,0,0,1720.2825,-1738.9661,13.5469,359.0755,0,0},
    {"San Fierro", -122.5312,-59.7999,1003.6160,0,0,-2168.4531,252.0057,35.3295,272.3488,0,0},
    {"CENTRAL HOTEL No1",1497.7190,-1582.6355,13.5469, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 3},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 3, 1, 1498.4694,-1586.2358,13.5469,180.5073, 0, 0},
    {"CENTRAL HOTEL No2",1499.2843,-1582.6288,13.5469, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 1},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 1, 1, 1498.4694,-1586.2358,13.5469,180.5073, 0, 0},


    {"LS HOTEL No3",325.3831,-1514.9725,36.0325, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 2},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 2, 1, 328.6411,-1517.9896,35.8672,1.2665, 0, 0},


    {"LS HOTEL No4",606.5820,-1457.0054,14.3563, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 5},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 5, 1, 610.3592,-1457.1979,14.3540,358.4465, 0, 0},

    {"LS HOTEL No5",334.7625,-1504.2760,36.0391, 0, 0, 197.9217,196.5635,1001.0859,2.2672,1, 6},
    {"Los Santos",197.6069,192.6454,1001.0859, 6, 1, 338.4149,-1508.0391,35.8672,4.6998, 0, 0},


    {"",2723.7825,-2028.5219,13.5472, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 7},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 7, 1, 2721.1589,-2028.5688,13.5472,90.8957, 0, 0},
    {"",2723.7820,-2011.9711,13.5547, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 8},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 8, 1, 2720.5266,-2012.1782,13.5547,93.0889, 0, 0},
    {"",2757.7007,-2058.4956,12.6221, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 9},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 9, 1, 2757.8984,-2055.6145,12.6167,355.9778, 0, 0},
    {"",2723.4365,-2114.9807,11.1390, 0, 0, 2216.1108,-1150.4834,1025.7969, 270.0, 1, 10},
    {"Los Santos",2214.7983,-1150.5040,1025.7969, 10, 1, 2721.0776,-2115.1257,11.1369,88.7254, 0, 0},
    {"Sport Club LV",2092.6499,2493.1968,14.8390, 0, 0, 773.9093,-76.9094,1000.6545,2.5748, 7, 1},
    {"Las Venturas",773.8964,-78.8464,1000.6628, 1, 7, 2095.5288,2493.2524,14.8390,267.9022, 0, 0},
    {"Больница LV",1607.4197,1815.2408,10.8203, 0, 0, 2065.9077,-1385.4116,1001.2960,1.5126, 3, 2},
    {"Больница SF",-2668.8684,640.1640,14.4531, 0, 0, 2065.9077,-1385.4116,1001.2960,1.5126, 3, 3},
    {"",2731.6279,-2417.5535,13.6280, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 11},
    {"",2577.3730,-1289.8970,1044.1250, 11, 2, 2731.6812,-2416.2803,13.6277,0.7204, 0, 0},
    {"",237.8633,1872.3997,11.4609, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 12},
    {"",2577.3730,-1289.8970,1044.1250, 12, 2, 233.9474,1872.2189,11.4609,90.4364, 0, 0},
    {"Полицейский участок LV",2287.0254,2432.3618,10.8203, 0, 0, 246.7367,64.7762,1003.6406,359.3008, 6, 12}, // Police SF
    {"Выход на улицу",246.7980,62.4814,1003.6406, 12, 6, 2287.0684,2428.8718,10.8203,179.2759, 0, 0}, // Police SF
    {"Полицейский участок LV",2297.1162,2451.5430,10.8203, 0, 0, 246.5371,85.6301,1003.6406,180.1683, 6, 12}, // Police SF
    {"Выход на улицу",246.4687,87.8630,1003.6406, 12, 6, 2293.2761,2451.4275,10.8203,87.4205, 0, 0}, // Police SF
    {"Вход на крышу",2297.1160,2468.7705,10.8203, 0, 0, 2290.2505,2460.7644,38.6875,284.8691, 0, 0}, // Police SF
    {"Выход в гараж",2287.9663,2458.1406,38.6875, 0, 0, 2294.0698,2468.4187,10.8203,88.4307, 0, 0}, // Police SF
    {"Radio студия LV",2637.8018,1185.2871,10.8203, 0, 0, 1703.6064,-1668.0096,20.2259,269.1166, 18, 2},//word, int int, word
    {"Las-Venturas",1700.8987,-1667.9185,20.2259, 2, 18, 2637.8726,1182.4669,10.8203,179.5183, 0, 0},//wordint , intword
    {"Банковское отделение города Las Venturas",2375.5674,2306.3022,8.1406, 0, 0, 487.3989,1307.4255,774.4839,0.6282, 1, 2},//word, int int, word
    {"",487.5179,1304.6077,774.4839,2,1, 2375.3784,2310.3059,8.1406,0.8172, 0, 0},//wordint , intword
    {"АвиаШкола",2640.9631,1095.5267,10.8203, 0, 0, -2027.7902,-105.3816,1035.1719,90.0, 3, 1},
    {"Las Venturas",-2026.8085,-103.6107,1035.1798, 1, 3, 2641.1375,1092.6433,10.8203,182.4568, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 11, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 12, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 13, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 14, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 15, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"Las Venturas",1124.6691,-2590.2566,1221.5060, 16, 0, 2021.7129,1007.9681,10.8203,272.8920, 0, 0},
    {"",-47.2234,108.2000,3.1852, 0, 0, -64.3512,102.1318,3.1172,140.2303, 0, 0},//ферма
    {"",-63.2242,103.5831,3.1172, 0, 0, -46.4155,110.5303,3.1172,338.2355, 0, 0},
    {"",-71.6448,96.8622,3.4184, 0, 0, -68.8315,96.8338,3.1172,247.6812, 0, 0},
    {"",-70.0108,97.1345,3.1172, 0, 0, -74.9095,97.1277,3.1172,80.6964, 0, 0},
    {"Night Wolfs",1379.4336,118.2506,1501.1659, 0, 0, 1379.4336,118.2506,1501.1659,90.4372, 7, 7},
    {"Выход на улицу",2296.4065,-1977.5221,21.9804, 7, 7, 2296.4065,-1977.5221,21.9804,357.6896, 0, 0},
    {"Radio студия SF",-1941.0482,456.0038,35.1719, 0, 0, 1703.6064,-1668.0096,20.2259,269.1166, 18, 3},//word, int int, word
    {"San Fierro",1700.8987,-1667.9185,20.2259, 3, 18, -1941.4008,459.7771,35.1719,1.2511, 0, 0},//wordint , intword
    {"",-1510.6035,459.8911,7.1875, 0, 0, 2575.9531,-1289.5161,1044.1250,87.2380, 2, 13},

    {"Наркопритон",1814.4722,-1995.8588,13.5544, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 2},

    {"Наркопритон",2286.6912,-2012.8440,13.5447, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 3},

    {"Наркопритон",2333.4478,-1922.6251,12.2991, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 4},
    {"The Ghetto",318.586029, 1114.793212, 1083.882812, 4, 5, 2333.2817,-1919.0001,12.9586,359.0316, 0, 0},

    {"Наркопритон",2175.9934,-1503.9364,23.9520, 0, 0, 318.662506,1116.091186,1083.882812, 1.946820, 5, 6},

    {"Информационный центр",-2240.7681,577.8632,35.1719, 0, 0, 366.9214,162.2998,1025.7891,90.5603, 3, 1},
    {"На улицу",-925.3655,-2357.3103,1701.0859, 2, 2, 1568.4929,-1692.5367,5.8906,179.4458, 0, 0},
    {"Полицейский участок",1568.5947,-1689.9709,6.2188, 0, 0, -927.4053,-2356.8748,1701.0859,87.5521, 2, 2}
};

 

 

@Shakoladka, 121 - это количество строк в массиве, а не количество столбцов. Количество столбцов устанавливается перечислением (enum) tpInfo. Здесь либо стоит пересчитать количество этих строк (а их 116), либо вообще не считать - это сделает система гораздо быстрее.

Спасибо помогли

Заметка от Jawn , создано

В таком случае следует закрыть данную тему (если, конечно, проблема действительно разрешена и нет вопросов по проблеме) так, как сказано в этой теме.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Романтик228
      By Романтик228
      можно играть как и в мобаил так и на пк.Есть охота, семейный отель, рейтинг семьи, крафты,бд идёт вместе с модом,фракции и банды все присутствует в моде. 
    • Романтик228
      By Романтик228


      Просмотр файла Мод samp
      можно играть как и в мобаил так и на пк.Есть охота, семейный отель, рейтинг семьи, крафты,бд идёт вместе с модом,фракции и банды все присутствует в моде. 
      Добавил Романтик228 Добавлено 20.10.2021 Категория Моды Автор Roman  
    • danko
      By danko
      Выдает вот такую ошибку и всё по нулям, базу нормально установил