help me please, 26 Errors !
#8

Place what Fj0rtizFredde gave you at the very bottom of the script.

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


Messages In This Thread
help me please, 26 Errors ! - by d1Erz - 22.12.2010, 21:31
Re: help me please, 26 Errors ! - by AzTeCaS - 22.12.2010, 21:39
Re: help me please, 26 Errors ! - by d1Erz - 22.12.2010, 21:42
Respuesta: help me please, 26 Errors ! - by admantis - 23.12.2010, 00:19
Re: help me please, 26 Errors ! - by Fj0rtizFredde - 23.12.2010, 00:26
Re: help me please, 26 Errors ! - by d1Erz - 23.12.2010, 15:33
Re: help me please, 26 Errors ! - by d1Erz - 24.12.2010, 11:25
Re: help me please, 26 Errors ! - by Kaylux - 24.12.2010, 11:49
Re: help me please, 26 Errors ! - by d1Erz - 24.12.2010, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)