Hallo, ich wollte ein Register System machen,aber in dne Zeilen hier kommen dauernd Errors:
if(dialogid==DIALOG_REGISTER)
{
if (response==0)
}
SendClientMessage(playerid,Rot,"Du hast den Vorgang abgebrochen.");
Kick(playerid);
return 1;
}
if (response==1)
{
if(!strlen(inputtext))
{
SendClientMessage(playerid,Rot,"Das Passwort war nicht lang genug.");
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registrieren","Gib bitte das gewünschte Passwort ein.","Registrieren","Abbrechen");
return 1;
}
else
{
Register(playerid,inputtext);
return 1;
}
}
}
}
if(dialogid==DIALOG_REGISTER)
{
if (response==0)
}
SendClientMessage(playerid,Rot,"Du hast den Vorgang abgebrochen.");
Kick(playerid);
return 1;
}
if (response==1)
{
if(!strlen(inputtext))
{
SendClientMessage(playerid,Rot,"Das Passwort war nicht lang genug.");
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registrieren","Gib bitte das gewünschte Passwort ein.","Registrieren","Abbrechen");
return 1;
}
else
{
Register(playerid,inputtext);
return 1;
}
}
}
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
Errors:
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(451) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(453) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(457) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(459) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(461) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(465) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(467) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(470) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(476) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(478) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(482) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(484) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(486) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(490) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(492) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(495) : error 010: invalid function or declaration
C:\Users\GKNBond\Desktop\Selfmade\gamemodes\Selfmade.pwn(506) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Wäre nett,wenn ihr mir helfen könntet.