[Ajuda] Erros no GM
#2

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;
}
no final do seu script
Reply


Messages In This Thread
Erros no GM - by [NVC]iTrevaS - 29.11.2012, 23:57
Re: Erros no GM - by _Jizzy_ - 30.11.2012, 00:03
Respuesta: Erros no GM - by [NVC]iTrevaS - 30.11.2012, 00:21

Forum Jump:


Users browsing this thread: 1 Guest(s)