SA-MP Forums Archive
[HELP]: 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]: error 047: array sizes do not match, or destination array is too small (/showthread.php?tid=269620)



[HELP]: error 047: array sizes do not match, or destination array is too small - txt_16 - 17.07.2011

hi guys. i have a problem please help me

new x_nr[64];
x_nr = strtok(cmdtext, idx); ~~~> here is the problem
if(!strlen(x_nr))
{



C:\Documents and Settings\Golumbeanu\Desktop\BloodzRp\gamemodes\blo odzrp.pwn(18221) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.



please help me !! sorry for my bad english


Re: [HELP]: error 047: array sizes do not match, or destination array is too small - Wesley221 - 17.07.2011

Change x_nr[64] to [128], and otherwise to [256]. Not sure which should do it


Re: [HELP]: error 047: array sizes do not match, or destination array is too small - txt_16 - 17.07.2011

has been solved thanks