[AJUDA] +REP 2 problemas
#2

Para os erros , tente por isso ao final do seu GM

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] +REP 2 problemas - by peumenezes - 28.04.2012, 23:22
Re: [AJUDA] +REP 2 problemas - by .FuneraL. - 28.04.2012, 23:27
Re: [AJUDA] +REP 2 problemas - by peumenezes - 28.04.2012, 23:43
Re: [AJUDA] +REP 2 problemas - by peumenezes - 29.04.2012, 00:00
Re: [AJUDA] +REP 2 problemas - by RoacH` - 29.04.2012, 00:36
Re: [AJUDA] +REP 2 problemas - by peumenezes - 29.04.2012, 00:51

Forum Jump:


Users browsing this thread: 2 Guest(s)