Beiträge von Acrio


    public OnPlayerConnect(playerid)
    {
    new Playerdatei[128];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Playerdatei,sizeof(Playerdatei),"/Accounts/%s.ini",name);
    if(dini_Exists(Playerdatei))
    {
    ShowPlayerDialog(playerid,DIALOG LOGIN,DIALOG_STYLE_INPUT,"Login Vorgang","Gebe bitte dein Passwort ein","Einloggen","Abbrechen");
    }
    else
    {
    ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registrations Vorgang","Bitte wähle ein Passwort",",Register","Abbrechen");
    }
    GivePlayerMoney(playerid,50000);
    SetPlayerHealth(playerid,50);
    return 1;
    }

    public OnPlayerConnect(playerid){ new Playerdatei[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid,name,sizeof(name)); format(Playerdatei,sizeof(Playerdatei),"/Accounts/%s.ini",name); if(dini_Exists(Playerdatei)) { ShowPlayerDialog(playerid,DIALOG LOGIN,DIALOG_STYLE_INPUT,"Login Vorgang","Gebe bitte dein Passwort ein","Einloggen","Abbrechen"); } else { ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registrations Vorgang","Bitte wähle ein Passwort",",Register","Abbrechen"); } GivePlayerMoney(playerid,50000); SetPlayerHealth(playerid,50); return 1;}





    error 001: expected token: "-identifier-", but found "-integer value-"error 035: argument type mismatch (argument 1)error 020: invalid symbol name ""error 029: invalid expression, assumed zerofatal error 107: too many error messages on one line


    sry anders nimmt er es irgendwie nicht

    hier



    public OnPlayerConnect(playerid)
    {
    new Playerdaitei[128];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    format(Playerdatei,sizeof(Playerdatei),"/Accounts/%s.ini",name);
    if(dini_Exists(Playerdatei))
    {
    ShowPlayerDialog(playerid,DIALOG LOGIN,DIALOG_STYLE_INPUT,"Login Vorgang,"Gebe bitte dein Passwort ein","Einloggen","Abbrechen");
    }
    else
    {
    ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registrations Vorgang","Bitte wähle ein Passwort",",Register","Abbrechen");
    }
    GivePlayerMoney(playerid,50000);
    SetPlayerHealth(playerid,50);
    return 1;
    }

    error 035: argument type mismatch (argument 1)
    error 020: invalid symbol name ""


    error 029: invalid expression, assumed zero


    fatal error 107: too many error messages on one line



    aber die letzte geht ja weg wenn die anderen weg sind

    error 035: argument type mismatch (argument 1)


    error 020: invalid symbol name ""


    error 029: invalid expression, assumed zero



    ich soll angeblich all diese 3 fehler in der einen zeile falsch haben 8| bite helft mir


    format(Playerdatei,sizeof(Playerdatei),"/Accounts/%s.ini",name);




    MFG Acrio