7 Errors.

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo Brotfische.


    Ich hab 7 Errors.
    Ich schick euch mal die Errors und die Zeilen.


    Errors:C:\Users\AYDIN ALANYALI\Desktop\Selfmade.pwn(2903) : error 029: invalid expression, assumed zero
    C:\Users\AYDIN ALANYALI\Desktop\Selfmade.pwn(2903) : warning 215: expression has no effect
    C:\Users\AYDIN ALANYALI\Desktop\Selfmade.pwn(2903) : error 001: expected token: ";", but found "if"
    C:\Users\AYDIN ALANYALI\Desktop\Selfmade.pwn(7586) : error 001: expected token: ")", but found "{"
    C:\Users\AYDIN ALANYALI\Desktop\Selfmade.pwn(7593) : error 017: undefined symbol "TelePos"
    C:\Users\AYDIN ALANYALI\Desktop\Selfmade.pwn(7593) : warning 215: expression has no effect
    C:\Users\AYDIN ALANYALI\Desktop\Selfmade.pwn(7593) : error 001: expected token: ";", but found "]"
    C:\Users\AYDIN ALANYALI\Desktop\Selfmade.pwn(7593) : error 029: invalid expression, assumed zero
    C:\Users\AYDIN ALANYALI\Desktop\Selfmade.pwn(7593) : fatal error 107: too many error messages on one line


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



    7 Errors.


    Zeilen:
    if(strcmp(cmdtext, "/gotoblackcity", true) == 0)
    {
    if(IsPlayerConnected(playerid))
    {
    /*if(PlayerInfo[playerid][pAdmin] >= 3)*/
    if(!isPlayerAnAdmin(playerid,3)
    {
    if (GetPlayerState(playerid) == 2)
    {
    new tmpcar = GetPlayerVehicleID(playerid);
    SetVehiclePos(tmpcar, 108.2787,-4065.8923,11.8329);
    SetPlayerFacingAngle(playerid, 270.8254);
    LinkVehicleToInterior(tmpcar,0);
    TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0; //ZEILE 7593
    }
    else
    {
    SetPlayerPos(playerid, 108.2787,-4065.8923,11.8329);
    SetPlayerFacingAngle(playerid, 270.8254);
    }
    SendClientMessage(playerid, COLOR_GRAD1, " Du hast dich Teleportiert ");
    SetPlayerInterior(playerid,0);
    PlayerInfo[playerid][pInt] = 0;
    }
    else
    {
    SendClientMessage(playerid, COLOR_GRAD1, " Du bist kein Admin !");
    }
    }
    return 1;
    }

    key = ini_GetKey(Data);
    else if(strcmp(key,"AH_Typ",true)==0) { AutosL[playerid][Typ]=strval(ini_GetValue(Data)); } // ZEILE 2903
    else if(strcmp(key,"AH_X",true)==0) { AutosL[playerid][X]=floatstr(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Y",true)==0) { AutosL[playerid][Y]=floatstr(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Z",true)==0) { AutosL[playerid][Z]=floatstr(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Rot",true)==0) { AutosL[playerid][Rotation]=floatstr(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Status",true)==0) { AutosL[playerid][Status]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Lock",true)==0) { AutosL[playerid][Lock]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Paintjob",true)==0) { AutosL[playerid][Paintjob]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Farbe1",true)==0) { AutosL[playerid][Farbe1]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_Farbe2",true)==0) { AutosL[playerid][Farbe2]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod1",true)==0) { AutosL[playerid][mod1]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod2",true)==0) { AutosL[playerid][mod2]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod3",true)==0) { AutosL[playerid][mod3]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod4",true)==0) { AutosL[playerid][mod4]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod5",true)==0) { AutosL[playerid][mod5]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod6",true)==0) { AutosL[playerid][mod6]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod7",true)==0) { AutosL[playerid][mod7]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod8",true)==0) { AutosL[playerid][mod8]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod9",true)==0) { AutosL[playerid][mod9]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod10",true)==0) { AutosL[playerid][mod10]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod11",true)==0) { AutosL[playerid][mod11]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod12",true)==0) { AutosL[playerid][mod12]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod13",true)==0) { AutosL[playerid][mod13]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod14",true)==0) { AutosL[playerid][mod14]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod15",true)==0) { AutosL[playerid][mod15]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod16",true)==0) { AutosL[playerid][mod16]=strval(ini_GetValue(Data)); }
    else if(strcmp(key,"AH_mod17",true)==0) { AutosL[playerid][mod17]=strval(ini_GetValue(Data)); }
    }
    }



    Mit freundlichen Grüßen
    WhItEoUt.

  • ja aber 2 fehler sind schonmal behoben, schick die nächsten errors


    edit:


    noch ein fehler gefunden


    else if(strcmp(key,"AH_Typ",true)==0) { AutosL[playerid][Typ]=strval(ini_GetValue(Data)); }


    beim ersten muss das else weg also


    if(strcmp(key,"AH_Typ",true)==0) { AutosL[playerid][Typ]=strval(ini_GetValue(Data)); }