19.02.2017, 01:20
assim ?
PHP код:
CMD:players(playerid)
{
new aStr1[30], aStr2[300];
foreach(new i : Player)
{
format(aStr1, sizeof(aStr1),"%s\n", NomeJ(i));
strcat(aStr2, aStr1);
}
ShowPlayerDialog(playerid, DIALOG_PLAYERS, DIALOG_STYLE_LIST,"Jogadores", aStr2, "Oi","Tchau");
return 1;
}
didimk(playerid)
{
new didi[MAX_PLAYER_NAME];
GetPlayerName(playerid, didi, sizeof(Nj));
return didi;
}