OnDialogResponse question
#1

Hello,
I've a question about dialogs, which style is DIALOG_STYLE_LIST. If I have a dialog with unknown count of items, what should I do under OnDialogResponse (listitems?).

For an example: I looped through online players and created a dialog where list items depends on online players count.
What numbers should I use there:
pawn Код:
OnDialogResponse(...)
{
   if(dialogid == lalala)
   {
      if(listitem == /*?????*/) {}
      if(listitem == /*?????*/) {}
   }
   return 1;
}
I want to press on player name and see the latest info.
+rep for helper
Reply


Messages In This Thread
OnDialogResponse question - by kamiliuxliuxliux - 03.06.2014, 09:20
Re: OnDialogResponse question - by Konstantinos - 03.06.2014, 09:34
Re: OnDialogResponse question - by kamiliuxliuxliux - 03.06.2014, 09:45
Re: OnDialogResponse question - by Konstantinos - 03.06.2014, 09:57
Re: OnDialogResponse question - by kamiliuxliuxliux - 03.06.2014, 10:01

Forum Jump:


Users browsing this thread: 2 Guest(s)