Hey,
Habe 4 Error im Login system.
Hier:
C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : error 029: invalid expression, assumed zero
C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : warning 215: expression has no effect
C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : warning 215: expression has no effect
C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : warning 215: expression has no effect
C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : warning 215: expression has no effect
C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : error 001: expected token: ";", but found ")"
C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : error 029: invalid expression, assumed zero
C:\Users\Mark\Desktop\Script\gamemodes\Release.pwn(10033) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Hier die Zeilen:
Function OnPlayerRequestClass(playerid, classid)
{
if(IsPlayerNPC(playerid))
{
SpawnPlayer(playerid);
return 1;
}
if(gPlayerAccount[playerid] == 1 && gPlayerLogged[playerid] == 0)
{
new str[128];// Ich machs alleine weiter :D
format(str,sizeof str, "{FFFFFF}Willkommen auf {52D017}Fresh-Test!\n\n{FFFFFF}Dein Name: {48CCCD} %s {FFFFFF}\n\nBitte gib nun dein Passwort ein!", playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FFFFFF}Login", str, "Login", "Abbrechen");
}
else if(gPlayerAccount[playerid] == 0 && gPlayerLogged[playerid] == 0)
{
ShowPlayerDialog(playerid,DIALOG_REG,DIALOG_STYLE_MSGBOX,"{FFFFFF}Account","{FFFFFF}Du benötigst einen Account, um auf {52D017}Fresh Test-Server{FFFFFF} spielen zu können!","Erstellen","Abbrechen");
}
PlayerPlaySound(playerid, 1176, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];
SetPlayerTeamFromClass(playerid,classid);
SetupPlayerForClassSelection(playerid);
return 1;
}