SA-MP Forums Archive
error 047: array sizes do not match, or destination array is too small :-> 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)
+--- Thread: error 047: array sizes do not match, or destination array is too small :-> Help (/showthread.php?tid=312017)



error 047: array sizes do not match, or destination array is too small :-> Help - Zxdsl - 19.01.2012

Код:
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(27590) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(27600) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(27719) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(27739) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(27746) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(27805) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28643) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28643) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28661) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28661) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28677) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28677) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28693) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28693) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28708) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28708) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28723) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28723) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28738) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28738) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28754) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28754) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28770) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28770) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28813) : error 047: array sizes do not match, or destination array is too small
C:\Users\Arish\Desktop\SATDM~RP v130\Gamemodes\SATDM_v13.pwn(28813) : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.



Re: error 047: array sizes do not match, or destination array is too small :-> Help - MR,Mr - 19.01.2012

Provide at least one of the lines mentioned in the errors?


Re: error 047: array sizes do not match, or destination array is too small :-> Help - Zxdsl - 19.01.2012

Please AnyOne Help Me


Re: error 047: array sizes do not match, or destination array is too small :-> Help - Konstantinos - 19.01.2012

We are not magicians to guess your code
Would you mind to post some of the lines that you got the errors.


Re: error 047: array sizes do not match, or destination array is too small :-> Help - milanosie - 19.01.2012

Quote:
Originally Posted by Dwane
Посмотреть сообщение
We are not magicians to guess your code
Would you mind to post some of the lines that you got the errors.
Adding to that. The person above me already told you that.


Re: error 047: array sizes do not match, or destination array is too small :-> Help - Zxdsl - 19.01.2012

How To Fix It ?


Re: error 047: array sizes do not match, or destination array is too small :-> Help - Konstantinos - 19.01.2012

For array assignment, the arrays on the left and the right side of the assignment operator must have the same number of dimensions.
In addition:
- for multi-dimensional arrays, both arrays must have the same size;
- for single arrays with a single dimension, the array on the left side of the assignment operator must have a size that is equal or bigger than the one on the right side.
When passing arrays to a function argument, these rules also hold for the array that is passed to the function (in the function call) versus the array declared in the function definition. When a function returns an array, all return statements must specify an array with the same size and dimensions.

Try to fix it by yourself or if you can't just post your code here. By ask how to fix it, people aren't able to reply you because they ( include me) don't know the code.


Re: error 047: array sizes do not match, or destination array is too small :-> Help - Zxdsl - 19.01.2012

****** You Have TeamViewer ?


Re: error 047: array sizes do not match, or destination array is too small :-> Help - Zxdsl - 19.01.2012

Ok! i ll add tommorow , i am Going To Sleep
oK ?


Re: error 047: array sizes do not match, or destination array is too small :-> Help - Zxdsl - 20.01.2012

AnyOne Please Help ?