SA-MP Forums Archive
HELP me! 26 errors! - 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 me! 26 errors! (/showthread.php?tid=423579)



HELP me! 26 errors! - AnaC - 18.03.2013

Please add me on skype: gregor.kouk to explain me what should I do

Check here:



C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(24876) : error 021: symbol already defined: "strtok"
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(24891) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(26406) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(26466) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(26519) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(27194) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(27253) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(27934) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(27962) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(27973) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28033) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28211) : warning 219: local variable "idcar" shadows a variable at a preceding level
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28345) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28372) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28402) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28410) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28444) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28452) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28485) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28530) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28593) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28651) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28659) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28694) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28702) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28897) : error 047: array sizes do not match, or destination array is too small
C:\Users\AnaC\Desktop\TEST GM\gamemodes\larp.pwn(28951) : 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 me! 26 errors! - Pillhead2007 - 18.03.2013

post code mate not compiler error


Re: HELP me! 26 errors! - Yves - 18.03.2013

if you can read you have 2 (24876) : error 021: symbol already defined: "strtok"


Re: HELP me! 26 errors! - AnaC - 18.03.2013

so? How can I fix them?


Re: HELP me! 26 errors! - Pillhead2007 - 18.03.2013

you need to post your code mate not error code like
Quote:

public OnGameModeExit()
{
DestroyVehicle(Vehicle1);
return 1;
}

Basically You Have Defined srtok twice and its reading the proceeding level and the second bit is array/tags arnt correctly set!