SA-MP Forums Archive
Include Errors (+REP) - 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: Include Errors (+REP) (/showthread.php?tid=335371)



Include Errors (SOLVED) - James Coral - 18.04.2012

EDIT: Solved


Re: Include Errors (+REP) - ]Rafaellos[ - 18.04.2012

Quote:

symbol already defined: "strtok"
symbol already defined: "isNumeric"

Means that you have already defined it somewhere in your script.

Quote:

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

Give the line 90.


Re: Include Errors (+REP) - James Coral - 18.04.2012

No, they are Defined in Include!

LINE: 90: "Barracks",


Re: Include Errors (+REP) - Biesmen - 18.04.2012

James, you probably defined strtok and IsNumeric in your script aswell.
And why the hell would you remove an include? You obviously have NO idea what scripting is, does, and what you have to do.

Read this: https://sampwiki.blast.hk/wiki/Scripting_Basics


Re: Include Errors (+REP) - iggy1 - 18.04.2012

To include gl_common if you have not put it in your pawno>includes you need to include with this line.
pawn Код:
#include "../include/gl_common.inc"
isnumeric func.

pawn Код:
stock isnumeric(szStr[])//******
{
    new
        ch,
        i;
    while ((ch = szStr[i++])) if (ch < '0' || ch > '9') return 0;
    return 1;
}



Re: Include Errors (+REP) - James Coral - 18.04.2012

Lol i know what is scripting, lol

Btw I deleted Isnumeric and strotk from gl_common:

PROBLEM SOLVED , +REP FOR ALL