Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!strcmp(cmd, "/admins", true) || !strcmp(cmd, "/mods", true) || !strcmp(cmd, "/administradores", true) || !strcmp(cmd, "/moderadores", true))
- {
- SendClientMessage(playerid, AZUL_BMO, "{FFFFFF}• {00AFCA}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] {1E90FF}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, VERMELHO_BMO, "Nenhum Administrador(a) online no Momento !");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement