Hallo Community,
Ich hab ein Problem mit meinem Tutorial System.
Sobald das Tutorial vorbei ist hat man 2000$ Bekommen als Startbonus wen man sich aber einen Roller für 40$ Kauft und sich dann wieder ausloggt und einloggt Denke ich das das Tutorial nicht Vorbei ist weil sich das Geld dann wieder auf 2000$ Setzt und wo ich das Tutorial raus genommen habe und die Gleichen Schritte gemacht habe hatte ich im Spiel die Summe (1960$) womit ich mich auch Ausgeloggt habe.
Jeffry müsste das Tutorial kennen da es aus dem Anderem SA-MP Forum ist.
Also mein Problem ist Jetzt das das Tutorial sich nicht beendet sondern immer Weiter geht und nicht aufhört und sich das Geld immer wieder auf 2000$ Resetet.
Hier ist mal der Code
public TutorialStep(playerid, step)
{
if(SpielerInfo[playerid][TutorialFinished]==1) return 1;
switch(step)
{
case 1:
{
TextDrawHideForPlayer(playerid, Version);//Standart-version
TextDrawHideForPlayer(playerid, txtTimeDate);//Standart-datum
TextDrawHideForPlayer(playerid, txtTimeDisp);//Standart-uhrzeit
TextDrawHideForPlayer(playerid, test);//UCP,Forum,etc
//
TextDrawShowForPlayer(playerid, einleitung12);
TextDrawShowForPlayer(playerid, einleitung13);
//
TextDrawShowForPlayer(playerid, einleitung10);
TextDrawShowForPlayer(playerid, einleitung11);
TextDrawShowForPlayer(playerid, einleitung15);
TextDrawShowForPlayer(playerid, einleitung16);
//
for(new i=0; i<100; i++){
SendClientMessage(playerid,COLOR_WHITE,"");
PlayAudioStreamForPlayer(playerid, "");
SetPlayerPos(playerid,1470.7496,-1769.7412,13.5469);
//|----------Tutorial-einleitung1----------|
InterpolateCameraPos(playerid, 1405.449951, -1726.273681, 23.640733, 1542.579223, -1725.745849, 62.397838, 25000);
InterpolateCameraLookAt(playerid, 1409.344116, -1729.314697, 22.874235, 1539.453735, -1728.474243, 59.607215, 25000);
}
case 2:
{
TextDrawHideForPlayer(playerid, einleitung12);
TextDrawHideForPlayer(playerid, einleitung13);
//
TextDrawShowForPlayer(playerid, einleitung22);
TextDrawShowForPlayer(playerid, einleitung23);
//
SetPlayerPos(playerid,1470.7496,-1769.7412,13.5469);
//|----------Tutorial-einleitung2----------|
InterpolateCameraPos(playerid, 1405.449951, -1726.273681, 23.640733, 1542.579223, -1725.745849, 62.397838, 25000);
InterpolateCameraLookAt(playerid, 1409.344116, -1729.314697, 22.874235, 1539.453735, -1728.474243, 59.607215, 25000);
}
case 3:
{
TextDrawHideForPlayer(playerid, einleitung22);
TextDrawHideForPlayer(playerid, einleitung23);
//
TextDrawShowForPlayer(playerid, einleitung32);
TextDrawShowForPlayer(playerid, einleitung33);
//
SetPlayerPos(playerid,1470.7496,-1769.7412,13.5469);
//|----------Tutorial-einleitung3----------|
InterpolateCameraPos(playerid, 1405.449951, -1726.273681, 23.640733, 1542.579223, -1725.745849, 62.397838, 25000);
InterpolateCameraLookAt(playerid, 1409.344116, -1729.314697, 22.874235, 1539.453735, -1728.474243, 59.607215, 25000);
}
case 4:
{
TextDrawHideForPlayer(playerid, einleitung32);
TextDrawHideForPlayer(playerid, einleitung33);
//
TextDrawShowForPlayer(playerid, einleitung42);
TextDrawShowForPlayer(playerid, einleitung43);
//
SetPlayerPos(playerid,1470.7496,-1769.7412,13.5469);
//|----------Tutorial-einleitung4----------|
InterpolateCameraPos(playerid, 1405.449951, -1726.273681, 23.640733, 1542.579223, -1725.745849, 62.397838, 25000);
InterpolateCameraLookAt(playerid, 1409.344116, -1729.314697, 22.874235, 1539.453735, -1728.474243, 59.607215, 25000);
}
case 5:
{
TextDrawHideForPlayer(playerid, einleitung42);
TextDrawHideForPlayer(playerid, einleitung43);
//
TextDrawHideForPlayer(playerid, einleitung15);
TextDrawHideForPlayer(playerid, einleitung16);
//
TextDrawShowForPlayer(playerid, einleitung50);
TextDrawShowForPlayer(playerid, einleitung51);
TextDrawShowForPlayer(playerid, einleitung52);
TextDrawShowForPlayer(playerid, einleitung53);
TextDrawShowForPlayer(playerid, einleitung54);
TextDrawShowForPlayer(playerid, einleitung55);
TextDrawShowForPlayer(playerid, einleitung56);
TextDrawShowForPlayer(playerid, einleitung57);
TextDrawShowForPlayer(playerid, einleitung58);
TextDrawShowForPlayer(playerid, einleitung59);
TextDrawShowForPlayer(playerid, einleitung510);
//
SetPlayerPos(playerid,1470.7496,-1769.7412,13.5469);
//|----------Tutorial-einleitung5----------|
InterpolateCameraPos(playerid, 1405.449951, -1726.273681, 23.640733, 1542.579223, -1725.745849, 62.397838, 25000);
InterpolateCameraLookAt(playerid, 1409.344116, -1729.314697, 22.874235, 1539.453735, -1728.474243, 59.607215, 25000);
}
case 6://hier beginnt das Standart Tutorial<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
{
//
TextDrawHideForPlayer(playerid, einleitung10);
TextDrawHideForPlayer(playerid, einleitung11);
TextDrawHideForPlayer(playerid, einleitung50);
TextDrawHideForPlayer(playerid, einleitung51);
TextDrawHideForPlayer(playerid, einleitung52);
TextDrawHideForPlayer(playerid, einleitung53);
TextDrawHideForPlayer(playerid, einleitung54);
TextDrawHideForPlayer(playerid, einleitung55);
TextDrawHideForPlayer(playerid, einleitung56);
TextDrawHideForPlayer(playerid, einleitung57);
TextDrawHideForPlayer(playerid, einleitung58);
TextDrawHideForPlayer(playerid, einleitung59);
TextDrawHideForPlayer(playerid, einleitung510);
//
TextDrawShowForPlayer(playerid, Textdraw3TT1);
TextDrawShowForPlayer(playerid, Textdraw4TT1);
TextDrawShowForPlayer(playerid, Textdraw5TT1);
TextDrawShowForPlayer(playerid, Textdraw6TT1);
TextDrawShowForPlayer(playerid, Textdraw8TT1);
TextDrawShowForPlayer(playerid, Textdraw9TT1);
//
TextDrawShowForPlayer(playerid, Tut1_Textdraw0);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw1);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw7);//Standart
//
for(new i=0; i<100; i++){
SendClientMessage(playerid,COLOR_WHITE,"");
}
/*SendClientMessage(playerid, COLOR_ORANGE, " Tutorial - Start ");
SendClientMessage(playerid, COLOR_ORANGE, "1.) Im Tutorial werden dir die Grundlagen vom Server beschrieben.");
SendClientMessage(playerid, COLOR_ORANGE, "2.) Achte darauf dass du alles Aufmerksam lesen wirst.");
SendClientMessage(playerid, COLOR_ORANGE, "3.) Viel Spaß wünscht dir das Team.");*/
SetPlayerPos(playerid,1470.7496,-1769.7412,13.5469);
//|----------Tutorial-Stadthalle----------|
InterpolateCameraPos(playerid, 1405.449951, -1726.273681, 23.640733, 1542.579223, -1725.745849, 62.397838, 25000);
InterpolateCameraLookAt(playerid, 1409.344116, -1729.314697, 22.874235, 1539.453735, -1728.474243, 59.607215, 25000);
}
case 7:
{
TextDrawHideForPlayer(playerid, Textdraw3TT1);
TextDrawHideForPlayer(playerid, Textdraw4TT1);
TextDrawHideForPlayer(playerid, Textdraw5TT1);
TextDrawHideForPlayer(playerid, Textdraw6TT1);
TextDrawHideForPlayer(playerid, Textdraw8TT1);
TextDrawHideForPlayer(playerid, Textdraw9TT1);
//
TextDrawHideForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawHideForPlayer(playerid, Tut1_Textdraw7);//Standart
//
TextDrawShowForPlayer(playerid, Textdraw3TT2);
TextDrawShowForPlayer(playerid, Textdraw4TT2);
TextDrawShowForPlayer(playerid, Textdraw5TT2);
TextDrawShowForPlayer(playerid, Textdraw6TT2);
TextDrawShowForPlayer(playerid, Textdraw8TT2);
TextDrawShowForPlayer(playerid, Textdraw9TT2);
TextDrawShowForPlayer(playerid, Textdraw10TT2);
//
TextDrawShowForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw7);//Standart
//
/*SendClientMessage(playerid, COLOR_ORANGE, " Die Stadthalle ");
SendClientMessage(playerid, COLOR_ORANGE, "* In der Stadthalle kannst du dir einen Personalausweis beantragen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Dort kannst du auch den Bürgermeister wählen & bei anderen Wahlen mit machen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Außerdem Kannst du auch dort deinen Reisepass beantragen um nach");
SendClientMessage(playerid, COLOR_ORANGE, "* San Fierro und Las Venturas zu reisen.");*/
SetPlayerPos(playerid,1541.5444,-1702.5171,13.9816);
//|----------Tutorial-Lspd----------|
InterpolateCameraPos(playerid, 1525.152587, -1720.135375, 35.690761, 1522.213500, -1635.218017, 35.690761, 25000);
InterpolateCameraLookAt(playerid, 1528.486938, -1716.894042, 33.853275, 1525.201171, -1638.794311, 33.878734, 25000);
}
case 8:
{
TextDrawHideForPlayer(playerid, Textdraw3TT2);
TextDrawHideForPlayer(playerid, Textdraw4TT2);
TextDrawHideForPlayer(playerid, Textdraw5TT2);
TextDrawHideForPlayer(playerid, Textdraw6TT2);
TextDrawHideForPlayer(playerid, Textdraw8TT2);
TextDrawHideForPlayer(playerid, Textdraw9TT2);
TextDrawHideForPlayer(playerid, Textdraw10TT2);
//
TextDrawHideForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawHideForPlayer(playerid, Tut1_Textdraw7);//Standart
//
TextDrawShowForPlayer(playerid, Textdraw3TT3);
TextDrawShowForPlayer(playerid, Textdraw4TT3);
TextDrawShowForPlayer(playerid, Textdraw5TT3);
TextDrawShowForPlayer(playerid, Textdraw6TT3);
TextDrawShowForPlayer(playerid, Textdraw8TT3);
//
TextDrawShowForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw7);//Standart
//
/*SendClientMessage(playerid, COLOR_ORANGE, " Die Serverregeln ");
SendClientMessage(playerid, COLOR_ORANGE, "* Nun kommen wir zu den Serverregeln. Wir werden hier nur ein Paar auflisten, Alle sind im Forum auch beschrieben.");
SendClientMessage(playerid, COLOR_ORANGE, "* 1.) Rassistische Äußerungen oder Mobbing & Diskriminuerung ist hier nicht gerne gesehen.");
SendClientMessage(playerid, COLOR_ORANGE, "* 2.) Beleidigungen sind hier auch nicht gestattet.");
SendClientMessage(playerid, COLOR_ORANGE, "* 3.) Drive-By ist hier nicht Erlaubt und wird nach Ausführung bestraft.");
SendClientMessage(playerid, COLOR_ORANGE, "* 4.) Adminbeleidigungen sind nicht gestattet, und werden mit Time-Ban & Ban bestraft.");
SendClientMessage(playerid, COLOR_ORANGE, "* 5.) Wenn ihr mehr von den Regeln lesen möchtet besucht unser Forum: http://xxxx.de");*/
SetPlayerPos(playerid,1074.7886,-1304.1351,13.3357);
//|----------Tutorial-fbi----------|
InterpolateCameraPos(playerid, 1079.330200, -1366.933837, 17.678426, 1200.194702, -1374.900024, 18.614379, 25000);
InterpolateCameraLookAt(playerid, 1081.800903, -1362.595703, 17.401227, 1196.967529, -1371.124755, 18.037544, 25000);
}
case 9:
{
TextDrawHideForPlayer(playerid, Textdraw3TT3);
TextDrawHideForPlayer(playerid, Textdraw4TT3);
TextDrawHideForPlayer(playerid, Textdraw5TT3);
TextDrawHideForPlayer(playerid, Textdraw6TT3);
TextDrawHideForPlayer(playerid, Textdraw8TT3);
//
TextDrawHideForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawHideForPlayer(playerid, Tut1_Textdraw7);//Standart
//
TextDrawShowForPlayer(playerid, Textdraw3TT4);
TextDrawShowForPlayer(playerid, Textdraw4TT4);
TextDrawShowForPlayer(playerid, Textdraw5TT4);
TextDrawShowForPlayer(playerid, Textdraw6TT4);
TextDrawShowForPlayer(playerid, Textdraw8TT4);
TextDrawShowForPlayer(playerid, Textdraw9TT4);
//
TextDrawShowForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw7);//Standart
//
/*SendClientMessage(playerid, COLOR_ORANGE, " Die Stadthalle ");
SendClientMessage(playerid, COLOR_ORANGE, "* In der Stadthalle kannst du dir einen Personalausweis beantragen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Dort kannst du auch den Bürgermeister wählen & bei anderen Wahlen mit machen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Außerdem Kannst du auch dort deinen Reisepass beantragen um nach");
SendClientMessage(playerid, COLOR_ORANGE, "* San Fierro und Las Venturas zu reisen.");*/
//SetPlayerPos(playerid, /*Position*/ );
InterpolateCameraPos(playerid, 1290.434204, -1084.850585, 133.285781, 1405.169555, -1662.161254, 81.033668, 6000);
InterpolateCameraLookAt(playerid, 1293.959716, -1088.366821, 132.831314, 1407.669067, -1666.259277, 79.634147, 6000);
}
case 10:
{
TextDrawHideForPlayer(playerid, Textdraw3TT4);
TextDrawHideForPlayer(playerid, Textdraw4TT4);
TextDrawHideForPlayer(playerid, Textdraw5TT4);
TextDrawHideForPlayer(playerid, Textdraw6TT4);
TextDrawHideForPlayer(playerid, Textdraw8TT4);
TextDrawHideForPlayer(playerid, Textdraw9TT4);
//
TextDrawHideForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawHideForPlayer(playerid, Tut1_Textdraw7);//Standart
//
TextDrawShowForPlayer(playerid, Textdraw3TT5);
TextDrawShowForPlayer(playerid, Textdraw4TT5);
TextDrawShowForPlayer(playerid, Textdraw5TT5);
TextDrawShowForPlayer(playerid, Textdraw6TT5);
TextDrawShowForPlayer(playerid, Textdraw8TT5);
TextDrawShowForPlayer(playerid, Textdraw9TT5);
//
TextDrawShowForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw7);//Standart
//
/*SendClientMessage(playerid, COLOR_ORANGE, " Die Stadthalle ");
SendClientMessage(playerid, COLOR_ORANGE, "* In der Stadthalle kannst du dir einen Personalausweis beantragen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Dort kannst du auch den Bürgermeister wählen & bei anderen Wahlen mit machen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Außerdem Kannst du auch dort deinen Reisepass beantragen um nach");
SendClientMessage(playerid, COLOR_ORANGE, "* San Fierro und Las Venturas zu reisen.");*/
//SetPlayerPos(playerid, /*Position*/ );
InterpolateCameraPos(playerid, 1290.434204, -1084.850585, 133.285781, 1405.169555, -1662.161254, 81.033668, 6000);
InterpolateCameraLookAt(playerid, 1293.959716, -1088.366821, 132.831314, 1407.669067, -1666.259277, 79.634147, 6000);
}
case 11:
{
TextDrawHideForPlayer(playerid, Textdraw3TT5);
TextDrawHideForPlayer(playerid, Textdraw4TT5);
TextDrawHideForPlayer(playerid, Textdraw5TT5);
TextDrawHideForPlayer(playerid, Textdraw6TT5);
TextDrawHideForPlayer(playerid, Textdraw8TT5);
TextDrawHideForPlayer(playerid, Textdraw9TT5);
//
TextDrawHideForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawHideForPlayer(playerid, Tut1_Textdraw7);//Standart
//
TextDrawShowForPlayer(playerid, Textdraw3TT6);
TextDrawShowForPlayer(playerid, Textdraw4TT6);
TextDrawShowForPlayer(playerid, Textdraw5TT6);
TextDrawShowForPlayer(playerid, Textdraw6TT6);
TextDrawShowForPlayer(playerid, Textdraw8TT6);
//
TextDrawShowForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw7);//Standart
//
/*SendClientMessage(playerid, COLOR_ORANGE, " Die Stadthalle ");
SendClientMessage(playerid, COLOR_ORANGE, "* In der Stadthalle kannst du dir einen Personalausweis beantragen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Dort kannst du auch den Bürgermeister wählen & bei anderen Wahlen mit machen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Außerdem Kannst du auch dort deinen Reisepass beantragen um nach");
SendClientMessage(playerid, COLOR_ORANGE, "* San Fierro und Las Venturas zu reisen.");*/
//SetPlayerPos(playerid, /*Position*/ );
InterpolateCameraPos(playerid, 1290.434204, -1084.850585, 133.285781, 1405.169555, -1662.161254, 81.033668, 6000);
InterpolateCameraLookAt(playerid, 1293.959716, -1088.366821, 132.831314, 1407.669067, -1666.259277, 79.634147, 6000);
}
case 12:
{
TextDrawHideForPlayer(playerid, Textdraw3TT6);
TextDrawHideForPlayer(playerid, Textdraw4TT6);
TextDrawHideForPlayer(playerid, Textdraw5TT6);
TextDrawHideForPlayer(playerid, Textdraw6TT6);
TextDrawHideForPlayer(playerid, Textdraw8TT6);
//
TextDrawHideForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawHideForPlayer(playerid, Tut1_Textdraw7);//Standart
//
TextDrawShowForPlayer(playerid, Textdraw3TT7);
TextDrawShowForPlayer(playerid, Textdraw4TT7);
TextDrawShowForPlayer(playerid, Textdraw5TT7);
TextDrawShowForPlayer(playerid, Textdraw6TT7);
TextDrawShowForPlayer(playerid, Textdraw8TT7);
//
TextDrawShowForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw7);//Standart
//
/*SendClientMessage(playerid, COLOR_ORANGE, " Die Stadthalle ");
SendClientMessage(playerid, COLOR_ORANGE, "* In der Stadthalle kannst du dir einen Personalausweis beantragen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Dort kannst du auch den Bürgermeister wählen & bei anderen Wahlen mit machen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Außerdem Kannst du auch dort deinen Reisepass beantragen um nach");
SendClientMessage(playerid, COLOR_ORANGE, "* San Fierro und Las Venturas zu reisen.");*/
//SetPlayerPos(playerid, /*Position*/ );
InterpolateCameraPos(playerid, 1290.434204, -1084.850585, 133.285781, 1405.169555, -1662.161254, 81.033668, 6000);
InterpolateCameraLookAt(playerid, 1293.959716, -1088.366821, 132.831314, 1407.669067, -1666.259277, 79.634147, 6000);
}
case 13:
{
TextDrawHideForPlayer(playerid, Textdraw3TT7);
TextDrawHideForPlayer(playerid, Textdraw4TT7);
TextDrawHideForPlayer(playerid, Textdraw5TT7);
TextDrawHideForPlayer(playerid, Textdraw6TT7);
TextDrawHideForPlayer(playerid, Textdraw8TT7);
//
TextDrawHideForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawHideForPlayer(playerid, Tut1_Textdraw7);//Standart
//
TextDrawShowForPlayer(playerid, Textdraw3TT8);
TextDrawShowForPlayer(playerid, Textdraw4TT8);
TextDrawShowForPlayer(playerid, Textdraw5TT8);
TextDrawShowForPlayer(playerid, Textdraw6TT8);
TextDrawShowForPlayer(playerid, Textdraw8TT8);
TextDrawShowForPlayer(playerid, Textdraw9TT8);
//
TextDrawShowForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw7);//Standart
//
/*SendClientMessage(playerid, COLOR_ORANGE, " Die Stadthalle ");
SendClientMessage(playerid, COLOR_ORANGE, "* In der Stadthalle kannst du dir einen Personalausweis beantragen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Dort kannst du auch den Bürgermeister wählen & bei anderen Wahlen mit machen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Außerdem Kannst du auch dort deinen Reisepass beantragen um nach");
SendClientMessage(playerid, COLOR_ORANGE, "* San Fierro und Las Venturas zu reisen.");*/
//SetPlayerPos(playerid, /*Position*/ );
InterpolateCameraPos(playerid, 1290.434204, -1084.850585, 133.285781, 1405.169555, -1662.161254, 81.033668, 6000);
InterpolateCameraLookAt(playerid, 1293.959716, -1088.366821, 132.831314, 1407.669067, -1666.259277, 79.634147, 6000);
}
case 14:
{
TextDrawHideForPlayer(playerid, Textdraw3TT8);
TextDrawHideForPlayer(playerid, Textdraw4TT8);
TextDrawHideForPlayer(playerid, Textdraw5TT8);
TextDrawHideForPlayer(playerid, Textdraw6TT8);
TextDrawHideForPlayer(playerid, Textdraw8TT8);
TextDrawHideForPlayer(playerid, Textdraw9TT8);
//
TextDrawHideForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawHideForPlayer(playerid, Tut1_Textdraw7);//Standart
//
TextDrawShowForPlayer(playerid, Textdraw3TT9);
TextDrawShowForPlayer(playerid, Textdraw4TT9);
TextDrawShowForPlayer(playerid, Textdraw5TT9);
TextDrawShowForPlayer(playerid, Textdraw6TT9);
TextDrawShowForPlayer(playerid, Textdraw8TT9);
TextDrawShowForPlayer(playerid, Textdraw9TT9);
//
TextDrawShowForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw7);//Standart
//
/*SendClientMessage(playerid, COLOR_ORANGE, " Die Stadthalle ");
SendClientMessage(playerid, COLOR_ORANGE, "* In der Stadthalle kannst du dir einen Personalausweis beantragen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Dort kannst du auch den Bürgermeister wählen & bei anderen Wahlen mit machen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Außerdem Kannst du auch dort deinen Reisepass beantragen um nach");
SendClientMessage(playerid, COLOR_ORANGE, "* San Fierro und Las Venturas zu reisen.");*/
//SetPlayerPos(playerid, /*Position*/ );
InterpolateCameraPos(playerid, 1290.434204, -1084.850585, 133.285781, 1405.169555, -1662.161254, 81.033668, 6000);
InterpolateCameraLookAt(playerid, 1293.959716, -1088.366821, 132.831314, 1407.669067, -1666.259277, 79.634147, 6000);
}
case 15:
{
TextDrawHideForPlayer(playerid, Textdraw3TT9);
TextDrawHideForPlayer(playerid, Textdraw4TT9);
TextDrawHideForPlayer(playerid, Textdraw5TT9);
TextDrawHideForPlayer(playerid, Textdraw6TT9);
TextDrawHideForPlayer(playerid, Textdraw8TT9);
TextDrawHideForPlayer(playerid, Textdraw9TT9);
//
TextDrawHideForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawHideForPlayer(playerid, Tut1_Textdraw7);//Standart
//
TextDrawShowForPlayer(playerid, Textdraw3TT10);
TextDrawShowForPlayer(playerid, Textdraw4TT10);
TextDrawShowForPlayer(playerid, Textdraw5TT10);
TextDrawShowForPlayer(playerid, Textdraw6TT10);
TextDrawShowForPlayer(playerid, Textdraw8TT10);
TextDrawShowForPlayer(playerid, Textdraw9TT10);
TextDrawShowForPlayer(playerid, Textdraw10TT10);
TextDrawShowForPlayer(playerid, Textdraw11TT10);
TextDrawShowForPlayer(playerid, Textdraw12TT10);
//
TextDrawShowForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawShowForPlayer(playerid, Tut1_Textdraw7);//Standart
//
/*SendClientMessage(playerid, COLOR_ORANGE, " Die Stadthalle ");
SendClientMessage(playerid, COLOR_ORANGE, "* In der Stadthalle kannst du dir einen Personalausweis beantragen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Dort kannst du auch den Bürgermeister wählen & bei anderen Wahlen mit machen.");
SendClientMessage(playerid, COLOR_ORANGE, "* Außerdem Kannst du auch dort deinen Reisepass beantragen um nach");
SendClientMessage(playerid, COLOR_ORANGE, "* San Fierro und Las Venturas zu reisen.");*/
//SetPlayerPos(playerid, /*Position*/ );
InterpolateCameraPos(playerid, 1290.434204, -1084.850585, 133.285781, 1405.169555, -1662.161254, 81.033668, 6000);
InterpolateCameraLookAt(playerid, 1293.959716, -1088.366821, 132.831314, 1407.669067, -1666.259277, 79.634147, 6000);
}
case 16:
{
TextDrawHideForPlayer(playerid, Textdraw3TT10);
TextDrawHideForPlayer(playerid, Textdraw4TT10);
TextDrawHideForPlayer(playerid, Textdraw5TT10);
TextDrawHideForPlayer(playerid, Textdraw6TT10);
TextDrawHideForPlayer(playerid, Textdraw8TT10);
TextDrawHideForPlayer(playerid, Textdraw9TT10);
TextDrawHideForPlayer(playerid, Textdraw10TT10);
TextDrawHideForPlayer(playerid, Textdraw11TT10);
TextDrawHideForPlayer(playerid, Textdraw12TT10);
//
TextDrawHideForPlayer(playerid, Tut1_Textdraw2);//Standart
TextDrawHideForPlayer(playerid, Tut1_Textdraw7);//Standart
//
SendClientMessage(playerid, COLOR_ORANGE, "*** Tutorial - Ende ***");
SendClientMessage(playerid, COLOR_ORANGE, "* Das war es mit dem Tutorial. Wir hoffen du hast dich gut eingearbeitet.");
SendClientMessage(playerid, COLOR_ORANGE, "* Und wirst auf diesem Server Viel Spaß haben.");
SendClientMessage(playerid, COLOR_ORANGE, "* Das wünschen dir wir unser Royal Streets Reallife Team.");
InterpolateCameraPos(playerid, 2136.968261, 1826.553466, 55.228713, 2137.618408, 2309.022705, 84.900360, 8000);
InterpolateCameraLookAt(playerid, 2137.102783, 1831.531982, 54.785049, 2137.509521, 2313.506103, 82.689453, 8000);
SpielerInfo[playerid][TutorialFinished] = 1;
TutorialStep(playerid, 0);
SpawnPlayer(playerid);
SpielerSpeichern(playerid);
for(new a = 0; a < 100; a++)
{
TextDrawHideForPlayer(playerid, Tut1_Textdraw0);//Standart
TextDrawHideForPlayer(playerid, Tut1_Textdraw1);//Standart
//
TextDrawShowForPlayer(playerid, Version);//Standart-version
TextDrawShowForPlayer(playerid, txtTimeDate);//Standart-datum
TextDrawShowForPlayer(playerid, txtTimeDisp);//Standart-uhrzeit
TextDrawShowForPlayer(playerid, test);//UCP,Forum,etc
}
}
}
if(step < 16) SetTimerEx("TutorialStep", 25000, false, "dd", playerid, step+1);
return 1;
}
und hier wo das Tutorial dann Abgespielt Werden soll.
{
if(response==0)
{
//Tutorial Info
SpielerInfo[playerid][Geschlecht]=0;
//new string[128];
format(string,sizeof(string),"Ok %s, du bist also Männlich",SpielerName(playerid));
SendClientMessage(playerid,COLOR_BRIGHTRED,string);
SpielerInfo[playerid][Skin]=defaultmskin;
SetPlayerSkin(playerid,defaultmskin);
TogglePlayerControllable(playerid,1);
//TextDrawHideForPlayer(playerid, TutBalken1);
//TextDrawHideForPlayer(playerid, TutBalken2);
SetPlayerPos(playerid,1726.5930,-1949.5266,14.1172);
SetPlayerVirtualWorld(playerid,0);
SetCameraBehindPlayer(playerid);
registrierung[playerid]=0;
TutorialStep(playerid, 1);
return 1;
}
if(response==1)
{
SpielerInfo[playerid][Geschlecht]=1;
//new string[128];
format(string,sizeof(string),"Ok %s, du bist also Weiblich",SpielerName(playerid));
SendClientMessage(playerid,COLOR_BRIGHTRED,string);
SpielerInfo[playerid][Skin]=defaultwskin;
SetPlayerSkin(playerid,defaultwskin);
TogglePlayerControllable(playerid,1);
SetPlayerPos(playerid,1726.5930,-1949.5266,14.1172);
SetPlayerVirtualWorld(playerid,0);
SetCameraBehindPlayer(playerid);
registrierung[playerid]=0;
TutorialStep(playerid, 1);
return 1;
}
}
Hoffe mir kann da einer Helfen