Hi Leute
ich wollte heute ein Register, Login System machen aber irgendwie kommen immer fehler und ich weiss mir nicht mehr zu helfen
Die Errors:
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(202) : warning 217: loose indentation
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(202) : error 029: invalid expression, assumed zero
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(202) : error 004: function "OnPlayerDisconnect" is not implemented
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(206) : error 017: undefined symbol "SpielerSpeichern"
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(208) : error 079: inconsistent return types (array & non-array)
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(211) : warning 225: unreachable code
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(211) : error 029: invalid expression, assumed zero
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(211) : error 004: function "OnPlayerSpawn" is not implemented
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(213) : error 079: inconsistent return types (array & non-array)
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(216) : warning 225: unreachable code
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(216) : error 029: invalid expression, assumed zero
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(216) : error 004: function "OnPlayerDeath" is not implemented
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(218) : error 079: inconsistent return types (array & non-array)
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(221) : warning 225: unreachable code
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(221) : error 029: invalid expression, assumed zero
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(221) : error 004: function "OnVehicleSpawn" is not implemented
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(223) : error 079: inconsistent return types (array & non-array)
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(226) : warning 225: unreachable code
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(226) : error 029: invalid expression, assumed zero
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(226) : error 004: function "OnVehicleDeath" is not implemented
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(228) : error 079: inconsistent return types (array & non-array)
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(231) : warning 225: unreachable code
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(231) : error 029: invalid expression, assumed zero
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(231) : error 004: function "OnPlayerText" is not implemented
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(233) : error 079: inconsistent return types (array & non-array)
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(236) : warning 225: unreachable code
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(236) : error 029: invalid expression, assumed zero
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(236) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(238) : error 017: undefined symbol "cmdtext"
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(242) : error 079: inconsistent return types (array & non-array)
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(244) : error 017: undefined symbol "cmdtext"
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(247) : error 079: inconsistent return types (array & non-array)
C:\Users\iTz_Flo\Desktop\GTA-SA\Samp Server\gamemodes\GR.pwn(249) : error 017: undefined symbol "cmdtext"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Hier die Zeilen wo die Errors drin sein sollen:
public OnPlayerConnect(playerid)
{
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_INPUT,"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");
}
public OnPlayerDisconnect(playerid, reason)
{
if(GetPVarInt(playerid,"loggedin")==1)
{
SpielerSpeichern(playerid);
}
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)