16.07.2018, 14:34
PHP код:
if(!strcmp(cmd, "/admins", true) || !strcmp(cmd, "/mods", true) || !strcmp(cmd, "/administradores", true) || !strcmp(cmd, "/moderadores", true))
{
new
adml, adm, mdr, hlp, crg,ContarAdmins,dialogst,Str[120];
foreach(Player, i)
{
if(aInfo[i][Admin] == 1 || aInfo[i][Moderador] == 1 || aInfo[i][Ajudante] == 1)
{
if(aInfo[i][Oculto] == false)
{
adml ++;
format( string, sizeof( string ), "Admin\tCargo\tStatus\n{1E90FF}%s \t%s \tOnline\n",PlayerName( i ),Cargo( i ), i );
strcat(Str, string);
ShowPlayerDialog(playerid,657,DIALOG_STYLE_TABLIST_HEADERS, "{FFFFFF}Admins Online:", Str, "Okay", "");
}
}
}
if(adm == 0 && mdr == 0 && adml == 0 && hlp == 0 && crg == 0) return ShowPlayerDialog(playerid, 5000, DIALOG_STYLE_MSGBOX, "{FFFFFF}Admins Online [ {FF0000}0{FFFFFF} ]", "{FF0000}Nбo hб administrador ( ADM ) online no momento!'", "Fechar", "");
queria que ficasse assim:
alguem ajuda?