[AJUDA] Erro
#3

Coloque isto no seu gamemode:
pawn Код:
stock strrest(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }
    new offset = index;
    new result[128];
    while ((index < length) && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}
Reply


Messages In This Thread
[AJUDA] Erro - by Miqueias Barros - 29.05.2011, 16:00
Re: [AJUDA] Erro - by steki. - 29.05.2011, 16:35
Re: [AJUDA] Erro - by Dr_Pawno - 29.05.2011, 16:53
Re: [AJUDA] Erro - by Miqueias Barros - 29.05.2011, 17:33

Forum Jump:


Users browsing this thread: 2 Guest(s)