16.01.2014, 12:38
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);
strcat(string, string2);
ShowPlayerDialog(playerid, 80, DIALOG_STYLE_MSGBOX, "Admins", String2, "Fechar", #);
}
}
}
return true;
}