Ja hier mal die Errors
C:\Users\Fabi\Desktop\fabis dm\gamemodes\FabisDM.pwn(294) : error 001: expected token: ")", but found ";"
C:\Users\Fabi\Desktop\fabis dm\gamemodes\FabisDM.pwn(294) : error 036: empty statement
C:\Users\Fabi\Desktop\fabis dm\gamemodes\FabisDM.pwn(299) : warning 217: loose indentation
C:\Users\Fabi\Desktop\fabis dm\gamemodes\FabisDM.pwn(300) : warning 217: loose indentation
C:\Users\Fabi\Desktop\fabis dm\gamemodes\FabisDM.pwn(316) : error 017: undefined symbol "name"
C:\Users\Fabi\Desktop\fabis dm\gamemodes\FabisDM.pwn(316) : error 029: invalid expression, assumed zero
C:\Users\Fabi\Desktop\fabis dm\gamemodes\FabisDM.pwn(316) : warning 215: expression has no effect
C:\Users\Fabi\Desktop\fabis dm\gamemodes\FabisDM.pwn(318) : error 017: undefined symbol "dini_create"
C:\Users\Fabi\Desktop\fabis dm\gamemodes\FabisDM.pwn(319) : error 017: undefined symbol "dini_set"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
& Hier das Gescrpte
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == REGISTER)
{
if(response == 0)
{
SendClientMessage(playerid,rot,"Registrier Vorhang abgebrochen");
Kick(playerid);
return 1;
}
if(response == 1)
{
if(!strlen(inputtext);
{
SendClientMessage(playerid,rot,"Passwort bitte eingeben / Please choose a Passwort");
ShowPlayerDialog(playerid,REGISTER,DIALOG_STYLE_INPUT,"Registrieren","Bitte wähle ein Passwort / Please Choose a Passwort","Registrieren","Abbrechen");
}
Register(playerid,inputtext);
return 1;
}
}
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
stock Register(playerid,key[])
{
new Spieler[64];
new Sname[MAX_PLAYER_NAME];
GetPlayerName(playerid,Sname,sizeof(name));
format(Spieler,sizeof(Spieler),"/Spieler/%s.txt",Sname);
dini_create(Spieler);
dini_set(Spieler,"Passwort",key);
SendClientMessage(playerid,rot,"Du hast dich Registriert");
return 1;
}
&&
public OnPlayerConnect(playerid)
{
ShowPlayerDialog(playerid,REGISTER,DIALOG_STYLE_INPUT,"Registrieren","Bitte wähle ein Passwort / Please Choose a Passwort","Registrieren","Abbrechen");
return 1;
}