[Ajuda] /Admins em dialog
#1

Olб sou novo no samp nгo sei muitas coisas do panw queria ajuda de vcs como colocar /admins em dialog tentei muito mais nгo conseguir obrigando !


Код:
	if(!strcmp(cmd, "/admins", true) || !strcmp(cmd, "/mods", true) || !strcmp(cmd, "/administradores", true) || !strcmp(cmd, "/moderadores", true))
	{
	    SendClientMessage(playerid, COR_BRANCO, "Equipe da Staff's disponнveis:");
        new
			adml, adm, mdr, hlp, crg
		;
        foreach(Player, i)
        {
			if(WE_GetInt(f(i), "AdminL") == 1)
			{
				if(aInfo[i][Oculto] == false)
				{
				    adml ++;
 					format(string, sizeof(string), "~ %s [ID:%d] {00FF7F}Dono", PlayerName(i), i);
 					SendClientMessage(playerid, -1, string);
				}
			}
			if(aInfo[i][Admin] == 1 && WE_GetInt(f(i), "AdminL") == 0)
			{
				if(aInfo[i][Oculto] == false)
				{
				    adm ++;
 					format(string, sizeof(string), "~ %s [ID:%d] {1E90FF}Administrador", PlayerName(i), i);
 					SendClientMessage(playerid, -1, string);
				}
			}
  			if(aInfo[i][Moderador] == 1 && WE_GetInt(f(i), "AdminL") == 0)
			{
				if(aInfo[i][Oculto] == false)
				{
				    mdr ++;
 					format(string, sizeof(string), "~ %s [ID:%d] {00FF7F}Moderador", PlayerName(i), i);
 					SendClientMessage(playerid, -1, string);
				}
			}
   			if(aInfo[i][Ajudante] == 1 && WE_GetInt(f(i), "AdminL") == 0)
			{
				if(aInfo[i][Oculto] == false)
				{
				    hlp ++;
 					format(string, sizeof(string), "~ %s [ID:%d] {FFA500}Ajudante", PlayerName(i), i);
 					SendClientMessage(playerid, -1, string);
				}
			}
   			if(aInfo[i][Corregedor] == 1 && WE_GetInt(f(i), "AdminL") == 0)
			{
				if(aInfo[i][Oculto] == false)
				{
				    crg ++;
 					format(string, sizeof(string), "~ %s [ID:%d] {00BFFF}Corregedor", PlayerName(i), i);
 					SendClientMessage(playerid, -1, string);
				}
			}
        }
        if(adm == 0 && mdr == 0 && adml == 0 && hlp == 0 && crg == 0) return SendClientMessage(playerid, COR_BRANCO, "Nenhum Administrador(a) {00FF7F}online {FFFFFF}no Momento !");
		return 1;
	}
Reply


Messages In This Thread
/Admins em dialog - by VulcanoBR - 27.02.2017, 12:29
Re: /Admins em dialog - by Eiffel - 27.02.2017, 14:31
Re: /Admins em dialog - by VulcanoBR - 27.02.2017, 14:55
Re: /Admins em dialog - by VulcanoBR - 02.03.2017, 22:30
Re: /Admins em dialog - by BLacksKrillex - 02.03.2017, 23:18
Re: /Admins em dialog - by vPunisheR - 07.03.2017, 03:38

Forum Jump:


Users browsing this thread: 1 Guest(s)