SA-MP Forums Archive
error 1 - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: error 1 (/showthread.php?tid=133768)



error 1 - 02manchestera - 13.03.2010

Код:
		new gVehicleBombs[16][9] = {
	{553, 1, 1, 1, 0, 1, 0, 1, 0}
	}; // this is the line 58
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\my server\filterscripts\bomber.pwn(59) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Help would be greatful


Re: error 1 - aircombat - 13.03.2010

can u tell me what r u trying to do?


Re: error 1 - Chriham3 - 13.03.2010

Quote:
Originally Posted by 02manchestera
Код:
		new gVehicleBombs[16][9] = {
	{553, 1, 1, 1, 0, 1, 0, 1, 0}
	}; // this is the line 58
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\my server\filterscripts\bomber.pwn(59) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Help would be greatful
Try this:
Код:
	new gVehicleBombs[16][9] = {
	553, 1, 1, 1, 0, 1, 0, 1, 0 };



Re: error 1 - Born2die - 13.03.2010

You defined that the array contains 9 lines while there is only one. Try
pawn Код:
new gVehicleBombs[1][9] = {
    {553, 1, 1, 1, 0, 1, 0, 1, 0}
    }; // this is the line 58