#3

The first list item is ID 0

Example:
Код:
#define Car 0
ShowPlayerDialog(playerid,Cars,DIALOG_STYLE_LIST,"Choose your Car","Bullet\r\nTurismo\r\nSuper GT","Accept","Cancel");
Dialog response:

Код:
	if(dialogid == Cars)
	{
	    if(response)
	    {
	        if(listitem == 0)
	        {
	            Bullet
	        }
	        if(listitem == 1)
	        {
	            Turismo
	        }
	        if(listitem == 2)
	        {
	            Super GT
	        }
	    }
	}
Reply


Messages In This Thread
HELP - by GangsTa_ - 05.08.2010, 14:40
Re: HELP - by Zafire1410 - 05.08.2010, 14:45
Re: HELP - by [DRD]Rodney - 05.08.2010, 14:55
Re: HELP - by GangsTa_ - 05.08.2010, 15:33
Re: HELP - by Conroy - 05.08.2010, 15:43
Re: HELP - by snoob - 05.08.2010, 16:20
Re: HELP - by GangsTa_ - 05.08.2010, 17:32

Forum Jump:


Users browsing this thread: 1 Guest(s)