#1

Hello my problem is this when i script this code in script
Код:
        /*case CHECKPOINT_SWEEP:
        {
            if(IsASweep(newcar))
            {
            	if(StreetSweepS[playerid] == 1 && StreetSweep[playerid] > 0) // East
            	{
		        	gPlayerCheckpointStatus[playerid] = CHECKPOINT_SWEEP;
		        	StreetSweep[playerid] += 1;
		        	if(StreetSweep[playerid] != 69)
		        	{
		        	    SendClientMessage(playerid,COLOR_WHITE,"[HINT]: Head to the next checkpoint.");
		        	}
		        	if(StreetSweep[playerid] == 2) { SetPlayerCheckpoint(playerid,1702.6357,-1815.4486,13.0920,5.0); } // sweepcheck
   	                else if(StreetSweep[playerid] == 3) { SetPlayerCheckpointEx(playerid,1818.1217,-1845.4042,13.1393,176.8074,5.0); } // sweaper LS, 3
		        	else if(StreetSweep[playerid] == 4) { SetPlayerCheckpointEx(playerid,1818.6873,-1922.5045,13.1078,185.7597,5.0); } // sweaper LS, 4
		        	else if(StreetSweep[playerid] == 5) { SetPlayerCheckpointEx(playerid,1902.2316,-1934.2322,13.1080,270.6448,5.0); } // sweaper LS, 5
		        	else if(StreetSweep[playerid] == 6) { SetPlayerCheckpointEx(playerid,1958.8259,-2007.6082,13.1158,181.2636,5.0); } // sweaper LS, 6
		        	else if(StreetSweep[playerid] == 7) { SetPlayerCheckpointEx(playerid,1972.5215,-2113.6140,13.1109,266.0408,5.0); } // sweaper LS, 6
		        	else if(StreetSweep[playerid] == 8) { SetPlayerCheckpointEx(playerid,2163.8733,-2136.5945,13.0451,229.2121,5.0); } // sweaper LS, 7
		        	else if(StreetSweep[playerid] == 9) { SetPlayerCheckpointEx(playerid,2209.7642,-2180.5376,13.0780,226.6537,5.0); } // sweaper LS, 8
		        	else if(StreetSweep[playerid] == 10) { SetPlayerCheckpointEx(playerid,2265.9514,-2236.0159,13.2706,226.0216,5.0); } // sweaper LS, 9
		        	else if(StreetSweep[playerid] == 11) { SetPlayerCheckpointEx(playerid,2309.5823,-2261.9561,13.1001,315.3265,5.0); } // sweaper LS, 10
		        	else if(StreetSweep[playerid] == 12) { SetPlayerCheckpointEx(playerid,2431.4368,-2172.6250,13.1002,279.9285,5.0); } // sweaper LS, 11
		        	else if(StreetSweep[playerid] == 13) { SetPlayerCheckpointEx(playerid,2661.2463,-2168.2273,10.6549,267.3771,5.0); } // sweaper LS, 12
		        	else if(StreetSweep[playerid] == 14) { SetPlayerCheckpointEx(playerid,2715.7646,-2144.2227,10.6354,358.2523,5.0); } // sweaper LS, 13
		        	else if(StreetSweep[playerid] == 15) { SetPlayerCheckpointEx(playerid,2716.3196,-2035.6053,13.0619,0.4100,5.0); } // sweaper LS, 14
		        	else if(StreetSweep[playerid] == 16) { SetPlayerCheckpointEx(playerid,2714.0413,-1933.3926,13.0506,26.5313,5.0); } // sweaper LS, 15
		        	else if(StreetSweep[playerid] == 17) { SetPlayerCheckpointEx(playerid,2604.4985,-1930.3627,13.1045,89.7456,5.0); } // sweaper LS, 16
		        	else if(StreetSweep[playerid] == 18) { SetPlayerCheckpointEx(playerid,2520.1733,-1923.1586,13.1164,8.4388,5.0); } // sweaper LS, 17
		        	else if(StreetSweep[playerid] == 19) { SetPlayerCheckpointEx(playerid,2522.8228,-1809.7471,13.1118,336.9317,5.0); } // sweaper LS, 18
		        	else if(StreetSweep[playerid] == 20) { SetPlayerCheckpointEx(playerid,2518.2649,-1729.9070,13.1080,92.0243,5.0); } // sweaper LS, 19
		        	else if(StreetSweep[playerid] == 21) { SetPlayerCheckpointEx(playerid,2419.2170,-1730.5143,13.2521,89.2899,5.0); } // sweaper LS, 20
		        	else if(StreetSweep[playerid] == 22) { SetPlayerCheckpointEx(playerid,2326.4329,-1729.7378,13.1080,89.9085,5.0); } // sweaper LS, 21
		        	else if(StreetSweep[playerid] == 23) { SetPlayerCheckpointEx(playerid,2182.6694,-1736.5481,13.1002,170.0756,5.0); } // sweaper LS, 22
		        	else if(StreetSweep[playerid] == 24) { SetPlayerCheckpointEx(playerid,2137.2080,-1748.9545,13.1222,90.8182,5.0); } // sweaper LS, 23
		        	else if(StreetSweep[playerid] == 25) { SetPlayerCheckpointEx(playerid,2099.4014,-1740.9871,13.1250,342.9605,5.0); } // sweaper LS, 24
		        	else if(StreetSweep[playerid] == 26) { SetPlayerCheckpointEx(playerid,2113.9763,-1677.8511,13.1013,354.6020,5.0); } // sweaper LS, 25
		        	else if(StreetSweep[playerid] == 27) { SetPlayerCheckpointEx(playerid,2114.7607,-1545.1030,24.1708,359.7011,5.0); } // sweaper LS, 26
		        	else if(StreetSweep[playerid] == 28) { SetPlayerCheckpointEx(playerid,2115.2124,-1436.3300,23.5533,359.8898,5.0); } // sweaper LS, 27
		        	else if(StreetSweep[playerid] == 29) { SetPlayerCheckpointEx(playerid,2136.2825,-1387.2632,23.5533,274.7175,5.0); } // sweaper LS, 28
		        	else if(StreetSweep[playerid] == 30) { SetPlayerCheckpointEx(playerid,2238.9382,-1386.1411,23.5561,271.0460,5.0); } // sweaper LS, 29
		        	else if(StreetSweep[playerid] == 31) { SetPlayerCheckpointEx(playerid,2314.9797,-1385.7679,23.6014,271.6700,5.0); } // sweaper LS, 30
		        	else if(StreetSweep[playerid] == 32) { SetPlayerCheckpointEx(playerid,2372.9290,-1373.1234,23.5587,0.1448,5.0); } // sweaper LS, 31
		        	else if(StreetSweep[playerid] == 33) { SetPlayerCheckpointEx(playerid,2372.7788,-1280.2369,23.5586,359.3651,5.0); } // sweaper LS, 32
		        	else if(StreetSweep[playerid] == 34) { SetPlayerCheckpointEx(playerid,2373.1318,-1245.3054,23.7628,359.7619,5.0); } // sweaper LS, 33
		        	else if(StreetSweep[playerid] == 35) { SetPlayerCheckpointEx(playerid,2363.3672,-1152.3116,27.1705,84.5672,5.0); } // sweaper LS, 34
		        	else if(StreetSweep[playerid] == 36) { SetPlayerCheckpointEx(playerid,2310.8608,-1149.5435,26.5194,82.3722,5.0); } // sweaper LS, 35
		        	else if(StreetSweep[playerid] == 37) { SetPlayerCheckpointEx(playerid,2249.6509,-1137.8896,25.9239,73.1686,5.0); } // sweaper LS, 36
		        	else if(StreetSweep[playerid] == 38) { SetPlayerCheckpointEx(playerid,2177.3840,-1117.8018,24.7487,75.9165,5.0); } // sweaper LS, 37
		        	else if(StreetSweep[playerid] == 39) { SetPlayerCheckpointEx(playerid,2112.2075,-1103.8348,24.8102,72.8431,5.0); } // sweaper LS, 38
		        	else if(StreetSweep[playerid] == 40) { SetPlayerCheckpointEx(playerid,2065.3975,-1106.7540,24.1896,173.0379,5.0); } // sweaper LS, 39
		        	else if(StreetSweep[playerid] == 41) { SetPlayerCheckpointEx(playerid,2050.5327,-1132.3456,23.6310,90.6143,5.0); } // sweaper LS, 40
		        	else if(StreetSweep[playerid] == 42) { SetPlayerCheckpointEx(playerid,1967.6274,-1147.8136,25.5388,175.3573,5.0); } // sweaper LS, 41
		        	else if(StreetSweep[playerid] == 43) { SetPlayerCheckpointEx(playerid,1968.2786,-1201.3400,25.3313,185.7914,5.0); } // sweaper LS, 42
		        	else if(StreetSweep[playerid] == 44) { SetPlayerCheckpointEx(playerid,1993.7032,-1262.1272,23.5455,262.9044,5.0); } // sweaper LS, 43
		        	else if(StreetSweep[playerid] == 45) { SetPlayerCheckpointEx(playerid,2063.3887,-1280.4559,23.5455,178.7716,5.0); } // sweaper LS, 44
		        	else if(StreetSweep[playerid] == 46) { SetPlayerCheckpointEx(playerid,2050.4490,-1337.8494,23.5455,90.2891,5.0); } // sweaper LS, 45
		        	else if(StreetSweep[playerid] == 47) { SetPlayerCheckpointEx(playerid,1973.3252,-1338.2526,23.5455,90.2909,5.0); } // sweaper LS, 46
		        	else if(StreetSweep[playerid] == 48) { SetPlayerCheckpointEx(playerid,1888.1857,-1338.7113,13.1080,90.3091,5.0); } // sweaper LS, 47
		        	else if(StreetSweep[playerid] == 49) { SetPlayerCheckpointEx(playerid,1855.0876,-1320.8572,13.1214,357.5515,5.0); } // sweaper LS, 48
		        	else if(StreetSweep[playerid] == 50) { SetPlayerCheckpointEx(playerid,1833.0328,-1258.1356,13.1939,86.5366,5.0); } // sweaper LS, 49
		        	else if(StreetSweep[playerid] == 51) { SetPlayerCheckpointEx(playerid,1696.6356,-1294.9766,13.2244,86.9390,5.0); } // sweaper LS, 50
		        	else if(StreetSweep[playerid] == 52) { SetPlayerCheckpointEx(playerid,1585.0132,-1296.9131,17.1264,92.1005,5.0); } // sweaper LS, 51
		        	else if(StreetSweep[playerid] == 53) { SetPlayerCheckpointEx(playerid,1457.2529,-1287.2706,13.1080,0.9985,5.0); } // sweaper LS, 52
		        	else if(StreetSweep[playerid] == 54) { SetPlayerCheckpointEx(playerid,1442.4043,-1237.6704,13.1080,93.6653,5.0); } // sweaper LS, 53
		        	else if(StreetSweep[playerid] == 55) { SetPlayerCheckpointEx(playerid,1341.0802,-1251.6606,13.1105,177.7538,5.0); } // sweaper LS, 54
		        	else if(StreetSweep[playerid] == 56) { SetPlayerCheckpointEx(playerid,1339.9010,-1347.0669,13.1080,180.2598,5.0); } // sweaper LS, 55
		        	else if(StreetSweep[playerid] == 57) { SetPlayerCheckpointEx(playerid,1301.6353,-1532.2609,13.1080,160.7840,5.0); } // sweaper LS, 56
		        	else if(StreetSweep[playerid] == 58) { SetPlayerCheckpointEx(playerid,1294.1563,-1684.0004,13.1080,187.3959,5.0); } // sweaper LS, 57
		        	else if(StreetSweep[playerid] == 59) { SetPlayerCheckpointEx(playerid,1295.4512,-1826.1101,13.1080,177.4126,5.0); } // sweaper LS, 58
		        	else if(StreetSweep[playerid] == 60) { SetPlayerCheckpointEx(playerid,1341.8107,-1862.2139,13.1080,245.4507,5.0); } // sweaper LS, 59
		        	else if(StreetSweep[playerid] == 61) { SetPlayerCheckpointEx(playerid,1390.7885,-1858.2811,13.1080,359.1949,5.0); } // sweaper LS, 60
		        	else if(StreetSweep[playerid] == 62) { SetPlayerCheckpointEx(playerid,1391.8074,-1784.6808,13.1080,359.1996,5.0); } // sweaper LS, 61
		        	else if(StreetSweep[playerid] == 63) { SetPlayerCheckpointEx(playerid,1407.8269,-1735.1615,13.1158,270.9618,5.0); } // sweaper LS, 62
		        	else if(StreetSweep[playerid] == 64) { SetPlayerCheckpointEx(playerid,1487.3684,-1735.0811,13.1080,271.9231,5.0); } // sweaper LS, 63
		        	else if(StreetSweep[playerid] == 65) { SetPlayerCheckpointEx(playerid,1565.7156,-1747.4187,13.1080,182.9606,5.0); } // sweaper LS, 64
		        	else if(StreetSweep[playerid] == 66) { SetPlayerCheckpointEx(playerid,1566.9458,-1822.5864,13.1080,180.2904,5.0); } // sweaper LS, 65
		        	else if(StreetSweep[playerid] == 67) { SetPlayerCheckpointEx(playerid,1580.5332,-1874.6804,13.1081,268.9792,5.0); } // sweaper LS, 66
		        	else if(StreetSweep[playerid] == 68) { SetPlayerCheckpointEx(playerid,1640.6239,-1891.5891,13.2813,236.3690,5.0); } // sweaper LS, 67
		        	else if(StreetSweep[playerid] == 69)
		        	{
		            	SendClientMessage(playerid,COLOR_BLUE,"[INFO]: You have completed Your Sweeping Route.");
                        new cashearned;
						cashearned = PlayerInfo[playerid][pLevel]*65;
						if (FamilyInfo[3][FamilyMoney] <= cashearned){ cashearned = FamilyInfo[3][FamilyMoney];}
		                FamilyInfo[3][FamilyMoney] -= cashearned;
		                if(cashearned == 0){SendClientMessage(playerid, COLOR_LIGHTBLUE, "The government has no money to pay you for your job");}
						GivePlayerPCash(playerid,cashearned);
		            	StreetSweep[playerid] = 0;
		            	StreetSweepS[playerid] = 0;
		            	DisablePlayerCheckpoint(playerid);
		            	gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
		            	SetVehicleToRespawn(GetPlayerVehicleID(playerid));
		            	JobDelay[playerid] = 100;
		            	new string[256];
		            	format(string, sizeof(string), "You earned $%d", cashearned);
						SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		            	GameDrawForPlayer(playerid,"~w~Mission ~g~Passed",2000);
		        	}
            	}
            	if(StreetSweepS[playerid] == 2 && StreetSweep[playerid] > 0) // West
            	{
		        	gPlayerCheckpointStatus[playerid] = CHECKPOINT_SWEEP;
		        	StreetSweep[playerid] += 1;
		        	if(StreetSweep[playerid] != 83)
		        	{
		        	    SendClientMessage(playerid,COLOR_WHITE,"[HINT]: Head to the next checkpoint.");
		        	}
		        	if(StreetSweep[playerid] == 2) { SetPlayerCheckpoint(playerid,1553.5436,-1869.3962,13.1080,5.0); } // sweepcheck
		        	else if(StreetSweep[playerid] == 3) { SetPlayerCheckpointEx(playerid,1425.0194,-1886.5963,13.2249,183.7438,5.0); } // sweaper LS, West, 3
		        	else if(StreetSweep[playerid] == 4) { SetPlayerCheckpointEx(playerid,1282.6462,-1904.8528,26.4296,82.2295,5.0); } // sweaper LS, West, 4
		        	else if(StreetSweep[playerid] == 5) { SetPlayerCheckpointEx(playerid,1289.0331,-1953.3838,28.8287,257.5666,5.0); } // sweaper LS, West, 5
		        	else if(StreetSweep[playerid] == 6) { SetPlayerCheckpointEx(playerid,1420.4321,-1987.0139,47.7025,211.1841,5.0); } // sweaper LS, West, 6
		        	else if(StreetSweep[playerid] == 7) { SetPlayerCheckpointEx(playerid,1300.2852,-2053.4253,58.0410,84.2541,5.0); } // sweaper LS, West, 7
		        	else if(StreetSweep[playerid] == 8) { SetPlayerCheckpointEx(playerid,1241.7096,-2090.1445,58.8231,151.2954,5.0); } // sweaper LS, West, 8
		        	else if(StreetSweep[playerid] == 9) { SetPlayerCheckpointEx(playerid,1171.9397,-2128.7217,66.7731,107.3369,5.0); } // sweaper LS, West, 9
		        	else if(StreetSweep[playerid] == 10) { SetPlayerCheckpointEx(playerid,1133.7482,-2142.1707,70.2089,102.0710,5.0); } // sweaper LS, West, 10
		        	else if(StreetSweep[playerid] == 11) { SetPlayerCheckpointEx(playerid,1090.6429,-2096.4592,64.0476,12.6625,5.0); } // sweaper LS, West, 11
		        	else if(StreetSweep[playerid] == 12) { SetPlayerCheckpointEx(playerid,1084.2098,-2009.7148,50.0776,337.6077,5.0); } // sweaper LS, West, 12
		        	else if(StreetSweep[playerid] == 13) { SetPlayerCheckpointEx(playerid,1139.8503,-1939.7905,42.7046,279.5449,5.0); } // sweaper LS, West, 13
		        	else if(StreetSweep[playerid] == 14) { SetPlayerCheckpointEx(playerid,1233.8329,-1925.0083,31.0825,292.9405,5.0); } // sweaper LS, West, 14
		        	else if(StreetSweep[playerid] == 15) { SetPlayerCheckpointEx(playerid,1279.4388,-1910.5778,26.7482,270.1355,5.0); } // sweaper LS, West, 15
		        	else if(StreetSweep[playerid] == 16) { SetPlayerCheckpointEx(playerid,1403.0879,-1930.1753,16.3985,275.7926,5.0); } // sweaper LS, West, 16
		        	else if(StreetSweep[playerid] == 17) { SetPlayerCheckpointEx(playerid,1421.9688,-1869.7139,13.1080,88.7038,5.0); } // sweaper LS, West, 17
		        	else if(StreetSweep[playerid] == 18) { SetPlayerCheckpointEx(playerid,1392.4344,-1861.4841,13.1080,1.9769,5.0); } // sweaper LS, West, 18
		        	else if(StreetSweep[playerid] == 19) { SetPlayerCheckpointEx(playerid,1383.8331,-1730.6168,13.1080,89.7947,5.0); } // sweaper LS, West, 19
		        	else if(StreetSweep[playerid] == 20) { SetPlayerCheckpointEx(playerid,1316.2041,-1722.1846,13.1080,8.2863,5.0); } // sweaper LS, West, 20
		        	else if(StreetSweep[playerid] == 21) { SetPlayerCheckpointEx(playerid,1317.3287,-1552.2533,13.1158,0.1907,5.0); } // sweaper LS, West, 21
		        	else if(StreetSweep[playerid] == 22) { SetPlayerCheckpointEx(playerid,1356.6484,-1447.7548,13.1159,348.3635,5.0); } // sweaper LS, West, 22
		        	else if(StreetSweep[playerid] == 23) { SetPlayerCheckpointEx(playerid,1329.0414,-1393.4305,13.1000,88.3361,5.0); } // sweaper LS, West, 23
		        	else if(StreetSweep[playerid] == 24) { SetPlayerCheckpointEx(playerid,1237.4906,-1393.1334,12.8612,92.8700,5.0); } // sweaper LS, West, 24
		        	else if(StreetSweep[playerid] == 25) { SetPlayerCheckpointEx(playerid,1170.5161,-1392.7528,13.1269,90.2744,5.0); } // sweaper LS, West, 25
		        	else if(StreetSweep[playerid] == 26) { SetPlayerCheckpointEx(playerid,1061.2882,-1383.9093,13.2604,3.3084,5.0); } // sweaper LS, West, 26
		        	else if(StreetSweep[playerid] == 27) { SetPlayerCheckpointEx(playerid,1060.6075,-1255.4528,14.3863,3.2178,5.0); } // sweaper LS, West, 27
		        	else if(StreetSweep[playerid] == 28) { SetPlayerCheckpointEx(playerid,1036.8333,-1218.9059,16.4605,91.0480,5.0); } // sweaper LS, West, 28
		        	else if(StreetSweep[playerid] == 29) { SetPlayerCheckpointEx(playerid,994.2769,-1217.8278,16.4908,86.8151,5.0); } // sweaper LS, West, 29
		        	else if(StreetSweep[playerid] == 30) { SetPlayerCheckpointEx(playerid,940.1685,-1232.0515,16.4058,179.8807,5.0); } // sweaper LS, West, 30
		        	else if(StreetSweep[playerid] == 31) { SetPlayerCheckpointEx(playerid,931.4962,-1316.7155,13.1138,89.7093,5.0); } // sweaper LS, West, 31
		        	else if(StreetSweep[playerid] == 32) { SetPlayerCheckpointEx(playerid,855.5754,-1317.4899,13.1408,91.4814,5.0); } // sweaper LS, West, 32
		        	else if(StreetSweep[playerid] == 33) { SetPlayerCheckpointEx(playerid,777.4626,-1317.7146,13.1080,88.4077,5.0); } // sweaper LS, West, 33
		        	else if(StreetSweep[playerid] == 34) { SetPlayerCheckpointEx(playerid,603.9127,-1318.8077,13.2630,100.1267,5.0); } // sweaper LS, West, 34
		        	else if(StreetSweep[playerid] == 35) { SetPlayerCheckpointEx(playerid,486.8752,-1349.2682,16.8802,110.1155,5.0); } // sweaper LS, West, 35
		        	else if(StreetSweep[playerid] == 36) { SetPlayerCheckpointEx(playerid,331.2946,-1454.4620,33.9934,126.2308,5.0); } // sweaper LS, West, 36
		        	else if(StreetSweep[playerid] == 37) { SetPlayerCheckpointEx(playerid,254.8733,-1532.8752,31.9920,146.4785,5.0); } // sweaper LS, West, 37
		        	else if(StreetSweep[playerid] == 38) { SetPlayerCheckpointEx(playerid,255.7580,-1630.4718,32.8527,221.2356,5.0); } // sweaper LS, West, 38
		        	else if(StreetSweep[playerid] == 39) { SetPlayerCheckpointEx(playerid,345.8152,-1647.7794,32.7767,260.8889,5.0); } // sweaper LS, West, 39
		        	else if(StreetSweep[playerid] == 40) { SetPlayerCheckpointEx(playerid,403.5823,-1655.1451,29.2513,264.5870,5.0); } // sweaper LS, West, 40
		        	else if(StreetSweep[playerid] == 41) { SetPlayerCheckpointEx(playerid,469.5057,-1660.7771,24.3494,263.7955,5.0); } // sweaper LS, West, 41
		        	else if(StreetSweep[playerid] == 42) { SetPlayerCheckpointEx(playerid,593.2995,-1675.5554,15.9243,260.0775,5.0); } // sweaper LS, West, 42
		        	else if(StreetSweep[playerid] == 43) { SetPlayerCheckpointEx(playerid,653.7482,-1675.4379,14.1005,271.3625,5.0); } // sweaper LS, West, 43
		        	else if(StreetSweep[playerid] == 44) { SetPlayerCheckpointEx(playerid,770.8984,-1677.4437,12.6609,269.1995,5.0); } // sweaper LS, West, 44
		        	else if(StreetSweep[playerid] == 45) { SetPlayerCheckpointEx(playerid,806.6936,-1687.8962,13.1081,178.6223,5.0); } // sweaper LS, West, 45
		        	else if(StreetSweep[playerid] == 46) { SetPlayerCheckpointEx(playerid,799.1836,-1766.3782,13.1358,90.9971,5.0); } // sweaper LS, West, 46
		        	else if(StreetSweep[playerid] == 47) { SetPlayerCheckpointEx(playerid,696.0857,-1744.7797,13.0674,70.3636,5.0); } // sweaper LS, West, 47
		        	else if(StreetSweep[playerid] == 48) { SetPlayerCheckpointEx(playerid,609.5634,-1723.8408,13.5810,79.8675,5.0); } // sweaper LS, West, 48
		        	else if(StreetSweep[playerid] == 49) { SetPlayerCheckpointEx(playerid,485.3842,-1706.5660,11.3147,83.7037,5.0); } // sweaper LS, West, 49
		        	else if(StreetSweep[playerid] == 50) { SetPlayerCheckpointEx(playerid,335.6353,-1697.6122,6.2718,86.9970,5.0); } // sweaper LS, West, 50
		        	else if(StreetSweep[playerid] == 51) { SetPlayerCheckpointEx(playerid,191.7048,-1601.8120,13.9667,35.8717,5.0); } // sweaper LS, West, 51
		        	else if(StreetSweep[playerid] == 52) { SetPlayerCheckpointEx(playerid,168.0280,-1548.2816,11.6041,327.0548,5.0); } // sweaper LS, West, 52
		        	else if(StreetSweep[playerid] == 53) { SetPlayerCheckpointEx(playerid,214.5888,-1479.9406,12.6784,323.8611,5.0); } // sweaper LS, West, 53
		        	else if(StreetSweep[playerid] == 54) { SetPlayerCheckpointEx(playerid,398.1507,-1361.0253,14.3892,303.3878,5.0); } // sweaper LS, West, 54
		        	else if(StreetSweep[playerid] == 55) { SetPlayerCheckpointEx(playerid,499.4219,-1290.7539,15.3931,310.2356,5.0); } // sweaper LS, West, 55
		        	else if(StreetSweep[playerid] == 56) { SetPlayerCheckpointEx(playerid,580.0313,-1237.8477,17.2514,294.0049,5.0); } // sweaper LS, West, 56
		        	else if(StreetSweep[playerid] == 57) { SetPlayerCheckpointEx(playerid,647.9406,-1208.0430,17.8371,306.3984,5.0); } // sweaper LS, West, 57
		        	else if(StreetSweep[playerid] == 58) { SetPlayerCheckpointEx(playerid,719.0454,-1111.1437,18.4337,334.3606,5.0); } // sweaper LS, West, 58
		        	else if(StreetSweep[playerid] == 59) { SetPlayerCheckpointEx(playerid,766.0916,-1061.0863,24.1211,294.5294,5.0); } // sweaper LS, West, 59
		        	else if(StreetSweep[playerid] == 60) { SetPlayerCheckpointEx(playerid,813.4025,-1054.9120,24.6152,282.9788,5.0); } // sweaper LS, West, 60
		        	else if(StreetSweep[playerid] == 61) { SetPlayerCheckpointEx(playerid,888.6817,-995.7406,35.9219,304.9018,5.0); } // sweaper LS, West, 61
		        	else if(StreetSweep[playerid] == 62) { SetPlayerCheckpointEx(playerid,1001.0370,-971.5353,40.9464,277.5201,5.0); } // sweaper LS, West, 62
		        	else if(StreetSweep[playerid] == 63) { SetPlayerCheckpointEx(playerid,1103.2815,-958.9524,42.1083,275.7952,5.0); } // sweaper LS, West, 63
		        	else if(StreetSweep[playerid] == 64) { SetPlayerCheckpointEx(playerid,1218.6066,-946.2959,42.3607,284.7143,5.0); } // sweaper LS, West, 64
		        	else if(StreetSweep[playerid] == 65) { SetPlayerCheckpointEx(playerid,1276.6614,-936.4556,41.7031,276.4445,5.0); } // sweaper LS, West, 65
		        	else if(StreetSweep[playerid] == 66) { SetPlayerCheckpointEx(playerid,1359.3586,-954.2805,33.8841,180.1501,5.0); } // sweaper LS, West, 66
		        	else if(StreetSweep[playerid] == 67) { SetPlayerCheckpointEx(playerid,1349.7064,-1052.6459,26.3425,181.3823,5.0); } // sweaper LS, West, 67
		        	else if(StreetSweep[playerid] == 68) { SetPlayerCheckpointEx(playerid,1369.3658,-1144.1365,23.3815,266.7177,5.0); } // sweaper LS, West, 68
		        	else if(StreetSweep[playerid] == 69) { SetPlayerCheckpointEx(playerid,1429.7950,-1161.7046,23.3888,260.3373,5.0); } // sweaper LS, West, 69
		        	else if(StreetSweep[playerid] == 70) { SetPlayerCheckpointEx(playerid,1452.1301,-1181.5311,22.4082,179.3427,5.0); } // sweaper LS, West, 70
		        	else if(StreetSweep[playerid] == 71) { SetPlayerCheckpointEx(playerid,1451.5143,-1263.6847,13.1080,179.5369,5.0); } // sweaper LS, West, 71
		        	else if(StreetSweep[playerid] == 72) { SetPlayerCheckpointEx(playerid,1450.9408,-1336.3201,13.1080,179.5385,5.0); } // sweaper LS, West, 72
		        	else if(StreetSweep[playerid] == 73) { SetPlayerCheckpointEx(playerid,1451.6750,-1453.0128,13.0928,176.2953,5.0); } // sweaper LS, West, 73
		        	else if(StreetSweep[playerid] == 74) { SetPlayerCheckpointEx(playerid,1429.2590,-1556.4833,13.0863,163.9530,5.0); } // sweaper LS, West, 74
		        	else if(StreetSweep[playerid] == 75) { SetPlayerCheckpointEx(playerid,1426.1460,-1626.6317,13.1080,178.3254,5.0); } // sweaper LS, West, 75
		        	else if(StreetSweep[playerid] == 76) { SetPlayerCheckpointEx(playerid,1427.8885,-1701.7452,13.1080,181.5720,5.0); } // sweaper LS, West, 76
		        	else if(StreetSweep[playerid] == 77) { SetPlayerCheckpointEx(playerid,1452.5796,-1733.8461,13.1080,266.4479,5.0); } // sweaper LS, West, 77
		        	else if(StreetSweep[playerid] == 78) { SetPlayerCheckpointEx(playerid,1544.5034,-1734.8585,13.1080,267.4406,5.0); } // sweaper LS, West, 78
		        	else if(StreetSweep[playerid] == 79) { SetPlayerCheckpointEx(playerid,1566.0997,-1748.4301,13.1080,175.6201,5.0); } // sweaper LS, West, 79
		        	else if(StreetSweep[playerid] == 80) { SetPlayerCheckpointEx(playerid,1566.3086,-1830.0200,13.1080,178.1231,5.0); } // sweaper LS, West, 80
		        	else if(StreetSweep[playerid] == 81) { SetPlayerCheckpointEx(playerid,1578.7239,-1874.1298,13.1080,260.9337,5.0); } // sweaper LS, West, 81
		        	else if(StreetSweep[playerid] == 82) { SetPlayerCheckpointEx(playerid,1635.5425,-1889.4844,13.2806,238.9132,5.0); } // sweaper LS, West, 82
		        	else if(StreetSweep[playerid] == 83)
		        	{
		            	SendClientMessage(playerid,COLOR_BLUE,"[INFO]: You have completed Your Sweeping Route.");
                        new cashearned;
						cashearned = PlayerInfo[playerid][pLevel]*60;
						if (FamilyInfo[3][FamilyMoney] <= cashearned){ cashearned = FamilyInfo[3][FamilyMoney];}
		                FamilyInfo[3][FamilyMoney] -= cashearned;
		                if(cashearned == 0){SendClientMessage(playerid, COLOR_LIGHTBLUE, "The government has no money to pay you for your job");}
						GivePlayerPCash(playerid,cashearned);
		            	StreetSweep[playerid] = 0;
		            	StreetSweepS[playerid] = 0;
		            	DisablePlayerCheckpoint(playerid);
		            	gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
		            	SetVehicleToRespawn(GetPlayerVehicleID(playerid));
		            	new string[256];
		            	format(string, sizeof(string), "You earned $%d", cashearned);
						SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		            	JobDelay[playerid] = 100;
		            	GameDrawForPlayer(playerid,"~w~Mission ~g~Passed",2000);
		        	}
            	}
            }
            else
			{
				SendClientMessage(playerid,COLOR_YELLOW,"You are not in a Street Sweeper.");
			}
        }*/
it shows erors
Код:
error 002: only a single statement (or expression) can follow each "case"
C:\Users\Arturs\Desktop\Server\APRPR\gamemodes\APRPGamemode.pwn(3433) : error 014: invalid statement; not in switch
C:\Users\Arturs\Desktop\Server\APRPR\gamemodes\APRPGamemode.pwn(3433) : warning 215: expression has no effect
C:\Users\Arturs\Desktop\Server\APRPR\gamemodes\APRPGamemode.pwn(3433) : error 001: expected token: ";", but found ":"
C:\Users\Arturs\Desktop\Server\APRPR\gamemodes\APRPGamemode.pwn(3433) : fatal error 107: too many error
messages on one line
can somone help me?
Reply
#2

Hmm, u forgot something in line 3433! Look there, maybe u left a ; or maybe a {
Because if u fix them, the other 2 errors will fix themselves!
Reply
#3

Did it work?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)