[Ajuda] Erro na compilaзгo de um GM
#1

Eae.

Eu ando a ver alguns GM's para tirar algumas bases e ver cada coisa de cada um. Mas este gamemode na hora de compilar da este erro:

pawn Код:
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(6066) : error 021: symbol already defined: "strtok"
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(6081) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(7429) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(7448) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(7480) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(7535) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(7848) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(8353) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(8391) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(8531) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(8626) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(8672) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(8712) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(8784) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(8822) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(8851) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(8942) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(9295) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(9489) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(9530) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(9602) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(9917) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(9964) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(10319) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(10466) : error 047: array sizes do not match, or destination array is too small
C:\Users\eafve_000\Documents\New Virtual Streme\New Virtual Streme\New Virtual Extreme , Feito por Waling_Striker\gamemodes\NVE.pwn(10521) : error 047: array sizes do not match, or destination array is too small
GM New Virtual Extreme

espero que me ajudem pfv
Reply
#2

No Final do gamemode:

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;
}
Reply
#3

Continua a dar o erro
Reply
#4

Poderia postar as linhas que estгo dando o erro?
Reply
#5

Sao todas as que tem esta variavel

pawn Код:
strtok(cmdtext, idx);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)