Die Errors
Code
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(217) : warning 215: expression has no effect
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(2716) : error 010: invalid function or declaration
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(2719) : error 021: symbol already defined: "GetPlayerName"
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(2721) : error 010: invalid function or declaration
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(2725) : error 010: invalid function or declaration
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(2729) : error 010: invalid function or declaration
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(3214) : error 010: invalid function or declaration
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(3217) : error 054: unmatched closing brace ("}")
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(3218) : error 010: invalid function or declaration
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(4468) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(4478) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(4488) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(4498) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5138) : warning 219: local variable "Spielerdatei" shadows a variable at a preceding level
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5139) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5152) : warning 219: local variable "Spielerdatei" shadows a variable at a preceding level
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5153) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5165) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5172) : warning 219: local variable "Spielerdatei" shadows a variable at a preceding level
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5173) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5232) : warning 217: loose indentation
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5232) : error 017: undefined symbol "DIALOG_STYLE_PASSWORD"
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5233) : warning 217: loose indentation
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5267) : warning 203: symbol is never used: "Spielerdatei"
C:\Users\Nico\Desktop\United Stunting\gamemodes\SU.pwn(5267) : warning 203: symbol is never used: "name"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
10 Errors.
Alles anzeigen
Und das müsste die Zeile sein wo die Errors auftreten
if(IsPlayerNPC(playerid))return 1;
new Spielerdatei[64];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
if(dini_Exists(Spielerdatei))
{
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login","Dein Account wurde gefunden. Gib bitte das Passwort ein.","Login","Abbrechen");
}
else
{
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registrieren","Gib bitte das gewünschte Passwort ein:","Register","Abbrechen");
}
return 1;
}