Detaljan opis problema: Invalid funcion or declaraion nes tako
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2837.957275, -1893.347412, 10.664587))
{
if(TourNL == 3)
{
TourNL = 4;
SetPlayerRaceCheckpoint(playerid, 0, 2841.815673, -390.360168, 8.365418, 2792.997314, -250.163940, 10.056324, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2841.815673, -390.360168, 8.365418))
{
if(TourNL == 4)
{
TourNL = 5;
SetPlayerRaceCheckpoint(playerid, 0, 2792.997314, -250.163940, 10.056324 , 2859.213378, -163.816574, 19.430246, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2792.100585, -251.371322, 9.916195))
{
if(TourNL == 5)
{
TourNL = 6;
SetPlayerRaceCheckpoint(playerid, 0, 2859.213378, -163.816467, 19.430259, 2882.157226, -62.928043, 19.342945, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2859.213378, -163.816467, 19.430259))
{
if(TourNL == 6)
{
TourNL = 7;
SetPlayerRaceCheckpoint(playerid, 0, 2882.157226, -62.928035, 19.342937, 2783.572265, 134.972656, 21.338451, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2882.157226, -62.928035, 19.342937))
{
if(TourNL == 7)
{
TourNL = 8;
SetPlayerRaceCheckpoint(playerid, 0, 2783.572265, 134.972656, 21.338451, 2740.534179, 271.337860, 19.992706, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2783.572265, 134.972656, 21.338451))
{
if(TourNL == 8)
{
TourNL = 9;
SetPlayerRaceCheckpoint(playerid, 0, 2740.534179, 271.337860, 19.992706, 2493.771972, 317.984130, 30.092067, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2740.534179, 271.337860, 19.992706))
{
if(TourNL == 9)
{
TourNL = 10;
SetPlayerRaceCheckpoint(playerid, 0, 2493.771972, 317.984130, 30.092067, 1729.166259, 293.718139, 17.922473, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2493.771972, 317.984130, 30.092067))
{
if(TourNL == 10)
{
TourNL = 11;
SetPlayerRaceCheckpoint(playerid, 0, 1729.166259, 293.718139, 17.922473, 1700.482666, 367.014526, 29.725021, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1729.166259, 293.718139, 17.922473))
{
if(TourNL == 11)
{
TourNL = 12;
SetPlayerRaceCheckpoint(playerid, 0, 1700.482666, 367.014526, 29.725021, 1805.439086, 834.016662, 10.398960, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1700.482666, 367.014526, 29.725021))
{
if(TourNL == 12)
{
TourNL = 13;
SetPlayerRaceCheckpoint(playerid, 0, 1805.439086, 834.016662, 10.398960, 2236.945556, 834.345092, 6.465256, 15.0);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(TourNL > 0)
{
new hString;
new hTrkac;
RPIme(playerid, hTrkac);
format(hString, sizeof(hString), "|NL Trka| - Prolaz : %s", hTrkac);
SendClientMessage(i, PLAVA, hString);
}
}
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1805.439086, 834.016662, 10.398960))
{
if(TourNL == 13)
{
TourNL = 14;
SetPlayerRaceCheckpoint(playerid, 0, 2236.945556, 834.345092, 6.465256, 2551.212158, 857.691772, 6.461428, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2236.945556, 834.345092, 6.465256))
{
if(TourNL == 14)
{
TourNL = 15;
SetPlayerRaceCheckpoint(playerid, 0, 2551.212158, 857.691772, 6.461428, 2726.811035, 1131.303100, 6.461459, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2551.212158, 857.691772, 6.461428))
{
if(TourNL == 15)
{
TourNL = 16;
SetPlayerRaceCheckpoint(playerid, 0, 2726.811035, 1131.303100, 6.461459, 2726.471679, 2296.783935, 6.461461, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2726.811035, 1131.303100, 6.461459))
{
if(TourNL == 16)
{
TourNL = 17;
SetPlayerRaceCheckpoint(playerid, 0, 2726.471679, 2296.783935, 6.461461, 2547.480957, 2588.346923, 4.586437, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2726.471679, 2296.783935, 6.461461))
{
if(TourNL == 17)
{
TourNL = 18;
SetPlayerRaceCheckpoint(playerid, 0, 2547.480957, 2588.346923, 4.586437, 1731.954223, 2487.813720, 6.558228, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2547.480957, 2588.346923, 4.586437))
{
if(TourNL == 18)
{
TourNL = 19;
SetPlayerRaceCheckpoint(playerid, 0, 1731.954223, 2487.813720, 6.558228, 1094.356201, 2503.124755, 10.333883, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1731.954223, 2487.813720, 6.558228))
{
if(TourNL == 19)
{
TourNL = 20;
SetPlayerRaceCheckpoint(playerid, 0, 1094.356201, 2503.124755, 10.333883, 421.952087, 2687.326416, 59.944362, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1094.356201, 2503.124755, 10.333883))
{
if(TourNL == 20)
{
TourNL = 21;
SetPlayerRaceCheckpoint(playerid, 0, 421.952087, 2687.326416, 59.944362, 169.396148, 2749.980712, 56.194610, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 421.952087, 2687.326416, 59.944362))
{
if(TourNL == 21)
{
TourNL = 22;
SetPlayerRaceCheckpoint(playerid, 0, 169.396148, 2749.980712, 56.194610, -56.603412, 2637.515136, 63.438983, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 169.396148, 2749.980712, 56.194610))
{
if(TourNL == 22)
{
TourNL = 23;
SetPlayerRaceCheckpoint(playerid, 0, -56.603412, 2637.515136, 63.438983, -348.631683, 2647.294189, 64.054824, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -56.603412, 2637.515136, 63.438983))
{
if(TourNL == 23)
{
TourNL = 24;
SetPlayerRaceCheckpoint(playerid, 0, -348.631683, 2647.294189, 64.054824, -624.817504, 2754.447998, 60.133342, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -348.631683, 2647.294189, 64.054824))
{
if(TourNL == 24)
{
TourNL = 25;
SetPlayerRaceCheckpoint(playerid, 0, -624.817504, 2754.447998, 60.133342, -965.044860, 2716.769531, 45.594234, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -624.817504, 2754.447998, 60.133342))
{
if(TourNL == 25)
{
TourNL = 26;
SetPlayerRaceCheckpoint(playerid, 0, -965.044860, 2716.769531, 45.594234, -1347.542968, 2645.006347, 50.558483, 15.0);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(TourNL > 0)
{
new hString;
new hTrkac;
RPIme(playerid, hTrkac);
format(hString, sizeof(hString), "|NL Trka| - Prolaz : %s", hTrkac);
SendClientMessage(i, PLAVA, hString);
}
}
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -965.044860, 2716.769531, 45.594234))
{
if(TourNL == 26)
{
TourNL = 27;
SetPlayerRaceCheckpoint(playerid, 0, -1347.542968, 2645.006347, 50.558483, -1490.584106, 2730.995361, 65.475738, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1347.542968, 2645.006347, 50.558483))
{
if(TourNL == 27)
{
TourNL = 28;
SetPlayerRaceCheckpoint(playerid, 0, -1490.584106, 2730.995361, 65.475738, -1715.718750, 2732.526855, 60.794689, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1490.584106, 2730.995361, 65.475738))
{
if(TourNL == 28)
{
TourNL = 29;
SetPlayerRaceCheckpoint(playerid, 0, -1715.718750, 2732.526855, 60.794689, -1818.202880, 2686.802490, 55.487575, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1715.718750, 2732.526855, 60.794689))
{
if(TourNL == 29)
{
TourNL = 30;
SetPlayerRaceCheckpoint(playerid, 0, -1818.202880, 2686.802490, 55.487575, -1920.008178, 2614.275146, 47.400810, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1818.202880, 2686.802490, 55.487575))
{
if(TourNL == 30)
{
TourNL = 31;
SetPlayerRaceCheckpoint(playerid, 0, -1920.008178, 2614.275146, 47.400810, -2267.531494, 2677.111816, 55.123725, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1920.008178, 2614.275146, 47.400810))
{
if(TourNL == 31)
{
TourNL = 32;
SetPlayerRaceCheckpoint(playerid, 0, -2267.531494, 2677.111816, 55.123725, -2686.334228, 2657.492919, 85.269828, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2267.531494, 2677.111816, 55.123725))
{
if(TourNL == 32)
{
TourNL = 33;
SetPlayerRaceCheckpoint(playerid, 0, -2686.334228, 2657.492919, 85.269828, -2689.494384, 2166.302734, 55.156738, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2686.334228, 2657.492919, 85.269828))
{
if(TourNL == 33)
{
TourNL = 34;
SetPlayerRaceCheckpoint(playerid, 0, -2689.494384, 2166.302734, 55.156738, -2689.683349, 1332.968017, 55.156120, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2689.494384, 2166.302734, 55.156738))
{
if(TourNL == 34)
{
TourNL = 35;
SetPlayerRaceCheckpoint(playerid, 0, -2689.683349, 1332.968017, 55.156120, -2613.568603, 1129.265258, 55.148975, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2689.683349, 1332.968017, 55.156120))
{
if(TourNL == 35)
{
TourNL = 36;
SetPlayerRaceCheckpoint(playerid, 0, -2613.568603, 1129.265258, 55.148975, -1885.307495, 1056.152343, 45.023975, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2613.568603, 1129.265258, 55.148975))
{
if(TourNL == 36)
{
TourNL = 37;
SetPlayerRaceCheckpoint(playerid, 0, -1885.307495, 1056.152343, 45.023975, -1898.899414, 925.674377, 34.743175, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1885.307495, 1056.152343, 45.023975))
{
if(TourNL == 37)
{
TourNL = 38;
SetPlayerRaceCheckpoint(playerid, 0, -1898.899414, 925.674377, 34.743175, -1558.357421, 919.604309, 6.766146, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1898.899414, 925.674377, 34.743175))
{
if(TourNL == 38)
{
TourNL = 39;
SetPlayerRaceCheckpoint(playerid, 0, -1558.357421, 919.604309, 6.766146, -1573.342407, 481.118194, 6.758334, 15.0);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(TourNL > 0)
{
new hString;
new hTrkac;
RPIme(playerid, hTrkac);
format(hString, sizeof(hString), "|NL Trka| - Prolaz : %s", hTrkac);
SendClientMessage(i, PLAVA, hString);
}
}
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1558.357421, 919.604309, 6.766146))
{
if(TourNL == 39)
{
TourNL = 41;
SetPlayerRaceCheckpoint(playerid, 0, -1573.342407, 481.118194, 6.758334 , -1746.552490, 310.743957, 6.758343, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1573.342407, 481.118194, 6.758334))
{
if(TourNL == 41)
{
TourNL = 42;
SetPlayerRaceCheckpoint(playerid, 0, -1746.552490, 310.743957, 6.758343, -1841.168579, 379.775207, 16.837575, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1746.552490, 310.743957, 6.758343))
{
if(TourNL == 42)
{
TourNL = 43;
SetPlayerRaceCheckpoint(playerid, 0, -1841.168579, 379.775207, 16.837575, -1906.463378, -43.446743, 37.963146, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1841.168579, 379.775207, 16.837575))
{
if(TourNL == 43)
{
TourNL = 44;
SetPlayerRaceCheckpoint(playerid, 0, -1906.463378, -43.446743, 37.963146, -1861.465698, -259.930877, 49.455787, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1906.463378, -43.446743, 37.963146))
{
if(TourNL == 44)
{
TourNL = 45;
SetPlayerRaceCheckpoint(playerid, 0, -1861.465698, -259.930877, 49.455787, -2073.179687, -335.334625, 35.031772, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1861.465698, -259.930877, 49.455787))
{
if(TourNL == 45)
{
TourNL = 46;
SetPlayerRaceCheckpoint(playerid, 0, -2073.179687, -335.334625, 35.031772, -2571.423095, -334.157714, 23.220384, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2073.179687, -335.334625, 35.031772))
{
if(TourNL == 46)
{
TourNL = 47;
SetPlayerRaceCheckpoint(playerid, 0, -2571.423095, -334.157714, 23.220382, -2874.129150, -915.649780, 9.181214, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2571.423095, -334.157714, 23.220382))
{
if(TourNL == 47)
{
TourNL = 48;
SetPlayerRaceCheckpoint(playerid, 0, -2874.129150, -915.649780, 9.181214, -2861.141357, -1951.790039, 37.111171, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2874.129150, -915.649780, 9.181214))
{
if(TourNL == 48)
{
TourNL = 49;
SetPlayerRaceCheckpoint(playerid, 0, -2861.141357, -1951.790039, 37.111171, -2555.765869, -2192.234863, 29.441562, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2861.141357, -1951.790039, 37.111171))
{
if(TourNL == 49)
{
TourNL = 50;
SetPlayerRaceCheckpoint(playerid, 0, -2555.765625, -2192.234863, 29.441556, -2558.572998, -2305.666503, 13.910363, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2555.765625, -2192.234863, 29.441556))
{
if(TourNL == 50)
{
TourNL = 51;
SetPlayerRaceCheckpoint(playerid, 0, -2558.572998, -2305.666503, 13.910363, -2372.675537, -2264.156982, 14.852190, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2558.572998, -2305.666503, 13.910363))
{
if(TourNL == 51)
{
TourNL = 52;
SetPlayerRaceCheckpoint(playerid, 0, -2372.675537, -2264.156982, 14.852190, -1735.003051, -1666.217651, 35.984977, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -2372.675537, -2264.156982, 14.852190))
{
if(TourNL == 52)
{
TourNL = 53;
SetPlayerRaceCheckpoint(playerid, 0, -1735.003051, -1666.217651, 35.984977, -1151.159301, -1894.191162, 77.624656, 15.0);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(TourNL > 0)
{
new hString;
new hTrkac;
RPIme(playerid, hTrkac);
format(hString, sizeof(hString), "|NL Trka| - Prolaz : %s", hTrkac);
SendClientMessage(i, PLAVA, hString);
}
}
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1735.003051, -1666.217651, 35.984977))
{
if(TourNL == 53)
{
TourNL = 54;
SetPlayerRaceCheckpoint(playerid, 0, -1151.159301, -1894.191162, 77.624649, -839.655822, -1831.189941, 91.255088, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -1151.159301, -1894.191162, 77.624649))
{
if(TourNL == 54)
{
TourNL = 55;
SetPlayerRaceCheckpoint(playerid, 0, -839.655822, -1831.189941, 91.255088, -763.173767, -1690.217285, 96.742706, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -839.655822, -1831.189941, 91.255088))
{
if(TourNL == 55)
{
TourNL = 56;
SetPlayerRaceCheckpoint(playerid, 0, -763.173767, -1690.217285, 96.742706, -734.743164, -1272.599609, 66.653450, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -763.173767, -1690.217285, 96.742706))
{
if(TourNL == 56)
{
TourNL = 57;
SetPlayerRaceCheckpoint(playerid, 0, -734.743225, -1272.599609, 66.653442, -699.354858, -1717.165893, 43.446472, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -734.743225, -1272.599609, 66.653442))
{
if(TourNL == 57)
{
TourNL = 58;
SetPlayerRaceCheckpoint(playerid, 0, -699.355041, -1717.165405, 43.446426, -643.124450, -1295.459960, 19.299242, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -699.355041, -1717.165405, 43.446426))
{
if(TourNL == 58)
{
TourNL = 59;
SetPlayerRaceCheckpoint(playerid, 0, -643.124450, -1295.459960, 19.299242, -355.098114, -780.200622, 29.499017, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -643.124450, -1295.459960, 19.299242))
{
if(TourNL == 59)
{
TourNL = 60;
SetPlayerRaceCheckpoint(playerid, 0, -355.098114, -780.200622, 29.499017, -289.659881, -806.483398, 37.884349, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -355.098114, -780.200622, 29.499017))
{
if(TourNL == 60)
{
TourNL = 61;
SetPlayerRaceCheckpoint(playerid, 0, -289.659637, -806.483398, 37.884326, -298.250885, -872.305480, 46.381443, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -289.659637, -806.483398, 37.884326))
{
if(TourNL == 61)
{
TourNL = 62;
SetPlayerRaceCheckpoint(playerid, 0, -298.250885, -872.305480, 46.381443, -88.356101, -1036.412475, 23.330255, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -298.250885, -872.305480, 46.381443))
{
if(TourNL == 62)
{
TourNL = 63;
SetPlayerRaceCheckpoint(playerid, 0, -88.355911, -1036.412475, 23.330226, -147.746780, -1308.263183, 2.237397, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -88.355911, -1036.412475, 23.330226))
{
if(TourNL == 63)
{
TourNL = 64;
SetPlayerRaceCheckpoint(playerid, 0, -147.746780, -1308.263183, 2.237396, 35.026153, -1528.428222, 4.990599, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, -147.746780, -1308.263183, 2.237396))
{
if(TourNL == 64)
{
TourNL = 65;
SetPlayerRaceCheckpoint(playerid, 0, 35.026153, -1528.428222, 4.990599, 301.268737, -1709.596191, 6.427781, 15.0);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(TourNL > 0)
{
new hString;
new hTrkac;
RPIme(playerid, hTrkac);
format(hString, sizeof(hString), "|NL Trka| - Prolaz : %s", hTrkac);
SendClientMessage(i, PLAVA, hString);
}
}
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 35.026153, -1528.428222, 4.990599))
{
if(TourNL == 65)
{
TourNL = 66;
SetPlayerRaceCheckpoint(playerid, 0, 301.268737, -1709.596191, 6.427781, 1033.946411, -1820.285522, 13.257039, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 301.268737, -1709.596191, 6.427781))
{
if(TourNL == 66)
{
TourNL = 67;
SetPlayerRaceCheckpoint(playerid, 0, 1033.946411, -1820.285522, 13.257035, 1021.760253, -2232.527587, 12.514959, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1033.946411, -1820.285522, 13.257035))
{
if(TourNL == 67)
{
TourNL = 68;
SetPlayerRaceCheckpoint(playerid, 0, 1021.760253, -2232.527587, 12.514959, 1358.116210, -2466.017578, 7.224937, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1021.760253, -2232.527587, 12.514959))
{
if(TourNL == 68)
{
TourNL = 69;
SetPlayerRaceCheckpoint(playerid, 0, 1358.116210, -2466.017578, 7.224937, 1353.232421, -2531.170654, 12.946195, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1358.116210, -2466.017578, 7.224937))
{
if(TourNL == 69)
{
TourNL = 70;
SetPlayerRaceCheckpoint(playerid, 0, 1353.232421, -2531.170654, 12.946195, 1443.830078, -2685.196533, 12.939056, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1353.232421, -2531.170654, 12.946195))
{
if(TourNL == 70)
{
TourNL = 71;
SetPlayerRaceCheckpoint(playerid, 0, 1443.830078, -2685.196533, 12.939056, 2111.731445, -2673.319335, 12.950130, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1443.830078, -2685.196533, 12.939056))
{
if(TourNL == 71)
{
TourNL = 72;
SetPlayerRaceCheckpoint(playerid, 0, 2111.731445, -2673.319335, 12.950130, 2174.904296, -2571.237060, 12.949712, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2111.731445, -2673.319335, 12.950130))
{
if(TourNL == 72)
{
TourNL = 73;
SetPlayerRaceCheckpoint(playerid, 0, 2174.904296, -2571.237060, 12.949712, 2205.359375, -2370.547851, 12.934988, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2174.904296, -2571.237060, 12.949712))
{
if(TourNL == 73)
{
TourNL = 74;
SetPlayerRaceCheckpoint(playerid, 0, 2205.359375, -2370.547851, 12.934988, 2440.367675, -2173.819335, 12.939665, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2205.359375, -2370.547851, 12.934988))
{
if(TourNL == 74)
{
TourNL = 75;
SetPlayerRaceCheckpoint(playerid, 0, 2440.367675, -2173.819335, 12.939665, 2769.576416, -2160.974121, 10.513278, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2440.367675, -2173.819335, 12.939665))
{
if(TourNL == 75)
{
TourNL = 76;
SetPlayerRaceCheckpoint(playerid, 0, 2769.576416, -2160.974121, 10.513278, 2838.102539, -1929.787353, 10.502264, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2769.576416, -2160.974121, 10.513278))
{
if(TourNL == 76)
{
TourNL = 77;
SetPlayerRaceCheckpoint(playerid, 1, 2838.102539, -1929.787353, 10.502264, 2838.102539, -1929.787353, 10.502264, 15.0);
}
}
else if(IsPlayerInRangeOfPoint(playerid, 15.0, 2838.102539, -1929.787353, 10.502264))
{
if(TourNL == 77)
{
DisablePlayerRaceCheckpoint(playerid);
TourNL = 1;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(TourNL > 0)
{
new hString;
new hTrkac;
RPIme(playerid, hTrkac);
format(hString, sizeof(hString), "|NL Trka| - CILJ: %s", hTrkac);
SendClientMessage(i, PLAVA, hString);
}
}
}
}