fly mod - satdm
#7

You defined it and it says that "strtok" is never used. If you read better my post, you'll see that I said
Quote:
Originally Posted by Dwane
Посмотреть сообщение
It's a warning, not an error. It just says that this symbol "strtok" is never used.
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;
}
So, you don't need this.
Don't add it to your script as you already have it!

You can edit your post, you don't need to double post and are you sure the variable is assigned to 3?
Reply


Messages In This Thread
fly mod - satdm - by Frede - 05.12.2012, 11:36
Re: fly mod - satdm - by LarzI - 05.12.2012, 11:42
Re: fly mod - satdm - by Konstantinos - 05.12.2012, 11:48
Re: fly mod - satdm - by Frede - 05.12.2012, 12:13
Re: fly mod - satdm - by Frede - 05.12.2012, 12:22
Re: fly mod - satdm - by Frede - 05.12.2012, 12:26
Re: fly mod - satdm - by Konstantinos - 05.12.2012, 12:27
Re: fly mod - satdm - by Frede - 05.12.2012, 12:32
Re: fly mod - satdm - by LarzI - 05.12.2012, 12:34
Re: fly mod - satdm - by Frede - 05.12.2012, 12:37

Forum Jump:


Users browsing this thread: 2 Guest(s)