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



"error 047: array sizes do not match, or destination array is too small" - Bigcheker12 - 20.11.2016

Hello,
I have had this script downloaded for a while. It worked perfectly a couple of months back, now I want to put it into my server again and now it says "error 047: array sizes do not match, or destination array is too small" all of a sudden. What can i do?


Re: "error 047: array sizes do not match, or destination array is too small" - Kaliber - 20.11.2016

Well, actually pls post...your hole errors..and well..some code


Re: "error 047: array sizes do not match, or destination array is too small" - BiosMarcel - 20.11.2016

The errorcode is selfexplanatory

An example:

Number X = 3

So, you have an array with size of X, meaning u can store up to X(3) values.

If you now try to store more than X(3) values or you try to store it out of the index range, which in this case is 0 - 2 , u get this error