23.05.2013, 02:12
Nгo cheguei a olhar o cуdigo envolvendo a parte do Rank, mas deve-se usar strcat.
Ex:
Ex:
pawn Код:
CMD:admins(playerid){
static i, Nome[MAX_PLAYER_NAME], cStr[40], Aux[128];
for(i = GetMaxPlayers() - 1; i != -1; --i){
if (IsPlayerConnectd(i) && IsPlayerAdmin(i)) {
GetPlayerName(i, Nome, MAX_PLAYER_NAME);
format(cStr, sizeof cStr, "Administrador: %s", Nome);
strcat(Aux, cStr);
}
}
ShowPlayerDialog(playerid, -1, DIALOG_STYLE_MSGBOX, "Admins", Aux, "Fechar", "");
return true;
}