[Ayuda] Tutorial
#1

Hola, Bueno e puesto un tutorial en mi gm en textdraws, pasa lo siguiente cuando me registro todo fino pero luego cuando yo estoy jugando y se registra alguien a mi y a todos los demas nos vuelve a mostrar el tutorial... aka el tutorial
pawn Код:
new Text:Introduccion0[MAX_PLAYERS];//
new Text:Introduccion1[MAX_PLAYERS];//
new Text:Introduccion2[MAX_PLAYERS];//
new Text:Introduccion3[MAX_PLAYERS];//

new Text:Tutorial0[MAX_PLAYERS];//
new Text:Tutorial1[MAX_PLAYERS];//
new Text:Tutorial2[MAX_PLAYERS];//
new Text:Tutorial3[MAX_PLAYERS];//
new Text:Tutorial4[MAX_PLAYERS];//

new Text:Tutorial5[MAX_PLAYERS];//
new Text:Tutorial6[MAX_PLAYERS];//
new Text:Tutorial7[MAX_PLAYERS];//

new Text:Tutorial8[MAX_PLAYERS];//
new Text:Tutorial9[MAX_PLAYERS];//
new Text:Tutorial10[MAX_PLAYERS];//
new Text:Tutorial11[MAX_PLAYERS];//

new Text:Tutorial12[MAX_PLAYERS];//

new Text:Tutorial13[MAX_PLAYERS];//
new Text:Tutorial14[MAX_PLAYERS];//

new Text:Tutorial15[MAX_PLAYERS];//
new Text:Tutorial16[MAX_PLAYERS];//

new Text:Tutorial17[MAX_PLAYERS];//

new Text:Tutorial18[MAX_PLAYERS];//
new Text:Tutorial19[MAX_PLAYERS];//

new Text:Tutorial20[MAX_PLAYERS];//
new Text:Tutorial21[MAX_PLAYERS];//
new Text:Tutorial22[MAX_PLAYERS];//
new Text:Tutorial23[MAX_PLAYERS];//
new Text:Tutorial24[MAX_PLAYERS];//

new Text:Tutorial25[MAX_PLAYERS];//
new Text:Tutorial26[MAX_PLAYERS];//
new Text:Tutorial27[MAX_PLAYERS];//
new Text:Tutorial28[MAX_PLAYERS];//

new Text:Tutorial29[MAX_PLAYERS];//
new Text:Tutorial30[MAX_PLAYERS];//
new Text:Tutorial31[MAX_PLAYERS];//
new Text:Tutorial32[MAX_PLAYERS];//

new Text:Tutorial33[MAX_PLAYERS];//
new Text:Tutorial34[MAX_PLAYERS];//
new Text:Tutorial35[MAX_PLAYERS];//
new Text:Tutorial36[MAX_PLAYERS];//
new Text:Tutorial37[MAX_PLAYERS];//

new Text:Tutorial38[MAX_PLAYERS];//
new Text:Tutorial39[MAX_PLAYERS];//
new Text:Tutorial40[MAX_PLAYERS];//

new Text:Tutorial41[MAX_PLAYERS];//
new Text:Tutorial42[MAX_PLAYERS];//

new Text:Tutorial43[MAX_PLAYERS];//
new Text:Tutorial44[MAX_PLAYERS];//

new Text:Tutorial45[MAX_PLAYERS];//
new Text:Tutorial46[MAX_PLAYERS];//
new Text:Tutorial47[MAX_PLAYERS];//
new Text:Tutorial48[MAX_PLAYERS];//

new Text:Tutorial49[MAX_PLAYERS];//

new Text:Tutorial50[MAX_PLAYERS];//
new Text:Tutorial51[MAX_PLAYERS];//

new Text:Tutorial52[MAX_PLAYERS];//
new Text:Tutorial53[MAX_PLAYERS];//

new Text:Tutorial54[MAX_PLAYERS];//
new Text:Tutorial55[MAX_PLAYERS];//

