[Ajuda] alguйm pode me ajuda a colocar em dialog, nгo consegui
#1

if(!strcmp(cmd, "/admins", true) || !strcmp(cmd, "/mods", true) || !strcmp(cmd, "/administradores", true) || !strcmp(cmd, "/moderadores", true))
{
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), "{00FF66}%s [%d] {00FF66}- Cargo: {00FF66}Staff", PlayerName(i), i);
SendClientMessage(playerid, VERMELHO_WE, string);
}
}
if(aInfo[i][Admin] == 1 && WE_GetInt(f(i), "AdminL") == 0)
{
if(aInfo[i][Oculto] == false)
{
adm ++;
format(string, sizeof(string), "{0099FF}%s [%d] {0099FF}- Cargo: {0099FF}Administrador(a)", PlayerName(i), i);
SendClientMessage(playerid, VERMELHO_WE, string);
}
}
if(aInfo[i][Moderador] == 1 && WE_GetInt(f(i), "AdminL") == 0)
{
if(aInfo[i][Oculto] == false)
{
mdr ++;
format(string, sizeof(string), "{FF6600}%s [%d] {FF6600}- Cargo: {FF6600}Moderador(a)", PlayerName(i), i);
SendClientMessage(playerid, AZUL_WE, string);
}
}
if(aInfo[i][Ajudante] == 1 && WE_GetInt(f(i), "AdminL") == 0)
{
if(aInfo[i][Oculto] == false)
{
hlp ++;
format(string, sizeof(string), "{FAF65D}%s [%d] {FAF65D}- Cargo: {FAF65D}Ajudante", PlayerName(i), i);
SendClientMessage(playerid, AZUL_WE, string);
}
}
if(aInfo[i][Corregedor] == 1 && WE_GetInt(f(i), "AdminL") == 0)
{
if(aInfo[i][Oculto] == false)
{
crg ++;
format(string, sizeof(string), "{1E90FF}%s [%d] {FFFFFF}- Cargo: {8000FF}Corregedor(a)", PlayerName(i), i);
SendClientMessage(playerid, AZUL_WE, string);
}
}
}
if(adm == 0 && mdr == 0 && adml == 0 && hlp == 0 && crg == 0) return SendClientMessage(playerid, VERMELHO_WE, "Nenhum admin online no momento.");
return 1;
}
Reply
#2

Mude a tag "Ajuda" para "Pedido" ou mostre oque vocк tentou que tentarei te ajudar.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)