Dialogs help
#1

Hello guys. I want to make something like when the dialog 5 appears, and the player enters the id, it goes back again to dialog 5 again and show the name or id of the weapon instead of weapon 1,weapon 2 and weapon 3 . Help will really be appreciated. Thanks



Код:
 ShowPlayerDialog(playerid,5,DIALOG_STYLE_LIST,"Weapon","Weapon 1 \nWeapon 2 \nWeapon 3","OK","Cancel");


if(dialogid==5)
        {
            if(response)
            {
                if(listitem==0)
                {
                    ShowPlayerDialog(playerid,6,DIALOG_STYLE_LIST,"Weapon ID","Enter weapon ID","OK","Cancel");
                }
                if(listitem==1)
                {
                    ShowPlayerDialog(playerid,6,DIALOG_STYLE_LIST,"Weapon ID","Enter weapon ID","OK","Cancel");
                }
                if(listitem==2)
                {
                    ShowPlayerDialog(playerid,6,DIALOG_STYLE_LIST,"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: 2 Guest(s)