Include Errors (+REP)
#1

EDIT: Solved
Reply
#2

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.
Reply
#3

No, they are Defined in Include!

LINE: 90: "Barracks",
Reply
#4

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
Reply
#5

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;
}
Reply
#6

Lol i know what is scripting, lol

Btw I deleted Isnumeric and strotk from gl_common:

PROBLEM SOLVED , +REP FOR ALL
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)