/siren filterscript problem
#9

Have you added strtok to your FS?
If not add this in the end.
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
/siren filterscript problem - by MTCool - 19.02.2012, 16:49
Re: /siren filterscript problem - by Twisted_Insane - 19.02.2012, 16:56
Re: /siren filterscript problem - by MTCool - 19.02.2012, 17:18
Re: /siren filterscript problem - by Twisted_Insane - 19.02.2012, 18:33
Re: /siren filterscript problem - by MTCool - 19.02.2012, 18:40
Re: /siren filterscript problem - by Twisted_Insane - 19.02.2012, 18:46
Re: /siren filterscript problem - by MTCool - 19.02.2012, 19:10
Re: /siren filterscript problem - by MTCool - 20.02.2012, 00:32
Re: /siren filterscript problem - by McCarthy - 20.02.2012, 09:18
Re: /siren filterscript problem - by MTCool - 20.02.2012, 12:55

Forum Jump:


Users browsing this thread: 3 Guest(s)