12.06.2011, 14:49
ajuda ai
linhas//
pawn Код:
C:\admin.pwn(48) : warning 213: tag mismatch
C:\admin.pwn(48) : warning 213: tag mismatch
C:\admin.pwn(53) : warning 213: tag mismatch
C:\admin.pwn(54) : warning 213: tag mismatch
C:\admin.pwn(124) : error 028: invalid subscript (not an array or too many subscripts): "arg0"
C:\admin.pwn(124) : warning 215: expression has no effect
C:\admin.pwn(124) : error 001: expected token: ";", but found "]"
C:\admin.pwn(124) : error 029: invalid expression, assumed zero
C:\admin.pwn(124) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
{
new File:var0 = 0, File:var1 = 0; /// LINHA 48
if(!fexist(arg0))
{
return 0;
}
var0 = fopen(arg0, 0); /// LINHA 53
var1 = fopen(arg1, 1);///linha 54
new var2[255];
while(fread(var0, var2, 255))
{
pawn Код:
function7A8(arg0, arg1[])
{
new var0 = strlen(arg1);
new var1 = 0;
for(var1 = 0; var1 < var0; var1++)
{
arg0[var1] = arg1[var1]; /// LINHA 124
}
arg0[var0] = 0;
return 0;
}