Quote:
Originally Posted by JuniorTheDM
PHP код:
C:\Users\Usuario\Desktop\THE DM\gamemodes\thedm.pwn(4327) : error 017: undefined symbol "strtok"
C:\Users\Usuario\Desktop\THE DM\gamemodes\thedm.pwn(4327) : error 033: array must be indexed (variable "cmd")
C:\Users\Usuario\Desktop\THE DM\gamemodes\thedm.pwn(4333) : error 017: undefined symbol "cmdtext"
C:\Users\Usuario\Desktop\THE DM\gamemodes\thedm.pwn(4365) : error 017: undefined symbol "GivePlayerGrana"
C:\Users\Usuario\Desktop\THE DM\gamemodes\thedm.pwn(4390) : error 017: undefined symbol "Verde"
C:\Users\Usuario\Desktop\THE DM\gamemodes\thedm.pwn(4399) : error 017: undefined symbol "file"
C:\Users\Usuario\Desktop\THE DM\gamemodes\thedm.pwn(4399) : error 017: undefined symbol "file"
C:\Users\Usuario\Desktop\THE DM\gamemodes\thedm.pwn(4399) : error 029: invalid expression, assumed zero
C:\Users\Usuario\Desktop\THE DM\gamemodes\thedm.pwn(4399) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
9 Errors.
|
Colб isso no final do seu gamemode e compila denovo
Quote:
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;
}
|