script errors addcctv
#1

Put All AddCCTV-lines here below:
//================================================== ====
//================================================== ====
AddCCTV("LS Grovestreet", 2491.7839, -1666.6194, 46.3232, 0.0);
AddCCTV("LS Downtown", 1102.6440, -837.8973, 122.7000, 180.0);
AddCCTV("SF Airport", -1275.8070, 52.9402, 82.9162, 0.0);
AddCCTV("SF Crossroad", -1899.0861,731.0627,65.2969, 90.0);
AddCCTV("SF Tower", -1753.6606,884.7520,305.8750, 150.0);
AddCCTV("LV The Strip 1", 2137.2390, 2143.8286, 30.6719, 270.0);
AddCCTV("LV The Strip 2", 1971.7627, 1423.9323, 82.1563, 270.0);
AddCCTV("Mount Chiliad", -2432.5852, -1620.1143, 546.8554, 270.0);
AddCCTV("Sherman Dam", -702.9260, 1848.8094, 116.0507, 0.0);
AddCCTV("Desert", 35.1291, 2245.0901, 146.6797, 310.0);
AddCCTV("Query", 588.1079,889.4715,-14.9023, 270.0);
AddCCTV("Water", 635.6223,498.1748,20.3451, 90.0);
71 AddCCTV("Water Casino", 353.1667,2081.2415,19.9721,84.8003,0);
72 AddCCTV("LS highway E", 1679.8807,-710.0483,73.4651,333.5032.0);
73 AddCCTV("AREA 51 E", 203.1001,1858.7014,15.0304,305.0128.0);
74 AddCCTV("AREA 51 T CHAMBER", 266.8767,1885.2617,14.2415,246.5675.0);
75 AddCCTV("SF WANG CARS", -1996.8438,239.0122,63.5812,174.1637.0);
76 AddCCTV("LV AIRPORT", 1679.8369,1448.0131,52.1052,93.1977.0);
77 AddCCTV("ABASE", 2887.9922,-833.3398,48.8021,340.6278.0);

and compile error
C:\Users\brian d to the j\Desktop\CCTV.pwn(71) : warning 202: number of arguments does not match definition
C:\Users\brian d to the j\Desktop\CCTV.pwn(72) : error 001: expected token: ",", but found "."
C:\Users\brian d to the j\Desktop\CCTV.pwn(72) : error 029: invalid expression, assumed zero
C:\Users\brian d to the j\Desktop\CCTV.pwn(72) : warning 215: expression has no effect
C:\Users\brian d to the j\Desktop\CCTV.pwn(72) : error 001: expected token: ";", but found ")"
C:\Users\brian d to the j\Desktop\CCTV.pwn(72) : fatal error 107: too many error messages on one line

but i dont see anything wrong help please

thanks
Reply
#2

Line 71 & 72 Please
Reply
#3

71 AddCCTV("Water Casino", 353.1667,2081.2415,19.9721,84.8003,0);
72 AddCCTV("LS highway E", 1679.8807,-710.0483,73.4651,333.5032.0);
73 AddCCTV("AREA 51 E", 203.1001,1858.7014,15.0304,305.0128.0);
74 AddCCTV("AREA 51 T CHAMBER", 266.8767,1885.2617,14.2415,246.5675.0);
75 AddCCTV("SF WANG CARS", -1996.8438,239.0122,63.5812,174.1637.0);
76 AddCCTV("LV AIRPORT", 1679.8369,1448.0131,52.1052,93.1977.0);
77 AddCCTV("ABASE", 2887.9922,-833.3398,48.8021,340.6278.0);
Reply
#4

Experiment this way:
71 AddCCTV("Water Casino", 353.1667,2081.2415,19.9721,84.8003,0,0);
72 AddCCTV("LS highway E", 1679.8807,-710.0483,73.4651,333.5032.0,0);
73 AddCCTV("AREA 51 E", 203.1001,1858.7014,15.0304,305.0128.0,0);
74 AddCCTV("AREA 51 T CHAMBER", 266.8767,1885.2617,14.2415,246.5675.0,0);
75 AddCCTV("SF WANG CARS", -1996.8438,239.0122,63.5812,174.1637.0,0);
76 AddCCTV("LV AIRPORT", 1679.8369,1448.0131,52.1052,93.1977.0,0);
77 AddCCTV("ABASE", 2887.9922,-833.3398,48.8021,340.6278.0,0);
Reply
#5

Floats don't have 3 parts, in some of them you have these 340.6278.0, which should actually be 340.6278

Take out those .0 and it should be good

pawn Код:
71 AddCCTV("Water Casino", 353.1667,2081.2415,19.9721,84.8003);
72 AddCCTV("LS highway E", 1679.8807,-710.0483,73.4651,333.5032);
73 AddCCTV("AREA 51 E", 203.1001,1858.7014,15.0304,305.0128);
74 AddCCTV("AREA 51 T CHAMBER", 266.8767,1885.2617,14.2415,246.5675);
75 AddCCTV("SF WANG CARS", -1996.8438,239.0122,63.5812,174.1637);
76 AddCCTV("LV AIRPORT", 1679.8369,1448.0131,52.1052,93.1977);
77 AddCCTV("ABASE", 2887.9922,-833.3398,48.8021,340.6278);
Reply
#6

thanks alot man. like they say you something new everyday
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)