SA-MP Forums Archive
HELP with Error 021 and 047 - 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: HELP with Error 021 and 047 (/showthread.php?tid=388818)



HELP with Error 021 and 047 - superdanv88 - 30.10.2012

hey i need some help please i get these errors when compiling? thanks for all your help

(2511 : error 021: symbol already defined: "strtok"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.


Re: HELP with Error 021 and 047 - edzuss99 - 30.10.2012

Can you show script ?


Re: HELP with Error 021 and 047 - superdanv88 - 30.10.2012

all of it or just the error lines?


Re: HELP with Error 021 and 047 - Private200 - 30.10.2012

Just show the line . And the error is on your array , show error line


Re: HELP with Error 021 and 047 - superdanv88 - 30.10.2012

his is the first 047 error i had: Line (25133) return result;


Re: HELP with Error 021 and 047 - Private200 - 30.10.2012

Show some lines before it , From the start of the callback


Re: HELP with Error 021 and 047 - superdanv88 - 30.10.2012

public split(const strsrc[], strdest[][], delimiter)
{
new i, li;
new aNum;
new len;
while(i <= strlen(strsrc)){
if(strsrc[i]==delimiter || i==strlen(strsrc)){
len = strmid(strdest[aNum], strsrc, li, i, 12;
strdest[aNum][len] = 0;
li = i+1;
aNum++;
}
i++;
}


Re: HELP with Error 021 and 047 - Private200 - 30.10.2012

Edit your file up and show me the line with the errors
and put [pawn ] before the post and [/pawn] at the end of it


Re: HELP with Error 021 and 047 - superdanv88 - 30.10.2012

The: symbol is meant to be 1 2 8 )


Re: HELP with Error 021 and 047 - Private200 - 30.10.2012

I dont understand anything in that order -.-'

The problem is with your arraw .

on pawno press ctrl + f and search arraw .

Tell me that line with array and the number that it shows