Little bit commands lost
#7

You won't learn if you don't try and make it yourself.

Try this..

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == DIALOG_ADMAIN)
	{
		if(!response) {ShowPlayerDialog(playerid, DIALOG_ADMAIN, DIALOG_STYLE_LIST, "Advertisements", "List Advertisements\nSearch Advertisements\nPlace Advertisement\nPlace Priority Advertisement", "Select", "Cancel");
		}
		if(response)
		{
			if(listitem == 0)
			{
				//List Stuff Here
			}
			if(listitem == 1)
			{
				//Search Stuff Here
			}
			if(listitem == 2)
			{
				//Place stuff here
			}
			if(listitem == 3)
			{
				//Priority stuff Here
			}
		}
		return 1;
	}
return 0;
}
Reply


Messages In This Thread
Little bit commands lost - by aDo7 - 19.11.2013, 21:09
Re: Little bit commands lost - by StuartD - 19.11.2013, 21:12
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:14
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:19
Re: Little bit commands lost - by StuartD - 19.11.2013, 21:20
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:25
Re: Little bit commands lost - by StuartD - 19.11.2013, 21:29
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:34
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:51
Re: Little bit commands lost - by aDo7 - 19.11.2013, 21:58

Forum Jump:


Users browsing this thread: 1 Guest(s)