Help please!!!
#2

u need to define the function somewhere in ur script
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 please!!! - by Rgaming - 25.12.2012, 16:18
Re: Help please!!! - by park4bmx - 25.12.2012, 16:21
Re: Help please!!! - by Rgaming - 25.12.2012, 16:35
Re: Help please!!! - by Typhome - 25.12.2012, 16:38
Re: Help please!!! - by Rgaming - 25.12.2012, 16:43
Re: Help please!!! - by Rgaming - 25.12.2012, 18:06
Re: Help please!!! - by park4bmx - 25.12.2012, 18:11
Re: Help please!!! - by Rgaming - 25.12.2012, 18:15
Re: Help please!!! - by park4bmx - 25.12.2012, 19:30

Forum Jump:


Users browsing this thread: 1 Guest(s)