[Ajuda] Erro
#5

Tentei fazer. nгo deu. Strtok:
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;
}
na linha 1195 tem isso
pawn Код:
return result;
e nas outras linhas
pawn Код:
cmd = strtok(cmdtext, idx);
Help :S
Reply


Messages In This Thread
[Ajuda] Erro - by CanTLoGin - 05.09.2011, 06:54
Re: [Ajuda] Erro - by Pharrel - 05.09.2011, 07:07
Re: [Ajuda] Erro - by CanTLoGin - 05.09.2011, 17:16
Re: [Ajuda] Erro - by Pharrel - 05.09.2011, 17:20
Re: [Ajuda] Erro - by CanTLoGin - 05.09.2011, 17:41
Re: [Ajuda] Erro - by Hardware - 05.09.2011, 17:46
Re: [Ajuda] Erro - by CanTLoGin - 05.09.2011, 17:53
Re: [Ajuda] Erro - by Hardware - 05.09.2011, 17:57
Re: [Ajuda] Erro - by Pharrel - 05.09.2011, 17:59
Re: [Ajuda] Erro - by CanTLoGin - 05.09.2011, 18:17

Forum Jump:


Users browsing this thread: 1 Guest(s)