Dialog
#1

Hi, I have one question about dialogs and a loop in it.

So, If I do something like this:

pawn Код:
foreach(Player, i)
{
    new
        count = 0
    ;
    if( pDB[ i ][ Admin ] > 0 )
    {
        count ++;
        format( str, lenght, "%d %s", count, name lalalala.. );
        ShowPlayerDialog( playerid, DIALOG_STYLE_LIST, "smth", str, "..", "" );
    }
}
It will shot only one player? Because if I do SendClientMessage but not ShowPlayerDialog - its sends me a lot of message, if there are 1+ adm
Reply


Messages In This Thread
Dialog - by Gh0sT_ - 09.05.2011, 16:57
Re: Dialog - by Vince - 09.05.2011, 17:01
Re: Dialog - by Sascha - 09.05.2011, 17:01
Re: Dialog - by Gh0sT_ - 09.05.2011, 17:06

Forum Jump:


Users browsing this thread: 1 Guest(s)