Dialog Messed -_-______-
#1

Fixed
Reply
#2

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == Dialog_Music)
    {
    if(response)
    {
        switch(dialogid)
        {
            case 1:
            {
                switch(listitem)
                {
                    case 1: return SendClientMessage(playerid,ORANGE,"OKAY!");
                    case 2: return SendClientMessage(playerid,ORANGE,"OKAY!");
                    case 3: return SendClientMessage(playerid,ORANGE,"OKAY!");
                    case 4: return SendClientMessage(playerid,ORANGE,"OKAY!");
                    case 5: return SendClientMessage(playerid, ORANGE, "okay");
                    case 6: return SendClientMessage(playerid, ORANGE, "okay dokie");
                }
            }
        }
    }
    if(dialogid == Dialog_Wizkhalifa)
    {
    switch(dialogid)
    {
        if(response)
        {
        };
            if(listitem==0)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
            if(listitem==1)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
            if(listitem==2)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
            if(listitem==3)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
            if(listitem==4)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
            if(listitem==5)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
        }
    }
    return 0;
}
to
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
         case Dialog_music:
             {
                  if(response) {

                      switch(listitem)
                      {
                              case 1: return SendClientMessage(playerid,ORANGE,"OKAY!");
                              case 2: return SendClientMessage(playerid,ORANGE,"OKAY!");
                              case 3: return SendClientMessage(playerid,ORANGE,"OKAY!");
                              case 4: return SendClientMessage(playerid,ORANGE,"OKAY!");
                              case 5: return SendClientMessage(playerid, ORANGE, "okay");
                              case 6: return SendClientMessage(playerid, ORANGE, "okay dokie");
                      }
                  }
              }
         case Dialog_Wizkhalifa:
         {
              if(response)  {
                  switch(lsititem)
                   {
                         case 0:
                         {
                                 SendClientMessage(playerid,ORANGE,"OKAY!");
                         }
                         case 1:
                        {
                                 SendClientMessage(playerid,ORANGE,"OKAY!");
                        }
                         case 2:
                        {
                                  SendClientMessage(playerid,ORANGE,"OKAY!");
                        }
                         case 3:
                        {
                                  SendClientMessage(playerid,ORANGE,"OKAY!");
                        }
                         case 4:
                        {
                                   SendClientMessage(playerid,ORANGE,"OKAY!");
                        }
                        case 5:
                        {
                               SendClientMessage(playerid,ORANGE,"OKAY!");
                        }
                  }
             }
        }
    }
    return 0;
}
Reply
#3

Quote:
Originally Posted by JackBurgani
Посмотреть сообщение
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == Dialog_Music)
    {
    if(response)
    {
        switch(dialogid)
        {
            case 1:
            {
                switch(listitem)
                {
                    case 1: return SendClientMessage(playerid,ORANGE,"OKAY!");
                    case 2: return SendClientMessage(playerid,ORANGE,"OKAY!");
                    case 3: return SendClientMessage(playerid,ORANGE,"OKAY!");
                    case 4: return SendClientMessage(playerid,ORANGE,"OKAY!");
                    case 5: return SendClientMessage(playerid, ORANGE, "okay");
                    case 6: return SendClientMessage(playerid, ORANGE, "okay dokie");
                }
            }
        }
    }
    if(dialogid == Dialog_Wizkhalifa)
    {
    switch(dialogid)
    {
        if(response)
        {
        };
            if(listitem==0)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
            if(listitem==1)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
            if(listitem==2)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
            if(listitem==3)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
            if(listitem==4)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
            if(listitem==5)
            {
                SendClientMessage(playerid,ORANGE,"OKAY!");
            }
        }
    }
    return 0;
}
to
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
         case Dialog_music:
             {
                  if(response) {

                      switch(listitem)
                      {
                              case 1: return SendClientMessage(playerid,ORANGE,"OKAY!");
                              case 2: return SendClientMessage(playerid,ORANGE,"OKAY!");
                              case 3: return SendClientMessage(playerid,ORANGE,"OKAY!");
                              case 4: return SendClientMessage(playerid,ORANGE,"OKAY!");
                              case 5: return SendClientMessage(playerid, ORANGE, "okay");
                              case 6: return SendClientMessage(playerid, ORANGE, "okay dokie");
                      }
                  }
              }
         case Dialog_Wizkhalifa:
         {
              if(response)  {
                  switch(lsititem)
                   {
                         case 0:
                         {
                                 SendClientMessage(playerid,ORANGE,"OKAY!");
                         }
                         case 1:
                        {
                                 SendClientMessage(playerid,ORANGE,"OKAY!");
                        }
                         case 2:
                        {
                                  SendClientMessage(playerid,ORANGE,"OKAY!");
                        }
                         case 3:
                        {
                                  SendClientMessage(playerid,ORANGE,"OKAY!");
                        }
                         case 4:
                        {
                                   SendClientMessage(playerid,ORANGE,"OKAY!");
                        }
                        case 5:
                        {
                               SendClientMessage(playerid,ORANGE,"OKAY!");
                        }
                  }
             }
        }
    }
    return 0;
}
Thank you but I fixed it already lol
thanks anyways
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)