16.01.2014, 12:07
Acabei de fazer e nгo testei, Adapta ele em seu GM e teste:
pawn Код:
CMD:admins(playerid) {
new String[120], String2[120], NomePlayer[20];
for(new i; i < MAX_PLAYERS; i++) {
if(PlayerInfo[i][pAdmin] > 0) {
if(IsPlayerConnected(i)) {
GetPlayerName(i, NomePlayer, 20);
format(String, 120, "Admin: %s estб Online", NomePlayer); strcat(String2, String);
}
}
}
ShowPlayerDialog(playerid, 80, DIALOG_STYLE_MSGBOX, "Admins", String2, "Fechar", #);
return true;
}