Quote:
Originally Posted by [BOPE]Seu._.Madruga
Coloca no final do GM:
PHP код:
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;
}
|
ae mano deu so esse aqui agr
C:\Documents and Settings\MaxiMuS\Desktop\New Server\gamemodes\new.pwn(132
: error 017: undefined symbol "idx"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Linha: 1328: tmp = strtok(cmdtext, idx);