pawn Код:
COMMAND:admins(playerid, params[])
{
new s[128], ss[128];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pAdmin] > 0)
{
GetPlayerName(i, Jogador, sizeof(Jogador));
format(ss, 128, "{FFFFFF}%s {FF00FF}[%s]", Jogador, admins(i));
strcat(s, ss);
}
}
ShowPlayerDialog(playerid, DIALOG_Admins, DIALOG_STYLE_MSGBOX, " {FF00FF}*** {FFFFFF}ADMIN'S ONLINE {FF00FF}***", s, "fechar", "");
return true;
}