dialog not responsing
#2

try to remove the return 1; there
pawn Код:
if(dialogid == 13501)
        {
            if(response)
            {
                if(IsPlayerAttachedObjectSlotUsed(playerid, listitem))
                {
                    ShowPlayerDialog(playerid, DIALOG_ATTACH_EDITREPLACE, DIALOG_STYLE_MSGBOX, \
                    "{FF0000}Attachment Modification", "Do you wish to edit the attachment in that slot, or delete it?", "Edit", "Delete");
                }
                else
                {
                    new string[4000+1];
                    for(new x;x<sizeof(AttachmentObjects);x++)
                    {
                        format(string, sizeof(string), "%s%s\n", string, AttachmentObjects[x][attachname]);
                    }
                    ShowPlayerDialog(playerid, DIALOG_ATTACH_MODEL_SELECTION, DIALOG_STYLE_LIST, \
                    "{FF0000}Attachment Modification - Model Selection", string, "Select", "Cancel");
                }
                SetPVarInt(playerid, "AttachmentIndexSel", listitem);
            }
        }
pawn Код:
ShowPlayerDialog(playerid, 13501, DIALOG_STYLE_LIST,"{FF0000}Attachment Modification - Index Selection", string, "Select", "Cancel");
Reply


Messages In This Thread
dialog not responsing - by PaulDinam - 27.09.2012, 09:14
Re: dialog not responsing - by ToiletDuck - 27.09.2012, 09:22
Re: dialog not responsing - by PaulDinam - 27.09.2012, 09:27
Re: dialog not responsing - by PaulDinam - 27.09.2012, 09:29
Re: dialog not responsing - by ToiletDuck - 27.09.2012, 09:31
Re: dialog not responsing - by .v - 27.09.2012, 09:35
Re: dialog not responsing - by PaulDinam - 27.09.2012, 09:39
Re: dialog not responsing - by XtremeR - 27.09.2012, 09:41
Re: dialog not responsing - by PaulDinam - 27.09.2012, 09:54
Re: dialog not responsing - by PaulDinam - 27.09.2012, 11:30

Forum Jump:


Users browsing this thread: 4 Guest(s)