16.01.2014, 04:24
Buenas porfavor me ayuaran a solucionar estos 2 errores:
D:\--------\gamemodes\-------.pwn(14935) : error 021: symbol already defined: "strtok"
D:\--------\gamemodes\-------.pwn(14946) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Y Aqui Las Lineas De Los Errores:
Porfavor Espero Me Puedan Ayudar, mi Server anda Cerrado Por Esto.
D:\--------\gamemodes\-------.pwn(14935) : error 021: symbol already defined: "strtok"
D:\--------\gamemodes\-------.pwn(14946) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Y Aqui Las Lineas De Los Errores:
pawn Код:
strtok(const string[], &index,seperator=' ')
{ /* Linea 14935 xD */
new length = strlen(string);
new offset = index;
new result[NOMOVE_STR];
while ((index < length) && (string[index] != seperator) && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
if ((index < length) && (string[index] == seperator))index++;/* Linea 14946 */
return result;
}