Dialogs help
#5

First of all you as you have there "Enter weapon id" Which is not dialog style list it sud be Dialog_Style_Input where you can input the id of the desired weapon so copy the code.
Код:
if(dialogid==5)
        {
            if(response)
            {
                if(listitem==0)
                {
                    ShowPlayerDialog(playerid,6,DIALOG_STYLE_INPUT,"Weapon ID","Enter weapon ID","OK","Cancel");
                }
                if(listitem==1)
                {
                    ShowPlayerDialog(playerid,6,DIALOG_STYLE_INPUT,"Weapon ID","Enter weapon ID","OK","Cancel");
                }
                if(listitem==2)
                {
                    ShowPlayerDialog(playerid,6,DIALOG_STYLE_INPUT,"Weapon ID","Enter weapon ID","OK","Cancel");
                }
			}
Reply


Messages In This Thread
Dialogs help - by Virus. - 06.11.2012, 15:22
Re: Dialogs help - by mSlat3r - 06.11.2012, 15:25
Re: Dialogs help - by Virus. - 06.11.2012, 15:37
Re: Dialogs help - by Virus. - 07.11.2012, 14:07
Re: Dialogs help - by Laure - 07.11.2012, 14:53
Re: Dialogs help - by Virus. - 07.11.2012, 15:20
Re: Dialogs help - by MatZZPL - 07.11.2012, 15:36
Re: Dialogs help - by Laure - 07.11.2012, 15:39
Re: Dialogs help - by Virus. - 07.11.2012, 16:18
Re: Dialogs help - by Glad2BeHere - 07.11.2012, 17:03

Forum Jump:


Users browsing this thread: 3 Guest(s)