[AJUDA] Erros
#2

Adiciona isso no final do teu script:

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


Messages In This Thread
[AJUDA] Erros - by Jorge_Hard - 06.03.2011, 03:29
Re: [AJUDA] Erros - by [BEP]AcerPilot - 06.03.2011, 03:40
Respuesta: [AJUDA] Erros - by Lunnatiicz - 06.03.2011, 03:42
Re: [AJUDA] Erros - by Jorge_Hard - 06.03.2011, 03:52
Re: [AJUDA] Erros - by [BEP]AcerPilot - 06.03.2011, 03:54

Forum Jump:


Users browsing this thread: 2 Guest(s)