30.05.2013, 10:35
pawn Код:
case 4:
{
new string[140];
new MyDialog[256];
for (new i=0;i<MAX_PLAYERS;i++)
{
if (PlayerOrg[i] == PlayerOrg[playerid] && i != playerid)
{
format(string,sizeof(string),"%s", PlayerName(i));
strcat(MyDialog, string);
}
}
ShowPlayerDialog(playerid,99000,DIALOG_STYLE_LIST,"Memberlist",MyDialog,"Ok","Alright");
}