new Text:Tutorial56[MAX_PLAYERS];//
new Text:Tutorial57[MAX_PLAYERS];//
new Text:Tutorial58[MAX_PLAYERS];//

new Text:Tutorial59[MAX_PLAYERS];//
new Text:Tutorial60[MAX_PLAYERS];//

new Text:Tutorial61[MAX_PLAYERS];//
new Text:Tutorial62[MAX_PLAYERS];//

new Text:Tutorial63[MAX_PLAYERS];//
new Text:Tutorial64[MAX_PLAYERS];//
new Text:Tutorial65[MAX_PLAYERS];//

new Text:Tutorial66[MAX_PLAYERS];//
new Text:Tutorial67[MAX_PLAYERS];//
new Text:Tutorial68[MAX_PLAYERS];//

new Text:Tutorial69[MAX_PLAYERS];//
new Text:Tutorial70[MAX_PLAYERS];//
new Text:Tutorial71[MAX_PLAYERS];//


y aca lo demas.....
if(TutTime[i] >= 1)
            {
              TutTime[i] += 1;
                switch (TutTime[i])
                {
                    case 5:
                  {
                    SetPlayerCameraPos(playerid, -2604.2324,490.6546,68.6727);
                        SetPlayerCameraLookAt(playerid, -2381.7639,793.5422,101.3817);
                        SetPlayerPos(playerid, -2381.7639,793.5422,101.3817);
                        SetPlayerInterior(playerid, 0);
                        PlayerInfo[playerid][pInt] = 0;
                    TogglePlayerControllable(i,0);
                        ClearChatbox(i, 5);
                        TextDrawShowForPlayer(playerid,Introduccion0[playerid]);
                        TextDrawShowForPlayer(playerid,Introduccion1[playerid]);
                        TextDrawShowForPlayer(playerid,Introduccion2[playerid]);
                        TextDrawShowForPlayer(playerid,Introduccion3[playerid]);
                  }
                    case 15:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Introduccion0[playerid]);
                        TextDrawHideForPlayer(playerid,Introduccion1[playerid]);
                        TextDrawHideForPlayer(playerid,Introduccion2[playerid]);
                        TextDrawHideForPlayer(playerid,Introduccion3[playerid]);
                        //--------------------------------------
                        TextDrawShowForPlayer(playerid,Tutorial0[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial1[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial2[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial3[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial4[playerid]);
                  }
                    case 30:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial0[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial1[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial2[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial3[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial4[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial5[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial6[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial7[playerid]);
                  }
                    case 45:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial5[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial6[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial7[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial8[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial9[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial10[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial11[playerid]);
                  }
                    case 60:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial8[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial9[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial10[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial11[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial12[playerid]);
                  }
                    case 75:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial12[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial13[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial14[playerid]);
                  }
                  case 90:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial13[playerid]);
            TextDrawHideForPlayer(playerid,Tutorial14[playerid]);

            TextDrawShowForPlayer(playerid,Tutorial15[playerid]);
            TextDrawShowForPlayer(playerid,Tutorial16[playerid]);
                  }
                  case 105:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial15[playerid]);
            TextDrawHideForPlayer(playerid,Tutorial16[playerid]);

            TextDrawShowForPlayer(playerid,Tutorial17[playerid]);
                  }
                  case 120:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial17[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial18[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial19[playerid]);
                  }
                  case 135:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial18[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial19[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial20[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial21[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial22[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial23[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial24[playerid]);
                  }
                  case 150:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial20[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial21[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial22[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial23[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial24[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial25[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial26[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial27[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial28[playerid]);
                  }
                  case 165:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial25[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial26[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial27[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial28[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial29[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial30[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial31[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial32[playerid]);
                  }
                  case 180:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial29[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial30[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial31[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial32[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial33[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial34[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial35[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial36[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial37[playerid]);
                  }
                  case 195:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial33[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial34[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial35[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial36[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial37[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial38[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial39[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial40[playerid]);
                  }
                  case 205:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial38[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial39[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial40[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial41[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial42[playerid]);
                  }
                  case 220:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial41[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial42[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial43[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial44[playerid]);
                  }
                  case 235:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial43[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial44[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial45[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial46[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial47[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial48[playerid]);
                  }
                  case 250:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial45[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial46[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial47[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial48[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial49[playerid]);
                  }
                  case 265:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial49[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial50[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial51[playerid]);
                  }
                  case 280:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial50[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial51[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial52[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial53[playerid]);
                  }
                  case 295:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial52[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial53[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial54[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial55[playerid]);
                  }
                  case 310:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial54[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial55[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial56[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial57[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial58[playerid]);
                  }
                  case 325:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial56[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial57[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial58[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial59[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial60[playerid]);
                  }
                  case 340:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial59[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial60[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial61[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial62[playerid]);
                  }
                  case 355:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial61[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial62[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial63[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial64[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial65[playerid]);
                  }
                  case 370:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial63[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial64[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial65[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial66[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial67[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial68[playerid]);
                  }
                  case 385:
                  {
                        ClearChatbox(i, 5);
                        TextDrawHideForPlayer(playerid,Tutorial66[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial67[playerid]);
                        TextDrawHideForPlayer(playerid,Tutorial68[playerid]);

                        TextDrawShowForPlayer(playerid,Tutorial69[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial70[playerid]);
                        TextDrawShowForPlayer(playerid,Tutorial71[playerid]);
                  }
                    case 400:
                    {
                        ShowPlayerDialog(playerid, PREGUNTA, DIALOG_STYLE_LIST, "ї Que Significa MetaGaming ?","A) Matar Gente sin razon\nB) Que un jugador te ha sacado del coche sin rol\nC) Usar Informacion OOC Dentro del Juego ", "Seleccionar", "No se");
                        PlayerInfo[i][pAccount] = 100000;
                        TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
                        gOoc[i] = 0; gNews[i] = 0; gFam[i] = 0;
                        TogglePlayerControllable(i, 1);
                        SetPlayerVirtualWorld(i,0);
                        MedicBill[i] = 0;
                        SetCameraBehindPlayer(i);
                        SetPlayerSpawn(i);
                    }
                }
            }
porfavor ayudenme urgente
Reply
#2

Dame el ondialogresponse.
Puede haber alguna referencia.
Reply
#3

eso que tiene que ver osea que te paso de ahy? ahy no ahy nada del tuto
Reply
#4

Quote:
Originally Posted by Daniel_Barrera
eso que tiene que ver osea que te paso de ahy? ahy no ahy nada del tuto
Si hay del tuto

pawn Код:
ShowPlayerDialog(playerid, PREGUNTA, DIALOG_STYLE_LIST, "ї Que Significa MetaGaming ?","A) Matar Gente sin razon\nB) Que un jugador te ha sacado del coche sin rol\nC) Usar Informacion OOC Dentro del Juego ", "Seleccionar", "No se");
         PlayerInfo[pAccount] = 100000;
Ahi cuando pone seleccionar o no se debe haber alguna referencia a los textdraw.Hay que descartar todas las posibilidades
Reply
#5

es todo eso XD

pawn Код:
if(dialogid == SEXMENU)
    {
        if(response)
        {
            if(listitem == 0) // Male
            {
          if(RegistrationStep[playerid] == 1)
          {
            //SetPlayerPos(playerid, 1.71875, 30.4062, 1200.34);
            //SetPlayerInterior(playerid,1);
              PlayerInfo[playerid][pSex] = 1;// La Funcion Principal xD!!!
              RegistrationStep[playerid] = 2;
              SetPlayerSkin(playerid, 26);
             
              ShowPlayerDialog(playerid, EDADMENU, DIALOG_STYLE_INPUT, "Edad","їCual es tu fecha de nacimiento?\nTeclee dd/mm/aa\nEjemplo: 22/05/1990 ", "Aceptar", "Cancelar");
                return 0;
              }
            }
            if(listitem == 1) // Female
            {
          if(RegistrationStep[playerid] == 1)
          {
          //SetPlayerPos(playerid, 1.71875, 30.4062, 1200.34);
            //SetPlayerInterior(playerid,1);
              PlayerInfo[playerid][pSex] = 2;
              RegistrationStep[playerid] = 2;
              SetPlayerSkin(playerid, 193);
             
              ShowPlayerDialog(playerid, EDADMENU, DIALOG_STYLE_INPUT, "Edad","їCual es tu fecha de nacimiento?\nTeclee dd/mm/aa\nEjemplo: 22/05/1990 ", "Aceptar", "Cancelar");
                return 0;
              }
            }
        }
        return 1;
    }
    if(dialogid == EDADMENU)
    {
        if(response)
        {
          if(RegistrationStep[playerid] == 2)
          {
            new year, month,day;
                    getdate(year, month, day);
                new DateInfo[3][20];
                    split(inputtext, DateInfo, '/');
                    if(year - strvalEx(DateInfo[2]) > 100 || strvalEx(DateInfo[2]) < 1 || strvalEx(DateInfo[2]) >= year)
                    {
                     
                      ShowPlayerDialog(playerid, EDADMENU, DIALOG_STYLE_INPUT, "Edad","їCual es tu fecha de nacimiento?\nTeclee dd/mm/aa\nEjemplo: 22/05/1990 ", "Aceptar", "Cancelar");
                      return 0;
                    }
                    new check = year - strvalEx(DateInfo[2]);
                    if(check == year)
                    {
                     
                      ShowPlayerDialog(playerid, EDADMENU, DIALOG_STYLE_INPUT, "Edad","їCual es tu fecha de nacimiento?\nTeclee dd/mm/aa\nEjemplo: 22/05/1990 ", "Aceptar", "Cancelar");
                      return 0;
                    }
                    if(strvalEx(DateInfo[1]) > month)
                    {
                      check -= 1;
                    }
                    else if(strvalEx(DateInfo[1]) == month && strval(DateInfo[0]) > day)
                    {
                      check -= 1;
                    }
                    PlayerInfo[playerid][pAge] = check;
                    format(string, sizeof(string), "Ok, Tu Edad es %d.",PlayerInfo[playerid][pAge]);
                    SendClientMessage(playerid, COLOR_YELLOW2, string);
                    RegistrationStep[playerid] = 3;
                   
                    ShowPlayerDialog(playerid, ORIGENMENU, DIALOG_STYLE_LIST, "ї Donde desea residenciarse ?","Los Santos\nSan Fierro", "Seleccionar", "Cancelar");
                return 0;
              }
        }
        return 1;
    }
    if(dialogid == ORIGENMENU)
    {
        if(response)
        {
            if(listitem == 0) // Los Santos
            {
          if(RegistrationStep[playerid] == 3)
          {
            PlayerInfo[playerid][pOrigin] = 1;
                SendClientMessage(playerid, COLOR_YELLOW2, "Entiendo, quiere vivir en Los Santos.");
               
                    RegistrationStep[playerid] = 4;
              ShowPlayerDialog(playerid, PELEAMENU, DIALOG_STYLE_LIST, "їQue estilo de pelea desea?","Normal\nBoxeo\nKungfu\nKneehead\nGrabkick\nElbow", "Seleccionar", "<<");
                return 0;
              }
            }
            if(listitem == 1) // San Fierro
            {
          if(RegistrationStep[playerid] == 3)
          {
            PlayerInfo[playerid][pOrigin] = 2;
                SendClientMessage(playerid, COLOR_YELLOW2, "Entiendo, quiere vivir en San Fierro.");
               
                    RegistrationStep[playerid] = 4;
              ShowPlayerDialog(playerid, PELEAMENU, DIALOG_STYLE_LIST, "їQue estilo de pelea desea?","Normal\nBoxeo\nKungfu\nKneehead\nGrabkick\nElbow", "Seleccionar", "<<");
               
                return 0;
              }
            }
        }
        return 1;
    }
    if(dialogid == PELEAMENU)
    {
        if(response)
        {
            if(listitem == 0) // Normal
            {
          if(RegistrationStep[playerid] == 4)
          {
            PlayerInfo[playerid][pPelea] = 1;
                SendClientMessage(playerid, COLOR_YELLOW2, "Peleas Normal");
                SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL);
                //SendClientMessage(playerid, COLOR_LIGHTRED, "Gracias por llenar la informacion, prosedamos al tutorial.");
                    RegistrationStep[playerid] = 0;
                TutTime[playerid] = 1;
              //ShowPlayerDialog(playerid, PREGUNTA, DIALOG_STYLE_LIST, "What does OOC mean?","Out Of Class\nOut Of Customs\nOut of Character ", "Select", "Cancel");
                return 0;
              }
            }
            if(listitem == 1) // Boxeo
            {
          if(RegistrationStep[playerid] == 4)
          {
            PlayerInfo[playerid][pPelea] = 1;
                SendClientMessage(playerid, COLOR_YELLOW2, "Ya peleas BOXEO");
                SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
                //SendClientMessage(playerid, COLOR_LIGHTRED, "Gracias por llenar la informacion, prosedamos al tutorial.");
                    RegistrationStep[playerid] = 0;
                TutTime[playerid] = 1;
              //ShowPlayerDialog(playerid, PREGUNTA, DIALOG_STYLE_LIST, "What does OOC mean?","Out Of Class\nOut Of Customs\nOut of Character ", "Select", "Cancel");
                return 0;
              }
            }
            if(listitem == 2) // Kungfu
            {
          if(RegistrationStep[playerid] == 4)
          {
            PlayerInfo[playerid][pPelea] = 1;
                SendClientMessage(playerid, COLOR_YELLOW2, "Ya peleas KUNGFU");
                SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
                //SendClientMessage(playerid, COLOR_LIGHTRED, "Gracias por llenar la informacion, prosedamos al tutorial.");
                    RegistrationStep[playerid] = 0;
                TutTime[playerid] = 1;
              //ShowPlayerDialog(playerid, PREGUNTA, DIALOG_STYLE_LIST, "What does OOC mean?","Out Of Class\nOut Of Customs\nOut of Character ", "Select", "Cancel");
                return 0;
              }
            }
            if(listitem == 3) // KNEEHEAD
            {
          if(RegistrationStep[playerid] == 4)
          {
          PlayerInfo[playerid][pPelea] = 1;
                SendClientMessage(playerid, COLOR_YELLOW2, "Ya peleas a lo KNEEHEAD");
                SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);
                //SendClientMessage(playerid, COLOR_LIGHTRED, "Gracias por llenar la informacion, prosedamos al tutorial.");
                    RegistrationStep[playerid] = 0;
                TutTime[playerid] = 1;
              //ShowPlayerDialog(playerid, PREGUNTA, DIALOG_STYLE_LIST, "ї Que Significa MetaGaming ?","A) Matar Gente sin razon\nB) Que un jugador te ha sacado del coche sin rol\nC) Usar Informacion OOC Dentro del Juego ", "Seleccionar", "No se");
                return 0;
              }
            }
            if(listitem == 4) // GRABKICK
            {
          if(RegistrationStep[playerid] == 4)
          {
          PlayerInfo[playerid][pPelea] = 1;
                SendClientMessage(playerid, COLOR_YELLOW2, "Ya Peleas a lo GRABKICK");
                SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);
                //SendClientMessage(playerid, COLOR_LIGHTRED, "Gracias por llenar la informacion, prosedamos al tutorial.");
                    RegistrationStep[playerid] = 0;
                TutTime[playerid] = 1;
              //ShowPlayerDialog(playerid, PREGUNTA, DIALOG_STYLE_LIST, "ї Que Significa MetaGaming ?","A) Matar Gente sin razon\nB) Que un jugador te ha sacado del coche sin rol\nC) Usar Informacion OOC Dentro del Juego ", "Seleccionar", "No se");
                return 0;
              }
            }
            if(listitem == 5) // ELBOW
            {
          if(RegistrationStep[playerid] == 4)
          {
          PlayerInfo[playerid][pPelea] = 1;
                SendClientMessage(playerid, COLOR_YELLOW2, "Ya Peleas a lo ELBOW");
                SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW);
                //SendClientMessage(playerid, COLOR_LIGHTRED, "Gracias por llenar la informacion, prosedamos al tutorial.");
                    RegistrationStep[playerid] = 0;
                TutTime[playerid] = 1;
              //ShowPlayerDialog(playerid, PREGUNTA, DIALOG_STYLE_LIST, "ї Que Significa MetaGaming ?","A) Matar Gente sin razon\nB) Que un jugador te ha sacado del coche sin rol\nC) Usar Informacion OOC Dentro del Juego ", "Seleccionar", "No se");
                return 0;
              }
            }
        }
        return 1;
    }
    if(dialogid == PREGUNTA)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 1) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
            ShowPlayerDialog(playerid, PREGUNTA1, DIALOG_STYLE_LIST, "Si quieres reportar a alguien, їQue debes hacer?","A) Susurrar a un Administrador\nB) Usar /reportar \nC) Postear en el foro ", "Seleccionar", "No se");
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA1)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 1) //
            {
          SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, PREGUNTA2, DIALOG_STYLE_LIST, "Un Jugador te acaba de matar, їQue deberias hacer?","A) Susurrar a un Administrador\nB) Vas a matarle en Busca de Venganza\nC) Te resignas, has perdido la memoria ", "Seleccionar", "No se");
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA2)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 1) //
            {
                SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, PREGUNTA3, DIALOG_STYLE_LIST, "Estas en la carcel y un tipo no para de golpearte sin motivo","A) Susurrar a un Administrador\nB) Le devuelves los Golpes\nC) Usas /reportar ", "Seleccionar", "No se");
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA3)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 1) //
            {
                SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, PREGUNTA4, DIALOG_STYLE_LIST, "Estas en un tiroteo apunto de morir dentro de una discoteca:","A) Vas corriendo a la barra y te tomas 2 vodkas para ganar Vida\nB) Intentas escapar\nC) Relogeas ", "Seleccionar", "No se");
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA4)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
Reply
#6

pawn Код:
PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 1) //
            {
          SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, PREGUNTA5, DIALOG_STYLE_LIST, "ї Que es DeathMatch o DM ?","A) Matar gente sin razon\nB) Robarle el auto a alguien sin rol\nC) Tirarse de un Edificio ", "Seleccionar", "No se");
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA5)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, PREGUNTA6, DIALOG_STYLE_LIST, "Si Tienes alguna queja Sobre algun Jugador/Admin y tienes pruebas:","A) Me dirijo al Foro y hago un Post con todos los detalles\nB) Whispeo a Un Administrador\nC) No Hacer nada ", "Seleccionar", "No se");
            return 1;
            }
            if(listitem == 1) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA6)
    {
        if(response)
        {
            if(listitem == 0) //
            {
                SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, PREGUNTA7, DIALOG_STYLE_LIST, "Si un Policia te hace parar que haces?","A) Relogeo para Aparecer en otro lado y salvarme\nB) Uso '/me desaparece magicamente' y relogeo\nC) Me paro y le hago caso, si tengo cosas ilegales intento escapar ", "Seleccionar", "No se");
            return 1;
            }
            if(listitem == 1) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA7)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 1) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 2) //
            {
                SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, PREGUNTA8, DIALOG_STYLE_LIST, "ї Que Sucede si usted usa Cheat ?","A) Recibo Dinero Del Administrador\nB) Se me Prohibe Acceso A mi Cuenta, Permanentemente\nC) Recibo Poder De Administracion en El Server", "Seleccionar", "No se");
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA8)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 1) //
            {
          SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, PREGUNTA9, DIALOG_STYLE_LIST, "Quieres Ingresar a una faccion Legal їQue debes hacer?","A) Preguntar por el Canal de Dudas quien es el jefe de la faccion\nB) Decirle a un administrador\nC) Postear un Curriculum en el subforo adecuado del foro", "Seleccionar", "No se");
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA9)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 1) //
            {
                SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, PREGUNTA10, DIALOG_STYLE_LIST, "їQue sucede cuando te banean injustamente?","A) Insultar al Administrador que me baneo via OOC\nB) Posteo en el Subforo adecuado del foro con todos los detalles\nC) Nada", "Seleccionar", "No se");
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA10)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 1) //
            {
          SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, PREGUNTA11, DIALOG_STYLE_LIST, "їQue Sucede Cuando Usted Encuentra Un Bug?","A) Whispeo a un Administrador\nB) Abusar del Bug encontrado\nC) Postear en el subforo adecuado del foro", "Seleccionar", "No se");
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA11)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 1) //
            {
                SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, PREGUNTA12, DIALOG_STYLE_LIST, "їQue Haria Usted Si Ve A un Administrador Abusando de Poder?","A) Decirle que esta Abusando de Poder\nB) Insultarlo e Insultarlo\nC) Postear en el subforo adecuado del foro Con todos los detalles", "Seleccionar", "No se");
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    if(dialogid == PREGUNTA12)
    {
        if(response)
        {
            if(listitem == 0) //
            {
          SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 1) //
            {
                SendClientMessage(playerid, COLOR_RED, " Ups!! Respuesta Incorrecta! Vuelve a Intentarlo.");
          PlayerInfo[playerid][pTut] = 0;
            Kick(playerid);
            return 1;
            }
            if(listitem == 2) //
            {
          SendClientMessage(playerid, COLOR_GREEN, " Respuesta Correcta. Siguiente Pregunta:");
                    ShowPlayerDialog(playerid, SUPERADO, DIALOG_STYLE_MSGBOX, "Test superado con Exito","ЎFelicidades, has superado el Test de rol!", "Aceptar", "Aceptar");
            return 1;
            }
        }
        SendClientMessage(playerid, COLOR_RED, " Vuelve Cuando Sepas.");
        PlayerInfo[playerid][pTut] = 0;
        Kick(playerid);
        return 1;
    }
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(dialogid == SUPERADO)
    {
        if(response)
        {
            PlayerInfo[i][pAccount] = 10000;
            TutTime[i] = 0; PlayerInfo[i][pTut] = 1;
            gOoc[i] = 0; gNews[i] = 0; gFam[i] = 0;
            TogglePlayerControllable(i, 1);
            SetPlayerVirtualWorld(i,0);
            MedicBill[i] = 0;
            SetCameraBehindPlayer(i);
            SetPlayerSpawn(i);
        }
        return 1;
    }
 }
Reply
#7

Prueba a poner todo el cуdigo entre esto
Код:
pawn Код:
cуdigo
asн no llenas toda la pantalla y esta todo mбs colorido.
Por lo demбs, que siga xeno
Reply
#8

El ondialogresponse esta bien,mostra el onplayerconnect y onplayerspawn.
Reply
#9

nahh men me da lala mira toma mi msn y te lo muestro si? daniel.-barrera@hotmail.com
Reply
#10

Quote:
Originally Posted by Daniel_Barrera
nahh men me da lala mira toma mi msn y te lo muestro si? daniel.-barrera@hotmail.com
Bueno.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)