Raven's Roleplay Error
#3

pawn Code:
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;//25130
}
25130 line i have commented the whole function is the rest
Reply


Messages In This Thread
Raven's Roleplay Error - by §с†¶e®РµРe - 25.12.2011, 03:26
Re: Raven's Roleplay Error - by §с†¶e®РµРe - 25.12.2011, 03:30
Re: Raven's Roleplay Error - by §с†¶e®РµРe - 25.12.2011, 03:33
Re: Raven's Roleplay Error - by §с†¶e®РµРe - 25.12.2011, 03:41
Re: Raven's Roleplay Error - by §с†¶e®РµРe - 25.12.2011, 03:44
Re: Raven's Roleplay Error - by §с†¶e®РµРe - 25.12.2011, 03:55
Re: Raven's Roleplay Error - by §с†¶e®РµРe - 25.12.2011, 04:06
Re: Raven's Roleplay Error - by §с†¶e®РµРe - 25.12.2011, 04:28
Re: Raven's Roleplay Error - by §с†¶e®РµРe - 25.12.2011, 05:38

Forum Jump:


Users browsing this thread: 1 Guest(s)