[Ajuda] Erros --'
#3

Quote:
Originally Posted by Caio_Freeze
Посмотреть сообщение
coloca isso no final do gm

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;
}
pawn Код:
warning 202: number of arguments does not match definition
warning 202: number of arguments does not match definition
error 017: undefined symbol "set"
error 017: undefined symbol "set"
error 017: undefined symbol "StrToInt"
error 017: undefined symbol "StrToInt"
 warning 203: symbol is never used: "DelayedKick"
pawn Код:
tmp = strtok(cmdtext, idx, strlen(cmdtext));
tmp = strtok(cmdtext, idx, strlen(cmdtext));
set(nome, tmp);
set(cor1,tmp);
dini_IntSet(string, "Cor1", StrToInt(inputtext));
dini_IntSet(string, "Cor2", StrToInt(inputtext));
Reply


Messages In This Thread
Erros --' - by Serjnrg - 22.05.2013, 18:40
Re: Erros --' - by Caio_Freeze - 22.05.2013, 18:55
Re: Erros --' - by Serjnrg - 22.05.2013, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)