17.07.2013, 18:21
Bei mir im Script kommen diese Fehler und bekomme sie nicht weg. Wдre cool wenn mir jemand helfen kцnnte.
For me the script and get this error not get them away. Would be cool if someone could help me.
C:\Users\Nico\Desktop\DRP.pwn(2043 : error 017: undefined symbol "Time"
C:\Users\Nico\Desktop\DRP.pwn(20440) : error 017: undefined symbol "Time"
C:\Users\Nico\Desktop\DRP.pwn(24149) : warning 206: redundant test: constant expression is non-zero
C:\Users\Nico\Desktop\DRP.pwn(29373) : warning 206: redundant test: constant expression is non-zero
C:\Users\Nico\Desktop\DRP.pwn(29387) : warning 206: redundant test: constant expression is non-zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Und wenn ich dann #define Time mache kommen diese Fehler
And when I do #define Time come this errors
C:\Users\Nico\Desktop\DRP.pwn(2043 : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20440) : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20441) : error 017: undefined symbol "minni"
C:\Users\Nico\Desktop\DRP.pwn(20442) : error 017: undefined symbol "minni"
C:\Users\Nico\Desktop\DRP.pwn(24149) : warning 206: redundant test: constant expression is non-zero
C:\Users\Nico\Desktop\DRP.pwn(29373) : warning 206: redundant test: constant expression is non-zero
C:\Users\Nico\Desktop\DRP.pwn(29387) : warning 206: redundant test: constant expression is non-zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Und wenn ich dann #define minni mache kommen diese Fehler
And when I do #define minni come this errors
C:\Users\Nico\Desktop\DRP.pwn(2043 : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20440) : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20441) : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20441) : warning 215: expression has no effect
C:\Users\Nico\Desktop\DRP.pwn(20442) : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20442) : warning 215: expression has no effect
C:\Users\Nico\Desktop\DRP.pwn(20442) : error 001: expected token: ";", but found ")"
C:\Users\Nico\Desktop\DRP.pwn(20442) : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20442) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
7 Errors.
Und sooo weiter..
In Zeile 20441 ist das hier..
if(dini_Int(tbDir,"fbTime")+dini_Int(tbDir,"fbDura tion") > Time())
{
new sekki=(dini_Int(tbDir,"fbTime")+dini_Int(tbDir,"fb Duration"))-Time(),minni=sekki/60;
sekki=sekki-minni*60;
format(ALLSTRING,sizeof(ALLSTRING),"Du wurdest fьr eine Weile vom Server gebannt. Restliche Zeit: %d Minuten %d Sekunden",minni,sekki);
SendClientMessage(playerid,COLOR_LIGHTRED,ALLSTRIN G);
format(ALLSTRING,sizeof(ALLSTRING),"%s hat versucht mit einem Timeban sich einzuloggen.", pName);
ABroadCast(COLOR_YELLOW,ALLSTRING,1);
Kick(playerid);
} else { dini_Remove(tbDir); }
}
For me the script and get this error not get them away. Would be cool if someone could help me.
C:\Users\Nico\Desktop\DRP.pwn(2043 : error 017: undefined symbol "Time"
C:\Users\Nico\Desktop\DRP.pwn(20440) : error 017: undefined symbol "Time"
C:\Users\Nico\Desktop\DRP.pwn(24149) : warning 206: redundant test: constant expression is non-zero
C:\Users\Nico\Desktop\DRP.pwn(29373) : warning 206: redundant test: constant expression is non-zero
C:\Users\Nico\Desktop\DRP.pwn(29387) : warning 206: redundant test: constant expression is non-zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Und wenn ich dann #define Time mache kommen diese Fehler
And when I do #define Time come this errors
C:\Users\Nico\Desktop\DRP.pwn(2043 : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20440) : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20441) : error 017: undefined symbol "minni"
C:\Users\Nico\Desktop\DRP.pwn(20442) : error 017: undefined symbol "minni"
C:\Users\Nico\Desktop\DRP.pwn(24149) : warning 206: redundant test: constant expression is non-zero
C:\Users\Nico\Desktop\DRP.pwn(29373) : warning 206: redundant test: constant expression is non-zero
C:\Users\Nico\Desktop\DRP.pwn(29387) : warning 206: redundant test: constant expression is non-zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Und wenn ich dann #define minni mache kommen diese Fehler
And when I do #define minni come this errors
C:\Users\Nico\Desktop\DRP.pwn(2043 : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20440) : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20441) : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20441) : warning 215: expression has no effect
C:\Users\Nico\Desktop\DRP.pwn(20442) : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20442) : warning 215: expression has no effect
C:\Users\Nico\Desktop\DRP.pwn(20442) : error 001: expected token: ";", but found ")"
C:\Users\Nico\Desktop\DRP.pwn(20442) : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\DRP.pwn(20442) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
7 Errors.
Und sooo weiter..
In Zeile 20441 ist das hier..
if(dini_Int(tbDir,"fbTime")+dini_Int(tbDir,"fbDura tion") > Time())
{
new sekki=(dini_Int(tbDir,"fbTime")+dini_Int(tbDir,"fb Duration"))-Time(),minni=sekki/60;
sekki=sekki-minni*60;
format(ALLSTRING,sizeof(ALLSTRING),"Du wurdest fьr eine Weile vom Server gebannt. Restliche Zeit: %d Minuten %d Sekunden",minni,sekki);
SendClientMessage(playerid,COLOR_LIGHTRED,ALLSTRIN G);
format(ALLSTRING,sizeof(ALLSTRING),"%s hat versucht mit einem Timeban sich einzuloggen.", pName);
ABroadCast(COLOR_YELLOW,ALLSTRING,1);
Kick(playerid);
} else { dini_Remove(tbDir); }
}