Loops
#4

Quote:
Originally Posted by mirou123
Посмотреть сообщение
But the dialog is a list how can I get the name of the element I clicked?
As I said, "inputtext" gives you the string of what player has clicked. For example;

pawn Код:
ShowPlayerDialog(playerid, 1212, DIALOG_STYLE_LIST, "Drinks", "Wine\nSoda", "OK", "");
Clicking on "Wine" will return you the string "Wine" on inputtext.
Reply


Messages In This Thread
Loops - by mirou123 - 16.03.2014, 13:41
Re: Loops - by Calabresi - 16.03.2014, 15:47
Re: Loops - by mirou123 - 16.03.2014, 15:48
Re: Loops - by Calabresi - 16.03.2014, 15:52
Re: Loops - by mirou123 - 16.03.2014, 15:53

Forum Jump:


Users browsing this thread: 2 Guest(s)