5 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
  • Hay leute
    ich komme nicht mehr weiter^^


    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8194) : error 029: invalid expression, assumed zeroC:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8202) : error 001: expected token: ",", but found "."
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8202) : error 029: invalid expression, assumed zero
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8202) : warning 215: expression has no effect
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8202) : error 001: expected token: ";", but found ")"
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8202) : fatal error 107: too many error messages on one line



    Zeile 8194


    IsAtAutomat(playerid); if(IsPlayerInRangeOfPoint(playerid,4.0,1472.8563,-1264.8342,14.5625 //LS Bank /enter
    {



    Zeile 8202
    SetPlayerPos(playerid,1472.8563,-1264.8342,14.5625.5625);

    2 Mal editiert, zuletzt von Valentino46 () aus folgendem Grund: Editiert

  • Hay
    Nun habe ich erneute fehler...



    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8195) : error 029: invalid expression, assumed zero
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8195) : warning 215: expression has no effect
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8202) : error 001: expected token: ",", but found "."
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8202) : error 029: invalid expression, assumed zero
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8202) : warning 215: expression has no effect
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8202) : error 001: expected token: ";", but found ")"
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8202) : fatal error 107: too many error messages on one line






    Zeile 8195:
    SetPlayerInterior(playerid,1);




    Zeile 8202
    SetPlayerPos(playerid,1472.8563,-1264.8342,14.5625.5625);

  • IsAtAutomat(playerid);
    if(IsPlayerInRangeOfPoint(playerid,4.0,1472.8563,-1264.8342,14.5625)) //LS Bank /enter
    {
    SetPlayerPos(playerid,1415.951171,-988.971191,1639.980224); /*246.5100,108.1086,1003.2188*/);
    SetPlayerInterior(playerid,1);
    SetPlayerFacingAngle(playerid,358.0127);
    SendClientMessage(playerid,COLOR_GREEN,"Du hast die Bank betreten");
    }



    else if (IsPlayerInRangeOfPoint(playerid,4.0,1415.951171,-988.971191,1639.980224)) /*246.5100,108.1086,1003.2188*///LS Bank /exit
    {
    SetPlayerPos(playerid,1472.8563,-1264.8342,14.5625.5625);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,182.0084);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast die Bank verlassen");
    }

  • Ufff Kopfschmerzen purr
    if(newkeys == KEY_WALK) // KEY_WALK // KEY_SECONDARY_ATTACK
    {
    IsAtAutomat(playerid);
    if(IsPlayerInRangeOfPoint(playerid,4.0,1472.8563,-1264.8342,14.5625)) //LS Bank /enter
    {
    SetPlayerPos(playerid,1415.951171,-988.971191,1639.980224); /*246.5100,108.1086,1003.2188*/);
    SetPlayerInterior(playerid,1);
    SetPlayerFacingAngle(playerid,358.0127);
    SendClientMessage(playerid,COLOR_GREEN,"Du hast die Bank betreten");
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,1415.951171,-988.971191,1639.980224)) /*246.5100,108.1086,1003.2188*///LS Bank /exit
    {
    SetPlayerPos(playerid,1472.8563,-1264.8342,14.5625.5625);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,182.0084);
    SendClientMessage(playerid,COLOR_GREEN,"Du hast die Bank verlassen");
    }
    else if (IsPlayerInRangeOfPoint(playerid, 4.0,1665.5490,-1888.8750,13.5469)) // Zivihaus // -229.0038,1401.2852,27.7656
    {
    if(PlayerInfo[playerid][pLevel] == 1 || PlayerInfo[playerid][pLevel] == 2)
    {
    SetPlayerInterior(playerid,18);
    SetPlayerPos(playerid,-227.027999,1401.229980,27.765625);
    SendClientMessage(playerid,COLOR_GREEN,"Du hast das Zivihaus betreten ... viel Spaß!");
    }
    else
    {
    SendClientMessage(playerid,COLOR_RED,"Wächter: Was willst du hier?!");
    SendClientMessage(playerid,COLOR_RED,"Wächter: Verpiss dich, aber schnell!");
    }
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,-229.0038,1401.2852,27.7656)) // Zivihaus exit
    {
    SetPlayerPos(playerid,1664.8674,-1890.6082,13.5469);
    SetPlayerInterior(playerid,0);
    }
    /*
    else if (IsPlayerInRangeOfPoint(playerid,4.0,2144.1572,1610.6646,993.6882))
    {
    SetPlayerPos(playerid,1424.3881,-1004.1063,1639.7909);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,182.0084);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast den Tresor Verlassen verlassen");
    }
    */
    else if(IsPlayerInRangeOfPoint(playerid,4.0,1481.3705,-1818.6342,15.3178))//Stadthalle /enter
    {
    SetPlayerPos(playerid,389.9180,173.6584,1008.3828);
    SetPlayerInterior(playerid,3);
    SetPlayerFacingAngle(playerid,92.3491);
    SendClientMessage(playerid,COLOR_GREEN,"Du hast die Stadthalle betreten");
    }
    else if(IsPlayerInRangeOfPoint(playerid,4.0,1369.0005,-1279.7201,13.5469))//Ammunation /enter
    {
    SetPlayerPos(playerid,286.148986, -40.644397,1001.515625);
    SetPlayerInterior(playerid,1);
    SetPlayerFacingAngle(playerid,92.3491);
    SendClientMessage(playerid,COLOR_GREEN,"Du hast den Waffenladen betreten");
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,286.148986, -40.644397,1001.515625))//Ammunation /exit
    {
    SetPlayerPos(playerid,1369.0005,-1279.7201,13.5469);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,357.5767);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast den Waffenladen verlassen");
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,329.0090,-1513.4635,36.0391))//SWAT /enter
    {
    if(IsACop(playerid))
    {
    SetPlayerPos(playerid,288.745971,169.350997,1007.171875);
    SetPlayerInterior(playerid,3);
    SetPlayerFacingAngle(playerid,2.5225);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast das S.W.A.T Elite Troop Hauptquatier betreten");
    }
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,288.745971,169.350997,1007.171875))//SWAT /exit
    {
    if(IsACop(playerid))
    {
    SetPlayerPos(playerid,329.0090,-1513.4635,36.0391);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,1.8733);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast das S.W.A.T Elite Troop Hauptquatier verlassen");
    }
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,389.9180,173.6584,1008.3828))//Stadthalle /exit
    {
    SetPlayerPos(playerid,1481.3705,-1818.6342,15.3178);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,357.5767);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast die Stadthalle verlassen");
    }
    /*else if (IsPlayerInRangeOfPoint(playerid,4.0,1273.1881,-2531.9746,13.9875))//SWAT /enter
    {
    if(IsACop(playerid))
    {
    SetPlayerPos(playerid,246.375991,109.245994,1003.218750);
    SetPlayerInterior(playerid,10);
    SetPlayerFacingAngle(playerid,2.5225);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast das S.W.A.T Elite Troop Hauptquatier betreten");
    }
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,246.375991,109.245994,1003.218750))//SWAT /exit
    {
    if(IsACop(playerid))
    {
    SetPlayerPos(playerid,1273.1881,-2531.9746,13.9875);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,1.8733);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast das S.W.A.T Elite Troop Hauptquatier verlassen");
    }
    }*/
    else if(IsPlayerInRangeOfPoint(playerid,4.0,1554.7513,-1675.6208,16.1953))//LSPD /enter
    {
    SetPlayerPos(playerid,1474.2188,-1750.3795,3285.2859); //ercan
    SetPlayerInterior(playerid,5);
    SendClientMessage(playerid,COLOR_GREEN,"Du hast das LSPD betreten");
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,1474.2188,-1750.3795,3285.2859))//LSPD /exit
    {
    SetPlayerPos(playerid,1554.7513,-1675.6208,16.1953);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,98.9059);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast das LSPD verlassen");
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,-2346.9465,-1662.5482,508.3459))//Geheimstation /enter
    {
    if(IsACop(playerid) && PlayerInfo[playerid][pLeader] >= 1)
    {
    SetPlayerPos(playerid,231.8635,1822.7120,7.4141);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,92.5225);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast die Geheimstation verlassen");
    }
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,231.8635,1822.7120,7.4141))//Geheimstation /exit
    {
    if(IsACop(playerid) && PlayerInfo[playerid][pLeader] >= 1)
    {
    SetPlayerPos(playerid,-2346.9465,-1662.5482,508.3459);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,185.8733);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast die Geheimstation verlassen");
    }
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,1833.1556,-1125.7290,24.6721))//FBI /enter
    {
    if(IsACop(playerid))
    {
    SetPlayerPos(playerid,246.8075,63.2147,1003.6406);
    SetPlayerInterior(playerid,6);
    SetPlayerFacingAngle(playerid,2.5225);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast die FBI Base betreten");
    }
    }
    else if (IsPlayerInRangeOfPoint(playerid,4.0,246.8075,63.2147,1003.6406))//FBI /exit
    {
    if(IsACop(playerid))
    {
    SetPlayerPos(playerid,1833.1556,-1125.7290,24.6721);
    SetPlayerInterior(playerid,0);
    SetPlayerFacingAngle(playerid,1.8733);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast die FBI Base verlassen");
    }
    }
    else if (IsPlayerInRangeOfPoint(playerid,3.0,1209.8247,-1749.9943,13.5937))
    {
    SetPlayerPos(playerid,2324.419921,-1145.568359,1050.710083);
    SetPlayerInterior(playerid,12);
    SendClientMessage(playerid,COLOR_RED, "Du hast die KFZ Zulassungstelle betreten");
    }
    else if (IsPlayerInRangeOfPoint(playerid,3.0,2324.419921,-1145.568359,1050.710083))
    {
    SetPlayerPos(playerid,1209.8247,-1749.9943,13.5937);
    SetPlayerInterior(playerid, 0);
    SendClientMessage(playerid,COLOR_RED, "Du hast die KFZ Zulassungstelle verlassen");
    }
    else if(IsPlayerInRangeOfPoint(playerid,4.0,811.4277,-1616.1138,13.5469))//BSSENTER
    {
    SetPlayerPos(playerid,457.304748,-88.428497,999.554687);
    SetPlayerInterior(playerid, 4);
    SendClientMessage(playerid,COLOR_GREEN,"Du hast den Burger Shot South betreten!");
    }
    else if(IsPlayerInRangeOfPoint(playerid,4.0,457.304748,-88.428497,999.554687))//BSSEXIT
    {
    SetPlayerPos(playerid,811.4277,-1616.1138,13.5469);
    SetPlayerInterior(playerid, 0);
    SendClientMessage(playerid,COLOR_GREEN, "Du hast den Burger Shot South verlassen!");
    }
    else if(IsPlayerInRangeOfPoint(playerid,4.0,1836.3110,-1681.9542,13.3533))//Alhambra Enter
    {
    SetPlayerPos(playerid,493.390991,-22.722799,1000.679687);
    SetPlayerInterior(playerid, 17);
    SendClientMessage(playerid,0xFF605CFF,"Du hast nun das Alhambra Betreten, und Musik wird Abgespielt!");
    PlayAudioStreamForPlayer(playerid, "http://listen.technobase.fm/dsl.pls");
    }
    else if(IsPlayerInRangeOfPoint(playerid,4.0,493.3218,-24.8207,1000.6797))//Alhambra Exit
    {
    SetPlayerPos(playerid, 1836.3110,-1681.9542,13.3533);
    SetPlayerInterior(playerid, 0);
    SendClientMessage(playerid,0xFF605CFF,"Du hast nun das Alhambra verlassen. Die Musik wurde Gestoppt!");
    StopAudioStreamForPlayer(playerid);
    }
    }

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Hay ;)
    Danke das einer antwortet ^^
    Ich weiß es wirklich nicht...



    C:\Users\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8196) : error 029: invalid expression, assumed zero
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8196) : warning 215: expression has no effect
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8204) : error 001: expected token: ",", but found "."
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8204) : error 029: invalid expression, assumed zero
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8204) : warning 215: expression has no effect
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8204) : error 001: expected token: ";", but found ")"
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(8204) : fatal error 107: too many error messages on one line


    Bitte um hilfe :thumbup:

  • IsAtAutomat(playerid);
    if(IsPlayerInRangeOfPoint(playerid,4.0,1472.8563,-1264.8342,14.5625)) //LS Bank /enter
    {
    SetPlayerPos(playerid,1415.951171,-988.971191,1639.980224); /*246.5100,108.1086,1003.2188*/
    SetPlayerInterior(playerid,1);
    SetPlayerFacingAngle(playerid,358.0127);
    SendClientMessage(playerid,COLOR_GREEN,"Du hast die Bank betreten");
    }


    So klappt es (Du hast nach dem /*246.5100,108.1086,1003.2188*/ erneut ); gemacht...)

    05eb03de-9fda-461c-9dfc-834ae5b64e65.png << Server | Home >> 13462590508.png

  • Hay danke an euch beiden
    Jetzt habe ich neuen errors



    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(12919) : error 001: expected token: ",", but found "."
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(12919) : error 029: invalid expression, assumed zero
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(12919) : warning 215: expression has no effect
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(12919) : error 001: expected token: ";", but found ")"
    C:\Users\\Desktop\Scripten_Damit\gamemodes\LoH2.pwn(12919) : fatal error 107: too many error messages on one line


    AddStaticPickup(1239, 2, 1472.8563,-1264.8342,14.5625.5625); //BANK REIN



    Mfg

  • AddStaticPickup(1239, 2, 1472.8563, -1264.8342, 14.5625, 5625); //BANK REIN
    Du hast ein 2ten punkt bei der lezten Koordinate gemacht. Da gehört vermutlich ein Komma hin.


    Esseiden jemand sagt mir seid wann eine Koordinate mehr als ein komma haben kann ^^

  • AddStaticPickup(1239, 2, 1472.8563, -1264.8342, 14.5625, 5625); //BANK REIN
    Du hast ein 2ten punkt bei der lezten Koordinate gemacht. Da gehört vermutlich ein Komma hin.


    Esseiden jemand sagt mir seid wann eine Koordinate mehr als ein komma haben kann ^^



    guck oben ex der fehler war schon behoen und das musste kein komme hin das musste weg xd
    smile