INCLUDE problem
#1

i got this errors

Quote:

E:\lvcnr1\pawno\include\../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
E:\lvcnr1\pawno\include\../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
C:\Users\ammar_000\Desktop\BETA.pwn(3224) : error 017: undefined symbol "pMoney"
C:\Users\ammar_000\Desktop\BETA.pwn(3224) : warning 215: expression has no effect
C:\Users\ammar_000\Desktop\BETA.pwn(3224) : error 001: expected token: ";", but found "]"
C:\Users\ammar_000\Desktop\BETA.pwn(3224) : error 029: invalid expression, assumed zero
C:\Users\ammar_000\Desktop\BETA.pwn(3224) : fatal error 107: too many error messages on one line

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


6 Errors.

Can u tell me what include am MISSING?
Reply
#2

its a function
pawn Код:
strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }
 
    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}
And you have variables missing
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)