Dialog returns to the first dialog in secs.
#6

Quote:
Originally Posted by THE_KNOWN
Посмотреть сообщение
Код:
if(dialogid == 3)
{
       ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Drivingschool:", "Take theory test\n take practical test", "Ok", "Cancel");
        return 1;
}
if(dialogid == 4)
{
      if(responce)
        {
         switch(listitem)
               {
                case 0:
                      {
                       ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Which side of the road should you drive?", "Left\nRight","Ok","Cancel");
                       }
                case 1:
                     {
                      SendClientMessage(playerid, red, "WIP");
                      }
                 }
         }
       else
          {
          SendClientMessage(playerid, red, "You cancelled");
          }
return 1;
}
if(dialogid == 5)
{
          if(responce)
           {
            switch(listitem)
                       {
                        case 0:
                               {
                                SendClientMessage(playerid, red, "wrong");
                               }
                         case 1:
                                {
                                 SendClientMessage(playerid, green, "You've got your license");
                                 dlic[playerid]=1;
                                 }
                        }
             }
             else
             {
              SendClientMessage(playerid, red, "You cancelled");
             }
return 1;
}
Help?
Reply


Messages In This Thread
Dialog returns to the first dialog in secs. - by THE_KNOWN - 15.01.2011, 12:53
Re: Dialog returns to the first dialog in secs. - by [UG]Scripter - 15.01.2011, 13:53
Re: Dialog returns to the first dialog in secs. - by [UG]Scripter - 15.01.2011, 13:54
Re: Dialog returns to the first dialog in secs. - by Anthonyx3' - 15.01.2011, 13:57
Re: Dialog returns to the first dialog in secs. - by THE_KNOWN - 15.01.2011, 15:22
Re: Dialog returns to the first dialog in secs. - by THE_KNOWN - 15.01.2011, 15:54
Re: Dialog returns to the first dialog in secs. - by Anthonyx3' - 15.01.2011, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)