LuxAdmin Can't Compile
#7

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;
}
rep++ if helped.
Reply


Messages In This Thread
LuxAdmin Can't Compile - by stormchaser206 - 23.03.2012, 16:05
Re: LuxAdmin Can't Compile - by GNGification - 23.03.2012, 16:12
Re: LuxAdmin Can't Compile - by stormchaser206 - 23.03.2012, 16:19
Re: LuxAdmin Can't Compile - by stormchaser206 - 24.03.2012, 18:52
Re: LuxAdmin Can't Compile - by ReneG - 24.03.2012, 18:55
Re: LuxAdmin Can't Compile - by stormchaser206 - 24.03.2012, 20:11
Re: LuxAdmin Can't Compile - by Mike_Peterson - 24.03.2012, 20:27
Re: LuxAdmin Can't Compile - by stormchaser206 - 24.03.2012, 20:34

Forum Jump:


Users browsing this thread: 1 Guest(s)