24.07.2011, 16:16
(
Последний раз редактировалось CarlosRodrigues; 24.07.2011 в 16:59.
)
Bueno lo que aparece es esto:
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(15566) : error 021: symbol already defined: "strtok"
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(15581) : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(20297) : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(20517) : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(22603) : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(23054) : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(2328 : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(24011) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
8 Errors.
El primer error es en esta linea:
}
strtok(const string[], &index)
{
Y en los otros errores eso de array sizes do not match, or destination array is to mall una linea tiene esto
x_nr = strtok(cmdtext, idx); y todas las demas tienen tambien el strtok
la linea completa del primer error es esto:
//SaveAccounts();
Checkprop();
return 1;
}
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;
}
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(15566) : error 021: symbol already defined: "strtok"
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(15581) : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(20297) : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(20517) : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(22603) : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(23054) : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(2328 : error 047: array sizes do not match, or destination array is too small
C:\Users\Admin\Desktop\Roleplay Sunshine Espaсol\gamemodes\RP-RW.pwn(24011) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
8 Errors.
El primer error es en esta linea:
}
strtok(const string[], &index)
{
Y en los otros errores eso de array sizes do not match, or destination array is to mall una linea tiene esto
x_nr = strtok(cmdtext, idx); y todas las demas tienen tambien el strtok
la linea completa del primer error es esto:
//SaveAccounts();
Checkprop();
return 1;
}
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;
}