[Ajuda] Sistema de Admin Erro!
#1

Galera Quando eu Vou Compilar da Isso

Quote:

C:\Users\Lucas\Desktop\admin.pwn(4 : warning 213: tag mismatch
C:\Users\Lucas\Desktop\admin.pwn(4 : warning 213: tag mismatch
C:\Users\Lucas\Desktop\admin.pwn(53) : warning 213: tag mismatch
C:\Users\Lucas\Desktop\admin.pwn(54) : warning 213: tag mismatch
C:\Users\Lucas\Desktop\admin.pwn(124) : error 028: invalid subscript (not an array or too many subscripts): "arg0"
C:\Users\Lucas\Desktop\admin.pwn(124) : warning 215: expression has no effect
C:\Users\Lucas\Desktop\admin.pwn(124) : error 001: expected token: ";", but found "]"
C:\Users\Lucas\Desktop\admin.pwn(124) : error 029: invalid expression, assumed zero
C:\Users\Lucas\Desktop\admin.pwn(124) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

As Linhas:

Quote:

functionA8(arg0[], arg1[])
{
new File:var0 = 0, File:var1 = 0;
if(!fexist(arg0))
{
return 0;
}
var0 = fopen(arg0, 0);
var1 = fopen(arg1, 1);
new var2[255];
while(fread(var0, var2, 255))
{
function2C0(var2);
format(var2, 255, "%s
\n", var2);
fwrite(var1, var2);
}
fclose(var0);
fclose(var1);
return 1;
}

function2C0(arg0[])
{
new var0 = strlen(arg0);
if(!arg0[0])
{
return 0;
}
if(arg0[var0 - 1] == 10 || arg0[var0 - 1] == 13)
{
arg0[var0 - 1] = 0;
if(!arg0[0])
{
return 0;
}
if(arg0[var0 - 2] == 10 || arg0[var0 - 2] == 13)
{
arg0[var0 - 2] = 0;
}
}
return 0;
}

function4E8(arg0[], arg1, arg2)
{
new var0[255];
new var1 = 0;
var0[0] = 0;
if(strlen(arg0) <= arg1)
{
return var0;
}
if(strlen(arg0) <= arg2 + arg1)
{
arg2 = strlen(arg0) - arg1;
}
if(0 >= arg2)
{
return var0;
}
for(var1 = arg1; arg2 + arg1 > var1; var1++)
{
var0[var1 - arg1] = arg0[var1];
if(!arg0[var1])
{
return var0;
}
}
var0[arg2] = 0;
return var0;
}

function7A8(arg0, arg1[])
{
new var0 = strlen(arg1);
new var1 = 0;
for(var1 = 0; var1 < var0; var1++)
{
arg0[var1] = arg1[var1];
}
arg0[var0] = 0;
return 0;
}

function89C(arg0[], arg1[], arg2)
{
if(strlen(arg0) != strlen(arg1))
{
return 0;
}
if(!strcmp(arg0, arg1, arg2))
{
return 1;
}
return 0;
}

function960(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)
{
arg1++;
}
return var2;
}

DIZ AE O QUE DEU DE ERRADO?
Reply
#2

Quote:

C:\Users\Lucas\Desktop\admin.pwn(4 : warning 213: tag mismatch
C:\Users\Lucas\Desktop\admin.pwn(4 : warning 213: tag mismatch
C:\Users\Lucas\Desktop\admin.pwn(53) : warning 213: tag mismatch
C:\Users\Lucas\Desktop\admin.pwn(54) : warning 213: tag mismatch
C:\Users\Lucas\Desktop\admin.pwn(124) : error 028: invalid subscript (not an array or too many subscripts): "arg0"
C:\Users\Lucas\Desktop\admin.pwn(124) : warning 215: expression has no effect
C:\Users\Lucas\Desktop\admin.pwn(124) : error 001: expected token: ";", but found "]"
C:\Users\Lucas\Desktop\admin.pwn(124) : error 029: invalid expression, assumed zero
C:\Users\Lucas\Desktop\admin.pwn(124) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

48 A 54
Quote:

new File:var0 = 0, File:var1 = 0;
if(!fexist(arg0))
{
return 0;
}
var0 = fopen(arg0, 0);
var1 = fopen(arg1, 1);

120 a 130
Quote:

new var0 = strlen(arg1);
new var1 = 0;
for(var1 = 0; var1 < var0; var1++)
{
arg0[var1] = arg1[var1];
}
arg0[var0] = 0;
return 0;
}

function89C(arg0[], arg1[], arg2)

Reply
#3

2Є Postagem Que Vale!
Reply
#4

Sem Triple post seu retardado
Reply
#5

Malz, Nгo Consegui Apagar a 1Є

Calma ae Rapaz! Precisa disso nгo!
Reply
#6

Dб prуxima vez coloque seu cуdigo em [*pawn] e [*/pawn] (sem os asteriscos)


Para uma soluзгo mais efetiva, poste todo o seu cуdigo, de preferencia neste site http://pastebin.com/. E em seguida poste o endereзo do seu cуdigo aqui no tуpico.


Isto deve arrumar os errors:

Troque:

pawn Код:
function7A8(arg0, arg1[])
{
new var0 = strlen(arg1);
new var1 = 0;
for(var1 = 0; var1 < var0; var1++)
{
arg0[var1] = arg1[var1];
}
arg0[var0] = 0;
return 0;
}

Por isto:


pawn Код:
function7A8(arg0[], arg1[])
{
new var0 = strlen(arg1);
new var1 = 0;
for(var1 = 0; var1 < var0; var1++)
{
arg0[var1] = arg1[var1];
}
arg0[var0] = 0;
return 1;
}
Espero ter ajudado
Reply
#7

Gamemode descompilado = bosta.
Reply
#8

Quote:
Originally Posted by Ricop522
Посмотреть сообщение
Gamemode descompilado = bosta.
Putz nem percebi =/, pensei que fosse um GameMode norte-americano


@L.S.T


Seu GameMode й descompilado, nгo importa o que fizermos o mesmo nгo funcionarб e ficarб dandos infinitos errors e warnings

Pegue um GameMode em .pwn aqui no fуrum e edite-o, ou entгo faзa seu prуprio GameMode (aperte Ctrl + N no pawno).
Reply
#9

Ok, Vlw
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)