PDA

View Full Version : error 047: array sizes do not match, or destination array is too small :-> Help


Zxdsl
19/01/2012, 04:18 PM
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 (c) 1997-2006, ITB CompuPhase


26 Errors.

MR,Mr
19/01/2012, 04:25 PM
Provide at least one of the lines mentioned in the errors?

Zxdsl
19/01/2012, 05:41 PM
Please AnyOne Help Me :(

Konstantinos
19/01/2012, 05:43 PM
We are not magicians to guess your code :p
Would you mind to post some of the lines that you got the errors.

milanosie
19/01/2012, 05:46 PM
We are not magicians to guess your code :p
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.

Zxdsl
19/01/2012, 05:48 PM
How To Fix It ?

Konstantinos
19/01/2012, 06:00 PM
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.

Zxdsl
19/01/2012, 06:54 PM
****** You Have TeamViewer ?

Zxdsl
19/01/2012, 06:58 PM
Ok! i ll add tommorow , i am Going To Sleep
oK ?

Zxdsl
20/01/2012, 03:01 PM
AnyOne Please Help :? ?

Vince
20/01/2012, 03:06 PM
Are you seriously that stupid?
We cannot do anything unless you give us some code first!

Hope it settles into your tiny brain this time.