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=580564)
error 047: array sizes do not match, or destination array is too small -
kingcrome - 06.07.2015
Код:
cmd = strtok(cmdtext, idx);
Any fix, or reason why this is happening?
Код HTML:
error 047: array sizes do not match, or destination array is too small
Re: error 047: array sizes do not match, or destination array is too small -
Prokill911 - 06.07.2015
Yes..
Because we're fuckin psychic an can magically see your code...
Giving us 1 line of code means shitall..
Re: error 047: array sizes do not match, or destination array is too small -
kingcrome - 06.07.2015
That is where the error is located...
AW: error 047: array sizes do not match, or destination array is too small -
Kaliber - 06.07.2015
Do this:
PHP код:
cmd[0]=EOS,strcat(cmd,strtok(cmdtext, idx),sizeof cmd);
Re: error 047: array sizes do not match, or destination array is too small -
dusk - 06.07.2015
Well with what you provided we can only guess.
In short, variable cmd is too small. Show us how you declare cmd.
Re: error 047: array sizes do not match, or destination array is too small -
kingcrome - 06.07.2015
@Kaliber It worked, but there are many more erros like that, and I still dont know how to fix time.
AW: error 047: array sizes do not match, or destination array is too small -
Kaliber - 06.07.2015
Send the Errors & lines...or give me your TeamViewer Data