Erros Tutorial :)

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
  • hi ich bin new in Den Bereich pawn ....
    Ich habe ein Tutorial Aus Einen Anderen Selfmade Raus genommen und Möchte es Bei mir rein machen aber nun kommen Diese Erros ;



    C:\Users\SNIPES\Desktop\You Life Play Selfmade\gamemodes\ylpsm.pwn(61) : warning 217: loose indentation
    C:\Users\SNIPES\Desktop\You Life Play Selfmade\gamemodes\ylpsm.pwn(104) : warning 235: public function lacks forward declaration (symbol "OnPlayerTutorial")
    C:\Users\SNIPES\Desktop\You Life Play Selfmade\gamemodes\ylpsm.pwn(106) : error 017: undefined symbol "TutorialSchritt"
    C:\Users\SNIPES\Desktop\You Life Play Selfmade\gamemodes\ylpsm.pwn(106) : warning 215: expression has no effect
    C:\Users\SNIPES\Desktop\You Life Play Selfmade\gamemodes\ylpsm.pwn(106) : error 001: expected token: ";", but found "]"
    C:\Users\SNIPES\Desktop\You Life Play Selfmade\gamemodes\ylpsm.pwn(106) : error 029: invalid expression, assumed zero
    C:\Users\SNIPES\Desktop\You Life Play Selfmade\gamemodes\ylpsm.pwn(106) : 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.


    [pwn]
    [ else if(TutorialSchritt[playerid] == 25)
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,1308.7920,-1369.0386,13.5551);
    SetPlayerFacingAngle(playerid,211.4628);
    SetPlayerCameraPos(playerid,1315.4135,-1383.9585,13.8159);
    SetPlayerCameraLookAt(playerid,1308.7920,-1369.0386,13.5551);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,ROT ,"====================[Go-Kart])====================");
    SendClientMessage(playerid,GELB,"Hier findest du die Go-Kart bahn.");
    SendClientMessage(playerid,GELB,"eine Runde Go-Kart fahren. es macht immer");
    SendClientMessage(playerid,GELB,"wieder spaß gegen seinen freunden Rennen");
    SendClientMessage(playerid,GELB,"zu Fahren. Preis 100€");
    SendClientMessage(playerid,ROT ,"==================================================");
    }
    else if(TutorialSchritt[playerid] == 40)
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,2047.5005,-1912.1383,13.5469);
    SetPlayerFacingAngle(playerid,236.8070);
    SetPlayerCameraPos(playerid,2066.5342,-1923.2932,13.5469);
    SetPlayerCameraLookAt(playerid,2047.5005,-1912.1383,13.5469);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid, ROT,"====================[Fahrschule]====================");
    SendClientMessage(playerid,GELB,"Hier Findest du die Fahrschule! Los_Santos");
    SendClientMessage(playerid,GELB,"Hier kannst du viele Scheine machen zurzeit nur");
    SendClientMessage(playerid,GELB,"A-Motorrad,und,B-Auto, mehr beim nästen update!");
    SendClientMessage(playerid, ROT,"====================================================");
    }
    else if(TutorialSchritt[playerid] == 58)
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,1286.2980,-1325.8682,13.5497);
    SetPlayerFacingAngle(playerid,97.4858);
    SetPlayerCameraPos(playerid,1276.1947,-1331.0437,13.3571);
    SetPlayerCameraLookAt(playerid,1286.2980,-1325.8682,13.5497);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,ROT, "====================[Arbeitsamt]==================");
    SendClientMessage(playerid,GELB,"Hier Findest du das Arbeitsamt!");
    SendClientMessage(playerid,GELB,"Hier kannst du dir ein paar nebenjobs besorgen");
    SendClientMessage(playerid,ROT, "=================================================");


    }
    else if(TutorialSchritt[playerid] == 72)
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,1550.4830,-1659.8788,13.5621);
    SetPlayerFacingAngle(playerid,58.7027);
    SetPlayerCameraPos(playerid,1518.5027,-1628.9891,13.5469);
    SetPlayerCameraLookAt(playerid,1550.4830,-1659.8788,13.5621);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,ROT, "====================[Polizei]====================");
    SendClientMessage(playerid,GELB,"Hier befindet sich das Lspd. unsere Polizei");
    SendClientMessage(playerid,GELB,"die polizei sorgt für recht und ortnung.");
    SendClientMessage(playerid,GELB,"solltest du probleme machen wird es teuer / Knast");
    SendClientMessage(playerid,ROT, "===================================================");
    }



    else if(TutorialSchritt[playerid] == 82)
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,1703.3634,-1882.8796,13.5694);
    SetPlayerFacingAngle(playerid,293.7880);
    SetPlayerCameraPos(playerid,1727.7870,-1874.4536,13.5634);
    SetPlayerCameraLookAt(playerid,1703.3634,-1882.8796,13.5694);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,ROT, "===============[noobspawn]===============");
    SendClientMessage(playerid,GELB,"Hier ist wohl erstmal dein Zuhause");
    SendClientMessage(playerid,GELB,"Hier kannst du Telefonieren Döner essen");
    SendClientMessage(playerid,GELB,"und dir einen Roller mieten");
    SendClientMessage(playerid,ROT, "=========================================");
    }
    else if(TutorialSchritt[playerid] == 105)
    {
    TextDrawHideForPlayer(playerid, pInfo[playerid][LetterboxBottom]);
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,1249.4974,-1702.1129,15.7899);
    SetPlayerFacingAngle(playerid,236.2476);
    SetPlayerCameraPos(playerid,1261.8065,-1711.2126,13.3828);
    SetPlayerCameraLookAt(playerid,1249.4974,-1702.1129,15.7899);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,GELB,"so bei Fragen - Probleme /report");
    SendClientMessage(playerid,GELB,"Forum : {2DFF00}www.kommtnoch.de{FFFF00}");
    SendClientMessage(playerid,GELB,"So Viel Glück in deinen Lebenslauf");
    StopAudioStreamForPlayer(playerid);
    ShowPlayerDialog(playerid, DIALOG_BONUSS, DIALOG_STYLE_LIST, "{7DFF00}Startsbonus{FEFEFE}","{FEFEFE}Geld\nLevel","Wählen","nix");


    }
    return 1;
    }SetPlayerCameraPos(playerid,1315.4135,-1383.9585,13.8159);
    SetPlayerCameraLookAt(playerid,1308.7920,-1369.0386,13.5551);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,ROT ,"====================[Go-Kart])====================");
    SendClientMessage(playerid,GELB,"Hier findest du die Go-Kart bahn.");
    SendClientMessage(playerid,GELB,"eine Runde Go-Kart fahren. es macht immer");
    SendClientMessage(playerid,GELB,"wieder spaß gegen seinen freunden Rennen");
    SendClientMessage(playerid,GELB,"zu Fahren. Preis 100€");
    SendClientMessage(playerid,ROT ,"==================================================");
    }
    else if(TutorialSchritt[playerid] == 40)
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,2047.5005,-1912.1383,13.5469);
    SetPlayerFacingAngle(playerid,236.8070);
    SetPlayerCameraPos(playerid,2066.5342,-1923.2932,13.5469);
    SetPlayerCameraLookAt(playerid,2047.5005,-1912.1383,13.5469);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid, ROT,"====================[Fahrschule]====================");
    SendClientMessage(playerid,GELB,"Hier Findest du die Fahrschule! Los_Santos");
    SendClientMessage(playerid,GELB,"Hier kannst du viele Scheine machen zurzeit nur");
    SendClientMessage(playerid,GELB,"A-Motorrad,und,B-Auto, mehr beim nästen update!");
    SendClientMessage(playerid, ROT,"====================================================");
    }
    else if(TutorialSchritt[playerid] == 58)
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,1286.2980,-1325.8682,13.5497);
    SetPlayerFacingAngle(playerid,97.4858);
    SetPlayerCameraPos(playerid,1276.1947,-1331.0437,13.3571);
    SetPlayerCameraLookAt(playerid,1286.2980,-1325.8682,13.5497);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,ROT, "====================[Arbeitsamt]==================");
    SendClientMessage(playerid,GELB,"Hier Findest du das Arbeitsamt!");
    SendClientMessage(playerid,GELB,"Hier kannst du dir ein paar nebenjobs besorgen");
    SendClientMessage(playerid,ROT, "=================================================");


    }
    else if(TutorialSchritt[playerid] == 72)
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,1550.4830,-1659.8788,13.5621);
    SetPlayerFacingAngle(playerid,58.7027);
    SetPlayerCameraPos(playerid,1518.5027,-1628.9891,13.5469);
    SetPlayerCameraLookAt(playerid,1550.4830,-1659.8788,13.5621);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,ROT, "====================[Polizei]====================");
    SendClientMessage(playerid,GELB,"Hier befindet sich das Lspd. unsere Polizei");
    SendClientMessage(playerid,GELB,"die polizei sorgt für recht und ortnung.");
    SendClientMessage(playerid,GELB,"solltest du probleme machen wird es teuer / Knast");
    SendClientMessage(playerid,ROT, "===================================================");
    }



    else if(TutorialSchritt[playerid] == 82)
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,1703.3634,-1882.8796,13.5694);
    SetPlayerFacingAngle(playerid,293.7880);
    SetPlayerCameraPos(playerid,1727.7870,-1874.4536,13.5634);
    SetPlayerCameraLookAt(playerid,1703.3634,-1882.8796,13.5694);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,ROT, "===============[noobspawn]===============");
    SendClientMessage(playerid,GELB,"Hier ist wohl erstmal dein Zuhause");
    SendClientMessage(playerid,GELB,"Hier kannst du Telefonieren Döner essen");
    SendClientMessage(playerid,GELB,"und dir einen Roller mieten");
    SendClientMessage(playerid,ROT, "=========================================");
    }
    else if(TutorialSchritt[playerid] == 105)
    {
    TextDrawHideForPlayer(playerid, pInfo[playerid][LetterboxBottom]);
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,1249.4974,-1702.1129,15.7899);
    SetPlayerFacingAngle(playerid,236.2476);
    SetPlayerCameraPos(playerid,1261.8065,-1711.2126,13.3828);
    SetPlayerCameraLookAt(playerid,1249.4974,-1702.1129,15.7899);
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,WEIß,"");
    SendClientMessage(playerid,GELB,"so bei Fragen - Probleme /report");
    SendClientMessage(playerid,GELB,"Forum : {2DFF00}www.kommtnoch.de{FFFF00}");
    SendClientMessage(playerid,GELB,"So Viel Glück in deinen Lebenslauf");
    StopAudioStreamForPlayer(playerid);
    ShowPlayerDialog(playerid, DIALOG_BONUSS, DIALOG_STYLE_LIST, "{7DFF00}Startsbonus{FEFEFE}","{FEFEFE}Geld\nLevel","Wählen","nix");

    }
    return 1;
    }

    3 Mal editiert, zuletzt von NewScripter ()