hier die scriptstelle
//LOGIN//
stock Login(playerid,key[])
{
new Spielerdatei[128];
new string2[128];
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.ini",SpielerName(playerid));
if(!strcmp(key,dini_Get(Spielerdatei,"Passwort"),false))
{
SpielerLaden(playerid);
SendClientMessage(playerid,GRÜN,"Du hast dich erfolgreich eingeloggt.");
format(string2,sizeof(string2),"[Join] %s hat den Server betreten",SpielerName(playerid));
SendClientMessageToAll(GRÜN,string2);
}
else
{
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login Vorgang","Das angegebene Passwort war leider falsch!\nBitte gib nun unten dein richtiges Passwort ein! ","LogIn", "Abbrechen");
}
return 1;
}
Fehler:
C:\Users\Marvin\Desktop\samp03e_svr_R2_win32\gamemodes\Roleplay.pwn(52) : error 029: invalid expression, assumed zero
C:\Users\Marvin\Desktop\samp03e_svr_R2_win32\gamemodes\Roleplay.pwn(52) : warning 215: expression has no effect
C:\Users\Marvin\Desktop\samp03e_svr_R2_win32\gamemodes\Roleplay.pwn(52) : warning 215: expression has no effect
C:\Users\Marvin\Desktop\samp03e_svr_R2_win32\gamemodes\Roleplay.pwn(52) : warning 215: expression has no effect
C:\Users\Marvin\Desktop\samp03e_svr_R2_win32\gamemodes\Roleplay.pwn(52) : warning 215: expression has no effect
C:\Users\Marvin\Desktop\samp03e_svr_R2_win32\gamemodes\Roleplay.pwn(52) : warning 215: expression has no effect
C:\Users\Marvin\Desktop\samp03e_svr_R2_win32\gamemodes\Roleplay.pwn(52) : error 001: expected token: ";", but found ")"
C:\Users\Marvin\Desktop\samp03e_svr_R2_win32\gamemodes\Roleplay.pwn(52) : error 029: invalid expression, assumed zero
C:\Users\Marvin\Desktop\samp03e_svr_R2_win32\gamemodes\Roleplay.pwn(52) : fatal error 107: too many error messages on one line
Frage:
Warum?