[Help] Dialog Help?
#1

Okay, so I want to create a dialog with style DIALOG_STYLE_LIST.
The problem is, I don't know the items inside that list for sure.
my question is, how do I add them?
================================================== ================
Let's say I want that list to consist all players online.
How do I do that?

My suggestion, by logic would be:
pawn Код:
CMD:showplayers(playerid, params[])
{
  new i;
  for(i=0;i<MAX_PLAYERS;i++)
   {
   if(IsPlayerConnected(i))
      {
         // Somehow add him to the list
      }
   }
}
How do I do that?

=Thanks in Advance
Reply


Messages In This Thread
[Help] Dialog Help? - by Elie1996 - 20.04.2014, 06:55
Re: [Help] Dialog Help? - by BroZeus - 20.04.2014, 07:03
Re: [Help] Dialog Help? - by itsCody - 20.04.2014, 07:20

Forum Jump:


Users browsing this thread: 1 Guest(s)