Hallo, Ich weiss nicht was da falsch ist, kann mir jemand helfen ?
Code
C:\Users\Aykut\Desktop\Life of Rio\pawno\include\md5.inc(312) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(128) : error 017: undefined symbol "SpielerSpeichern"
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(431) : warning 219: local variable "num_rows" shadows a variable at a preceding level
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(431) : warning 219: local variable "num_fields" shadows a variable at a preceding level
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(458) : error 055: start of function body without function header
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(460) : error 021: symbol already defined: "cache_get_data"
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(461) : error 010: invalid function or declaration
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(464) : error 010: invalid function or declaration
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(466) : error 021: symbol already defined: "format"
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(468) : error 010: invalid function or declaration
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(473) : error 010: invalid function or declaration
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(476) : error 054: unmatched closing brace ("}")
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(477) : error 010: invalid function or declaration
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(496) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(504) : warning 203: symbol is never used: "num_fields"
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(504) : warning 203: symbol is never used: "num_rows"
C:\Users\Aykut\Desktop\Life of Rio\gamemodes\LOR.pwn(504) : warning 203: symbol is never used: "string"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
10 Errors.
Alles anzeigen
Hier das Scriptteil was Probleme macht:
C
forward OnPasswordResponse(playerid);
public OnPasswordResponse(playerid);
{
new num_fields,num_rows;
cache_get_data(num_rows,num_fields);
if(num_rows==0)
{
//Passwort falsch
Logintest[playerid]+=1;
new string[250];
format(string,sizeof(string),"{FEFEFE}Einloggen {FF0000}[%d/3]",Logintest[playerid]);
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"{FEFEFE}Einloggen","{00FFD2}Willkommen zurück auf Life of Rio,{FEFEFE}\n bitte gebe dein Passwort ein.","{FEFEFE}Weiter","{FEFEFE}Abbrechen");
if(Logintest[playerid]>=3)
{
ShowPlayerDialog(playerid,DIALOG_LOGINT,DIALOG_STYLE_PASSWORD,"{FF0000}Fehler","{FEFEFE}Maximale Versuche verbraucht, Sie werden aus Sicherheitsgründen vom Server entfernt.","{FEFEFE}Verstanden","");
}
}
else
{
//Passwort richtig
}
return 1;
}
Alles anzeigen
Wenn ich diesen Bereich rausmache, habe ich keine Errorcodes.