[Ajuda] Concessionaria
#6

Ficara assim:

pawn Код:
str(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;
}
Ira dar algumas Warnings, Que não afetara o Filterscript!
Reply


Messages In This Thread
Concessionaria - by MoonRey - 28.08.2013, 01:44
Re: Concessionaria - by Sti - 28.08.2013, 01:48
Respuesta: Concessionaria - by MoonRey - 28.08.2013, 02:02
Re: Concessionaria - by fullano - 28.08.2013, 02:05
Re: Concessionaria - by fullano - 28.08.2013, 02:07
Re: Concessionaria - by Sti - 28.08.2013, 02:08
Re: Concessionaria - by Sti - 28.08.2013, 02:16

Forum Jump:


Users browsing this thread: 3 Guest(s)