/kick help | Not working | need direction
#3

Try to add this to your code somewhere:

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;
}
Not in any funtions, etcetra.

Not certain, as I never use default commands, but that might be needed to do it. It might not be already in the script, as you may need to add it yourself.
Reply


Messages In This Thread
/kick help | Not working | need direction - by darkvsoul36 - 23.07.2012, 04:18
Re: /kick help | Not working | need direction - by Akira297 - 23.07.2012, 04:21
Re: /kick help | Not working | need direction - by Kindred - 23.07.2012, 04:21
Re: /kick help | Not working | need direction - by darkvsoul36 - 23.07.2012, 04:26
Re: /kick help | Not working | need direction - by Kindred - 23.07.2012, 04:28
Re: /kick help | Not working | need direction - by Akira297 - 23.07.2012, 04:29
Re: /kick help | Not working | need direction - by darkvsoul36 - 23.07.2012, 04:33

Forum Jump:


Users browsing this thread: 1 Guest(s)