SA-MP Forums Archive
error 47 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: error 47 help (/showthread.php?tid=255856)



error 47 help - Bob_Raw - 17.05.2011

I keep getting this error saying....

error 047: array sizes do not match, or destination array is too small

I have this error about 24 times, can anyone tell me how to fix this?
Thanks.


Re: error 47 help - Venice - 17.05.2011

post the error line


Re: error 47 help - randomkid88 - 17.05.2011

Make sure you aren't trying to put more data in an array than what you have defined. For example, if you have an array with 2 slots and you try to put 3 pieces of data in it, it won't work. Specifically make sure if the array has strings in it that you include 1 extra character than the length of the string you will be storing for the escape character.