Ich habe ein problem habe 11 errors :( bitte um schnelle Hilfe
if(dialogid==DIALOG_REGISTER)
{
if(response==0)
{
SendClientMessage(playerid,BLAU,"Du hast den Vorgang abbgebrochen.");
Kick(playerid);
}
{
if(response==1);
}
if(!strlen(inputtext))
return 1;
{
SendClientMessage(playerid,BLAU,"Das Passwort ist nicht lang genug.");
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Regestrieren","Bitte geben sie ein Passwort ein","Register","Abbrechen");
return 1;
}
else
{
Register (playerid,inputtext);
return 1;
}
}
}
if(dialogid==DIALOG_TUTORIAL)
{
if(response==1)
{
SetPlayerPos(playerid,1227.3961,-915.1841,42.9941);
SendClientMessage(playerid,0x0000FFFF,"Du wurdest erfolgreich Teleportiert");
}
if(response==0)
{
SendClientMessage(playerid,BLAU,"Du wurdest nicht Teleportiert");
}
}
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
stock Register(playerid,key[])
return 1;
{
new Spielerdatei[64];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,Apple,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
format(Spielerdatei,sizeof(Spielerdatei),"/Accounts/%s.txt",name);
dini_Create(Spielerdatei);
dini_Set(Spielerdatei,"Passwort",key);
SendClientmessage(playerid,BLAU,"Erfolgreich regestriert.");
return 1;
}
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(268) : error 036: empty statement
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(270) : warning 217: loose indentation
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(272) : warning 217: loose indentation
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(275) : warning 217: loose indentation
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(277) : warning 225: unreachable code
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(277) : warning 217: loose indentation
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(277) : error 029: invalid expression, assumed zero
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(278) : warning 217: loose indentation
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(280) : warning 217: loose indentation
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(283) : warning 209: function "OnDialogResponse" should return a value
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(284) : error 010: invalid function or declaration
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(287) : error 010: invalid function or declaration
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(292) : error 010: invalid function or declaration
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(297) : error 010: invalid function or declaration
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(305) : warning 203: symbol is never used: "key"
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(305) : warning 203: symbol is never used: "playerid"
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(305 -- 307) : error 055: start of function body without function header
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(310) : error 021: symbol already defined: "GetPlayerName"
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(312) : error 021: symbol already defined: "dini_Create"
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(313) : error 021: symbol already defined: "dini_Set"
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(315) : error 010: invalid function or declaration
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(322) : warning 203: symbol is never used: "Spielerdatei"
C:\Users\Georg\Desktop\GTA Server\gamemodes\Georg.pwn(322) : warning 203: symbol is never used: "name"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
11 Errors.