SA-MP Forums Archive
annoying pawn error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: annoying pawn error (/showthread.php?tid=427272)



annoying pawn error - Geeboi_Mehdi - 01.04.2013

i only get this error only on that line and not the others and they are all the same except for the cords and name
error
pawn Код:
C:\Users\Mehdi\Desktop\Pilots heaven\gamemodes\PH.pwn(844) : error 001: expected token: "}", but found "{"
C:\Users\Mehdi\Desktop\Pilots heaven\gamemodes\PH.pwn(846) : error 010: invalid function or declaration
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
lines;
pawn Код:
line 844 {"Fort Carson Airport helipad-A", -435.2999878, 755.0999756, 26.2999992}
pawn Код:
Line 846     return 0;
}
in line 846 it used to be
pawn Код:
};



Re: annoying pawn error - Xoomer - 01.04.2013

use
pawn Код:
return 1;
and

pawn Код:
{"Fort Carson Airport helipad-A", -435.2999878, 755.0999756, 26.2999992};
try this


Re: annoying pawn error - Geeboi_Mehdi - 01.04.2013

Same error
pawn Код:
C:\Users\Daoud\Desktop\Pilots heaven\gamemodes\PH.pwn(844) : error 001: expected token: "}", but found "{"
C:\Users\Daoud\Desktop\Pilots heaven\gamemodes\PH.pwn(846) : error 010: invalid function or declaration
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.



Re: annoying pawn error - Avi Raj - 01.04.2013

use this :-
Код:
{"Fort Carson Airport helipad-A"}, -435.2999878, 755.0999756, 26.2999992};