09.05.2011, 16:57
Hi, I have one question about dialogs and a loop in it.
So, If I do something like this:
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
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, "..", "" );
}
}