[Ajuda] Ao Compilar no pawn 0.3c
#3

pawn Код:
stock 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;
}
Os outros erros sгo das arrays "tmp" e "cmd"
Reply


Messages In This Thread
[Ajuda] Ao Compilar no pawn 0.3c - by Twisted_. - 27.02.2011, 20:31
Re: [Ajuda] Ao Compilar no pawn 0.3c - by Bruno Pereira - 27.02.2011, 20:35
Re: [Ajuda] Ao Compilar no pawn 0.3c - by blackwave - 27.02.2011, 20:36
Re : [Ajuda] Ao Compilar no pawn 0.3c - by Twisted_. - 27.02.2011, 20:42
Re: [Ajuda] Ao Compilar no pawn 0.3c - by Peedro Felix - 27.02.2011, 20:55
Re: Re : [Ajuda] Ao Compilar no pawn 0.3c - by LuxurioN™ - 27.02.2011, 21:00
Re : [Ajuda] Ao Compilar no pawn 0.3c - by Twisted_. - 27.02.2011, 21:23
Re: Re : [Ajuda] Ao Compilar no pawn 0.3c - by LuxurioN™ - 27.02.2011, 21:33
Re : [Ajuda] Ao Compilar no pawn 0.3c - by Twisted_. - 27.02.2011, 21:37
Re: Re : [Ajuda] Ao Compilar no pawn 0.3c - by LuxurioN™ - 27.02.2011, 21:54

Forum Jump:


Users browsing this thread: 2 Guest(s)