[AJUDA] /PINTAR
#2

Just replace cmd with cmdtext
And with strtok , put on the front of your 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;
}
And at the error with Vermelho , you need to define it.. I don't speak spanish to know what this means..

Ps : Next time in english
Tell me if this work's
Reply


Messages In This Thread
[AJUDA] /PINTAR - by Jodson - 01.08.2012, 17:02
Re: [AJUDA] /PINTAR - by farCry.xD - 01.08.2012, 17:27

Forum Jump:


Users browsing this thread: 1 Guest(s)