SA-MP Forums Archive
3 error,please help! - 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: 3 error,please help! (/showthread.php?tid=248170)



3 error,please help! - buzifej - 12.04.2011

Error:
Код:
new Float:checkCoords[MAX_POINTS][3] = {


{2095.636474, 1443.091796, 2175.636474, 1499.091796}     	


};
(110) : error 018: initialization data exceeds declared size
(113) : error 052: multi-dimensional arrays must be fully initialized
(406) : error 047: array sizes do not match, or destination array is too small


Re: 3 error,please help! - iJumbo - 12.04.2011

put [4] not [3]


Re: 3 error,please help! - buzifej - 12.04.2011

not good
1 error
(113) : error 052: multi-dimensional arrays must be fully initialized


Re: 3 error,please help! - iJumbo - 12.04.2011

have you put

pawn Код:
#define MAX_POINTS 1



Re: 3 error,please help! - buzifej - 12.04.2011

New error:

Код:
#define MAX_POINTS 2

new Float:checkCoords[MAX_POINTS][4] = {
{2095.636474, 1443.091796, 2175.636474, 1499.091796}
};

error 052: multi-dimensional arrays must be fully initialized
error 018: initialization data exceeds declared size
error 055: start of function body without function header
error 010: invalid function or declaration
error 018: initialization data exceeds declared size