- 0
Войдите для возможности подписаться
Подписчики
0
Остановки работают не по координатам
Вопрос от
archiboy6 P
,
-
Последние посетители 0 пользователей онлайн
Ни одного зарегистрированного пользователя не просматривает данную страницу
-
Похожий контент
-
Опубликовано · Жалоба
Остановки работают не по координатам вот координаты маршрута всё работает но остановки в разных местах не по координатам
static const stock Float:BusLS[][] = { {397.1198,1559.4076,12.0901,375.2375,1631.5188,12.1646}, {303.7638,1394.8607,25.7825,288.6138,1192.5959,12.6388}, {409.7556,1141.0251,12.0707,546.4087,1129.4772,12.2115}, {649.5908,1066.4587,12.2030,749.5986,952.9778,12.1682}, {758.7344,818.4894,12.0692,695.9787,643.3773,12.0715}, {586.4102,664.4623,12.0708,402.4167,733.8387,12.0718}, {307.4818,772.4587,12.0721,172.3298,823.6242,12.0731}, {20.0955,880.4139,12.0708,-98.3105,926.6559,12.0727}, {-278.2410,978.1783,12.0725,-361.5868,974.0771,12.0708}, {-386.3179,833.1888,12.0689,-381.3394,636.7564,12.0743}, {-294.5026,593.7834,12.0694,-75.4983,567.4636,12.0723}, {-75.4983,567.4636,12.0723,90.0445,542.6003,12.0715}, {334.0017,450.7922,19.8759,560.2200,189.0126,25.4652}, {1009.6761,132.4266,25.4662,1422.1805,-41.6903,25.4604}, {1791.5853,-174.6891,10.1621,2148.2405,-493.4282,17.6177}, {2110.1519,-789.9018,15.3431,2478.1042,-800.4069,12.5187}, {2730.0637,-971.4874,23.7157,2739.4373,-1196.4729,23.6209}, {2728.2417,-1461.9918,23.6905,2602.6738,-1547.6580,23.7728}, {2587.1663,-1760.2841,21.8857,2586.7034,-2090.2278,21.8870}, {2521.2410,-2146.4211,21.8876,2484.7185,-2147.5400,22.1038}, {2285.6267,-2149.3433,21.8835,2293.0676,-1978.3376,21.8980}, {2292.4143,-1755.9276,21.8832,2406.2959,-1529.4181,23.7046}, {2750.5042,-1413.2705,23.8957,2755.4692,-1013.4069,23.8117}, {2810.3997,-402.6368,25.6949,2913.7808,193.7902,13.6533}, {2843.3423,777.9075,31.2777,2639.5422,1235.6536,22.1804}, {2558.9541,1438.7620,11.4979,2320.2556,1458.4933,11.5693}, // {2237.3264,1527.0898,11.5170,2028.1353,1553.6232,15.7549}, {1978.2886,1673.8608,15.9075, 1965.9584,1889.0581,15.5955}, {1953.5394,2051.4419,15.9424,1892.1852,2083.8145,15.9827}, {1901.9863,2083.5562,15.7631,1962.9675,1922.8899,15.5157}, {1985.1100,1642.6857,16.0333,1941.1155,1513.8839,13.3887}, {1877.0376,1367.9955,10.0680,1763.5985,1320.4520,9.9919}, {1656.0776,1452.7123,12.1007,1609.4038,1475.0939,11.8628}, {1445.6484,1492.5061,11.9220,1134.8636,1491.8549,11.9242}, {1004.4894,1501.4647,12.1381,1004.4894,1501.4647,12.1381}, {648.1553,1606.5284,12.1482,648.1553,1606.5284,12.1482}, {364.4745,1564.2006,12.0870,0.0, 0.0, 0.0} };
а вот остановки
if(pPressed[playerid] == 91) pPressed[playerid] = 0; else pPressed[playerid]++; new i = pPressed[playerid]; SetPlayerRaceCheckpoint(playerid,0,BusLS[i][0],BusLS[i][1],BusLS[i][2],BusLS[i][3],BusLS[i][4],BusLS[i][5],5.0); SetPVarInt(playerid, "BusStop", 0);
Поделиться сообщением
Ссылка на сообщение