Beiträge von amazeing.photography

    Ich habe folgende Fehler... Was nun?



    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitle.pwn(89) : error 017: undefined symbol "DIALOG_SLYLE_LIST"
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitle.pwn(100) : warning 217: loose indentation
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitle.pwn(269) : error 017: undefined symbol "str"
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitle.pwn(269) : error 017: undefined symbol "str"
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitle.pwn(269) : error 029: invalid expression, assumed zero
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitle.pwn(269) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    5 Errors.

    ja stimmt wohl mit filterscript... aber jetzt hab ich noch mehr fehler in einer line...
    public OnPlayerConnect(playerid)
    {
    ShowPlayerDialog(playerid,Dialog_Register,DIALOG_STYLE_INPUT,"Registrieren","Wie soll dein Passwort lauten?","Registrieren","Abbrechen");
    return 1;
    }
    das mit showplayerdialog ist line 54 und da kommt:



    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitled.pwn(54) : error 029: invalid expression, assumed zero
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitled.pwn(54) : warning 215: expression has no effect
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitled.pwn(54) : warning 215: expression has no effect
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitled.pwn(54) : warning 215: expression has no effect
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitled.pwn(54) : warning 215: expression has no effect
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitled.pwn(54) : warning 215: expression has no effect
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitled.pwn(54) : error 001: expected token: ";", but found ")"
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitled.pwn(54) : error 029: invalid expression, assumed zero
    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitled.pwn(54) : 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.

    C:\Program Files\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\Untitled.pwn(266) : error 001: expected token: "#endif", but found "-end of file-"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.

    Hallo Leute... ich wollte gerade ein Register Script erstellen und pawno sagt mir, dass ich nen if fehler irgendwo drin habe, wobei alles geschlossen wurde oder nicht?
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    if(dialogid==Dialog_Register);
    {
    if(response==0)
    {
    SendClientMessage(playerid,Rot,"Bitte Registriere dich!");
    kick(playerid);
    return 1;
    }
    if(response==1)
    {
    if(!strlen(inputtext))
    {
    SendClientMessage(playerid,Rot,"Dein Passwort ist zu kurz!");
    ShowPlayerDialog(playerid,Dialog_Register,DIALOG_STYLE_INPUT,"Registrieren","Wie soll dein Passwort lauten?","Registrieren","Abbrechen");
    return 1;
    }
    else
    {
    Register(playerid,inputtext);
    return 1;
    }
    }
    }
    return 1;
    }