SA-MP Forums Archive
some dumb problem. - 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: some dumb problem. (/showthread.php?tid=375204)



some dumb problem. - [A]ndrei - 05.09.2012

hey guys
pawn Код:
{"Sadler"},{"Luggage Trailer A"},{"Luggage Trailer B"},{"Stair Trailer"},{"Boxville"},{"Farm Plow"},}};
Код:
C:\Users\xxxxx\Desktop\Andrei\xxx\filterscripts\cs.pwn(67) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
+rep for helper


Re: some dumb problem. - _Khaled_ - 05.09.2012

pawn Код:
//Try removing the  ,}}
at the end.

,}}



Re: some dumb problem. - [A]ndrei - 05.09.2012

i did that then gives a different problem :/


Re: some dumb problem. - Kirollos - 05.09.2012

give me the full array?


Re: some dumb problem. - shamortiy - 05.09.2012

pawn Код:
new array[][] = { "Sadler","Luggage Trailer A","Luggage Trailer B","Stair Trailer","Boxville","Farm Plow" };
try this?


Re: some dumb problem. - [ABK]Antonio - 05.09.2012

Just remove the end comma