pawn Код:
CMD:admins
(playerid, params
[]){ new bool: ademir, str
[200];
for(new i, PP
= GetMaxPlayers
(); i
< PP;
++i
) { if(PlayerInfo
[i
][pLevel
] >= 1) { ademir
= true;
GetPlayerName
(i,NomeP,MAX_PLAYER_NAME
);
format(string,
sizeof(string
),
"{80FF00}%s [ID:{FFFF00}%d{80FF00}] Level:{FFFF00}%d\n",NomeP,i,PlayerInfo
[i
][pLevel
]);
strcat(string, str
);
} } if(!ademir
) return ShowPlayerDialog
(playerid,
9,DIALOG_STYLE_MSGBOX,
"Admins",
"{FF0000}Temos Nenhum Administrador Online!\nCaso Ver Algum Cheaters Denuncie\nEm Nossa Comunidade\nhttp://hunterserver.6te.net",
"Ok",
"");
ShowPlayerDialog
(playerid,
10,DIALOG_STYLE_MSGBOX,
"Admins",str,
"OK",
"");
return 1;
}