25.06.2011, 12:49
Ola sou novo por aqui, estou a 3 dias tentando resolver os erros do meu Fs de Admin e nгo consigo.. se alguem puder me ajudar com esses 5 erros eu agradeзo!
Aki sгo as Linhas com os Erros
Код:
C:\Documents and Settings\Samuka\Meus documentos\Downloads\caioadmin.pwn(260) : warning 213: tag mismatch C:\Documents and Settings\Samuka\Meus documentos\Downloads\caioadmin.pwn(260) : warning 213: tag mismatch C:\Documents and Settings\Samuka\Meus documentos\Downloads\caioadmin.pwn(265) : warning 213: tag mismatch C:\Documents and Settings\Samuka\Meus documentos\Downloads\caioadmin.pwn(266) : warning 213: tag mismatch C:\Documents and Settings\Samuka\Meus documentos\Downloads\caioadmin.pwn(336) : error 028: invalid subscript (not an array or too many subscripts): "arg0" C:\Documents and Settings\Samuka\Meus documentos\Downloads\caioadmin.pwn(336) : warning 215: expression has no effect C:\Documents and Settings\Samuka\Meus documentos\Downloads\caioadmin.pwn(336) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Samuka\Meus documentos\Downloads\caioadmin.pwn(336) : error 029: invalid expression, assumed zero C:\Documents and Settings\Samuka\Meus documentos\Downloads\caioadmin.pwn(336) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
function150(arg0[], arg1[]) { new File:var0 = 0, File:var1 = 0; // == linha 260 if(!fexist(arg0)) { return 0; } var0 = fopen(arg0, 0); //== Linha 265 var1 = fopen(arg1, 1); // == Linha 266 new var2[255]; while(fread(var0, var2, 255)) { function368(var2); format(var2, 255, "%s \n", var2); fwrite(var1, var2); } fclose(var0); fclose(var1); return 1; }
Код:
functionA08(arg0[], &arg1, arg2) { new var0 = strlen(arg0); new var1 = arg1; new var2[255]; while(arg1 < var0 && arg0[arg1] != arg2 && arg1 - var1 < 254) { var2[arg1 - var1] = arg0[arg1]; arg1++; } var2[arg1 - var1] = 0; if(arg1 < var0 && arg0[arg1] == arg2) // === linha 366 { arg1++; } return var2; }