annoying pawn error
#1

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 Код:
};
Reply
#2

use
pawn Код:
return 1;
and

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

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.
Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)