SA-MP Forums Archive
[Ajuda] error 001: expected token: "}", but found "-string-" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] error 001: expected token: "}", but found "-string-" (/showthread.php?tid=632232)



error 001: expected token: "}", but found "-string-" - DanielzinnDG - 11.04.2017

Quote:

undefined symbol "CPS_AddCheckpoint"

nas linhas:
Quote:

//Checks============================================ ========================
entrarb = CPS_AddCheckpoint(2947.521728,-1466.312622,10.839959, 1.0, 50);
lojaderoupas = CPS_AddCheckpoint(217.6061,-5.2586,1001.2109, 2.0, 40);
utilidades = CPS_AddCheckpoint(1831.3736,-1842.8010,13.5781, 2.0, 40);
profs = CPS_AddCheckpoint(363.1501,173.5224,1008.3828, 2.0, 40);
habs = CPS_AddCheckpoint(325.250396,307.007232,999.148437 , 2.0, 40);
checkcarga = CPS_AddCheckpoint(948.1397,-1383.5762,13.3438, 4.0, 40);
checkcarga1 = CPS_AddCheckpoint(2104.4692,-1806.4023,13.5547, 4.0, 40);
checkcarga2 = CPS_AddCheckpoint(1207.7822,-890.3722,43.0200, 4.0, 40);
checkcarga3 = CPS_AddCheckpoint(809.4305,-1629.9131,13.3828, 4.0, 40);
checkcarga4 = CPS_AddCheckpoint(2395.8599,-1915.5037,13.5469, 4.0, 40);
checkcarga5 = CPS_AddCheckpoint(2403.8787,-1507.0851,24.0068, 4.0, 40);
checkdescarga = CPS_AddCheckpoint(-60.2428,-1593.1473,2.6107, 4.0, 40);
ppesca1 = CPS_AddCheckpoint(332.6451,-2005.7535,-0.5313, 4.0, 40);
ppesca2 = CPS_AddCheckpoint(324.0051,-2007.7056,-0.5985, 4.0, 40);
ppesca3 = CPS_AddCheckpoint(316.0611,-2007.8269,-0.6277, 4.0, 40);
ppesca4 = CPS_AddCheckpoint(309.0059,-2006.6016,-0.4698, 4.0, 40);
ppesca5 = CPS_AddCheckpoint(300.2521,-2005.5605,-0.4878, 4.0, 40);
vpesca = CPS_AddCheckpoint(202.4053,-1875.5461,3.7082, 4.0, 40);
fimauto = CPS_AddCheckpoint(369.8319,-1670.0024,32.7266,8.0, 40);
ccaca = CPS_AddCheckpoint(-44.7421,-1232.7123,6.1583,2.0, 40);
vcaca = CPS_AddCheckpoint(-39.1540,-1356.1106,2.4084,2.0, 40);
//checkbar = CPS_AddCheckpoint(377.0754,-68.1907,1001.5151, 2.0, 40);
menuammu = CPS_AddCheckpoint(312.3051,-165.6246,999.6010, 2.0, 40);
FaculdadeLS = CPS_AddCheckpoint(1081.0103,-1697.9812,13.5469, 3.0, 50);
ammuls = CPS_AddCheckpoint(313.8173,-133.7504,999.6016, 3.0, 50);
checkacademials = CPS_AddCheckpoint(677.7252,-2019.4349,1.4100, 3.0, 50);
caixaeletronico1 = CPS_AddCheckpoint(1285.5574,-1329.1753,13.5494, 3.0, 50);
caixaeletronico2 = CPS_AddCheckpoint(1242.8236,-1704.6500,13.5469, 3.0, 50);
caixaeletronico3 = CPS_AddCheckpoint(1477.3513,-1710.3250,14.3525, 3.0, 50);
caixaeletronico4 = CPS_AddCheckpoint(1722.3969,-1718.2037,13.5305, 3.0, 50);
caixaeletronico5 = CPS_AddCheckpoint(2140.6582,-1168.6848,23.9922, 3.0, 50);
caixaeletronico6 = CPS_AddCheckpoint(537.4147,-1761.8303,14.3161, 3.0, 50);
caixaeletronico7 = CPS_AddCheckpoint(940.8690,-1651.7668,13.5427, 3.0, 50);
caixaeletronico8 = CPS_AddCheckpoint(1046.5620,-1664.0647,13.5469, 3.0, 50);

poderiam ajudar-me?


Re: error 001: expected token: "}", but found "-string-" - ViniBorn - 11.04.2017

Tб faltando a include cpstream.