Großes Problem mit dem Tutorial! Bitte um Hilfe!

Dein Problem konnte durch einen User gelöst werden? Bedank dich bei ihm indem du seinen Beitrag als Hilfreich markierst sowie einen Daumen oben dalässt
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
  • Guten Tag liebe Community,
    ich benutze seid ein paar Tagen das Script von Prp Roleplay, ich habe im Script volgendes Problem.
    Ich erstelle mir ein Acc. Durchlaufe das Tutorial Spawne ganz normal und wenn ich Relloge wird mir das Totorial wieder
    abgespielt ich bin wirklich verzeifelt :(


    Ich selber kenne mich eigentlich garnicht aus mit Scripten es wäre wirklich super wenn jemand die Zeit findet und mir das über Teamviewer machen kann



    }
    if(Spieler[playerid][pTutMissionComplete][0] == true)
    {
    DisablePlayerCheckpoint(playerid);
    tutorialpickup[playerid][0] = CreateDynamicPickup(1550,1,781.5294,-2894.2070,0.2500,GetPlayerVirtualWorld(playerid));
    TextDrawShowForPlayer(playerid,InfoSign);
    PlayerTextDrawSetString(playerid,INFOdraw[playerid][2],"~r~Info:~w~~n~Gehe zur Tasche!");
    PlayerTextDrawShow(playerid,INFOdraw[playerid][2]);
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid,ServerSounds[13],0.0,0.0,0.0);
    SetPlayerPos(playerid,780.8643,-2896.3550,0.2500);
    InterpolateCameraPos(playerid,780.8005,-2897.0007,0.2500,779.8344,-2894.7358,0.2500,2500,CAMERA_MOVE);
    InterpolateCameraLookAt(playerid,779.7208,-2895.7737,0.2500,781.5927,-2894.0503,0.2500,2500,CAMERA_MOVE);
    Spieler[playerid][pTutTimer4All] = SetTimerEx("Tutorial4All",2500,0,"ii",playerid,4);
    TogglePlayerControllable(playerid,0);
    return 1;
    }
    if(Spieler[playerid][pTutMissionComplete][1] == true)
    {
    DisablePlayerCheckpoint(playerid);
    tutorialpickup[playerid][1] = CreateDynamicPickup(1461,1,772.3167,-2911.4827,0.2500,GetPlayerVirtualWorld(playerid));
    TextDrawShowForPlayer(playerid,InfoSign);
    PlayerTextDrawSetString(playerid,INFOdraw[playerid][2],"~r~Info:~w~~n~Suche eine Rettungsweste!");
    PlayerTextDrawShow(playerid,INFOdraw[playerid][2]);
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid,ServerSounds[13],0.0,0.0,0.0);
    SetPlayerPos(playerid,772.9472,-2899.9639,0.2500);
    InterpolateCameraPos(playerid,772.9472,-2899.9639,0.2500,773.3595,-2911.2075,0.2500,5000,CAMERA_MOVE);
    InterpolateCameraLookAt(playerid,773.3494,-2901.6741,0.2500,778.5327,-2911.3557,0.2500,5000,CAMERA_MOVE);
    Spieler[playerid][pTutTimer4All] = SetTimerEx("Tutorial4All",5000,0,"ii",playerid,4);
    TogglePlayerControllable(playerid,0);
    return 1;
    }
    if(Spieler[playerid][pTutMissionComplete][2] == true)
    {
    DisablePlayerCheckpoint(playerid);
    Spieler[playerid][pTutMissionComplete][2] = false;
    TextDrawShowForPlayer(playerid,InfoSign);
    PlayerTextDrawSetString(playerid,INFOdraw[playerid][2],"~r~Info:~w~~n~Finde schnell einen Ausweg~n~aus dem Schiff!");
    PlayerTextDrawShow(playerid,INFOdraw[playerid][2]);
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid,ServerSounds[13],0.0,0.0,0.0);
    SetTimerEx("HideInfoBox",6000,0,"i",playerid);
    SendClientMessage(playerid,WEISS,"Sahra schreit: Hilfe ... Hilfe!!!");
    SendClientMessage(playerid,WEISS,"Jordan schreit: Das Schiff wird gleich sinken!!!");
    SetPlayerPos(playerid,786.0815,-2911.4233,0.2500);
    InterpolateCameraPos(playerid,786.0815,-2911.4233,0.2500,786.7673,-2916.4805,1.1548,5000,CAMERA_MOVE);
    InterpolateCameraLookAt(playerid,786.0815,-2911.4233,0.2500,785.9222,-2913.0095,0.7000,5000,CAMERA_MOVE);
    Spieler[playerid][pTutTimer4All] = SetTimerEx("Tutorial4All",5000,0,"ii",playerid,4);
    TogglePlayerControllable(playerid,0);
    SetPlayerCheckpoint(playerid,792.3408,-2903.2341,-2.5487,3.0);
    Spieler[playerid][pTutMissionComplete][3] = true;
    return 1;
    }
    if(Spieler[playerid][pTutMissionComplete][3] == true)
    {
    DisablePlayerCheckpoint(playerid);
    for(new i=3;i<154;i++)
    {
    DestroyPlayerObject(playerid,Spieler[playerid][pTutorialObject][i]);
    }
    Spieler[playerid][pTutMissionComplete][3] = false;
    TextDrawShowForPlayer(playerid,InfoSign);
    PlayerTextDrawSetString(playerid,INFOdraw[playerid][2],"~r~Info:~w~~n~Das Schiff sinkt!~n~Schwimme ans Festland!");
    PlayerTextDrawShow(playerid,INFOdraw[playerid][2]);
    SetTimerEx("HideInfoBox",8000,0,"i",playerid);
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid,ServerSounds[9],0.0,0.0,0.0);
    Spieler[playerid][pTutorialObject][0] = CreatePlayerObject(playerid,10794,436.92,-2895.28,4.70, 0.00,0.00,85.00);
    Spieler[playerid][pTutorialObject][1] = CreatePlayerObject(playerid,10795,436.70,-2897.67,14.74, 0.00,0.00,85.00);
    Spieler[playerid][pTutorialObject][2] = CreatePlayerObject(playerid,10793,430.37,-2970.25,32.28, 0.00,0.00,85.00);
    SetPlayerVirtualWorld(playerid,0);
    SetPlayerPos(playerid,388.3844,-2815.5237,-1.1535);
    MovePlayerObject(playerid,Spieler[playerid][pTutorialObject][0],436.92,-2895.28,19.70 - 35,7.5);
    MovePlayerObject(playerid,Spieler[playerid][pTutorialObject][1],436.70,-2897.67,29.74 - 35,7.5);
    MovePlayerObject(playerid,Spieler[playerid][pTutorialObject][2],430.37,-2970.25,47.28 - 35,7.5);
    InterpolateCameraPos(playerid,361.4438,-3044.8982,4.8658,422.8855,-2738.0801,21.6272,10000,CAMERA_MOVE);
    InterpolateCameraLookAt(playerid,383.9154,-2869.0386,9.8263,437.7768,-2891.7512,16.5011,10000,CAMERA_MOVE);
    Spieler[playerid][pTutTimer4All] = SetTimerEx("Tutorial4All",1000,1,"ii",playerid,5);
    TogglePlayerControllable(playerid,0);
    Spieler[playerid][pTutMissionComplete][4] = true;
    }
    if(Spieler[playerid][pBuyVehicleCP] == 1)
    {
    PlayerPlaySound(playerid,1058,0.0,0.0,0.0);
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUEN,"Fahrzeug Befehle:");
    SendClientMessage(playerid,GRUEN,"- '/pveh' um dein Fahrzeug zu verwalten");
    SendClientMessage(playerid,GRUEN,"Weiteres in '/hilfe'");
    Spieler[playerid][pBuyVehicleCP] = 0;
    }
    if(Spieler[playerid][pFBuyCheckPoint] == 1)
    {
    PlayerPlaySound(playerid,1058,0.0,0.0,0.0);
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,GRUEN,"Fraktionfahrzeug Befehle:");
    SendClientMessage(playerid,GRUEN,"- '/flock' zum Auf- und Abschließen einzelner Fraktionsfahrzeuge");
    SendClientMessage(playerid,GRUEN,"- '/fparken' zum Parken einzelner Fraktionsfahrzeuge");
    SendClientMessage(playerid,GRUEN,"- '/frespawn' zum Respawn aller Fraktionsfahrzeuge der Gang/Mafia/Fraktion");
    SendClientMessage(playerid,GRUEN,"- '/fvehlist' gibt Info´s zu Fraktionfahrzeugen (Fahrzeugname,Tankzustand,Abgeschleppt:Ja/Nein,Status:Abgeschlossen/Aufgeschlossen)");
    Spieler[playerid][pFBuyCheckPoint] = 0;
    }
    if(Spieler[playerid][pWaitEating] == 1)
    {
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,WEISS,"Warte einen Moment! Dein Essen wird zubereitet.");
    TogglePlayerControllable(playerid,0);
    SetTimerEx("DriveIn",5000,0,"i",playerid);
    if(Spieler[playerid][pIsearch] == 1)
    {
    new Float:x,Float:y,Float:z;
    if(Spieler[playerid][pOrtenVehORPlayer] == 1)//ortet player
    {
    GetPlayerPos(Spieler[playerid][pOrtenVehIDplayerid],x,y,z);
    SetPlayerCheckpoint(playerid,x,y,z,3);
    SpielerOrtenTimer[playerid]=SetTimerEx("SpielerOderFahrzeugOrten",1000,1,"iii",playerid,Spieler[playerid][pOrtenVehIDplayerid],1);
    return 1;
    }
    if(Spieler[playerid][pOrtenVehORPlayer] == 2)//ortet fahrzeug
    {
    GetVehiclePos(Spieler[playerid][pOrtenVehIDplayerid],x,y,z);
    SetPlayerCheckpoint(playerid,x,y,z,3);
    SpielerOrtenTimer[playerid]=SetTimerEx("SpielerOderFahrzeugOrten",1000,1,"iii",playerid,Spieler[playerid][pOrtenVehIDplayerid],2);
    return 1;
    }
    if(Spieler[playerid][pOrtenVehORPlayer] == 3)//service accept
    {
    GetPlayerPos(Spieler[playerid][pOrtenVehIDplayerid],x,y,z);
    SetPlayerCheckpoint(playerid,x,y,z,3);
    GameTextForPlayer(playerid,"~g~Fahre zum Einsatzort",2500,1);
    return 1;
    }
    }
    }