20.09.2012, 12:24
pawn Код:
new pNome[MAX_PLAYER_NAME], String2[500];
foreach(new i : Player)
{
if(IsPlayerConnected(i))
{
GetPlayerName(i,pNome,sizeof(pNome));
}
}
new String[256];
format(String,sizeof(String),"%s\n",pNome);
strcat(String2, String, sizeof(String2));
ShowPlayerDialog(playerid,22012,DIALOG_STYLE_LIST,"Escolha o player",String2,"Ok","Sair");