SA-MP Forums Archive
Array size error - 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: Array size error (/showthread.php?tid=312905)



Array size error - Gugi The Man - 23.01.2012

array sizes do not match, or destination array is too small

and 26 same errors...

Some code lines of them

tmp = strtok(cmdtext, idx);
cmd = strtok(cmdtext, idx);
and all are same as theese ... and definition of arrays is like this

new cmd[128];
new tmp[128];
and I did tryed to type 256 or 512 insted of 128 but same thing...
Help pls and ty


Re: Array size error - Niko_boy - 23.01.2012

hmm u missed any brackets etc>!?!?!
in ur script check it ! i used to get this when i do such things as lames

----


Re: Array size error - Gugi The Man - 23.01.2012

Script has 80k rows , whould be hard to find missing brackets...


Re: Array size error - [XST]O_x - 23.01.2012

Nvm don't post the whole code, just the lines who has errors.


Re: Array size error - Gugi The Man - 23.01.2012

I posted rows , and they are all same where errors are ...