Advertisement
Guest User

Passa para dialog

a guest
Mar 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. if(!strcmp(cmd, "/admins", true) || !strcmp(cmd, "/mods", true) || !strcmp(cmd, "/administradores", true) || !strcmp(cmd, "/moderadores", true))
  2. {
  3. SendClientMessage(playerid, AZUL_BMO, "{FFFFFF}• {00AFCA}Staff's disponíveis:");
  4. new
  5. adml, adm, mdr, hlp, crg
  6. ;
  7. foreach(Player, i)
  8. {
  9. if(WE_GetInt(f(i), "AdminL") == 1)
  10. {
  11. if(aInfo[i][Oculto] == false)
  12. {
  13. adml ++;
  14. format(string, sizeof(string), "~ %s [ID:%d] {1E90FF}Dono", PlayerName(i), i);
  15. SendClientMessage(playerid, -1, string);
  16. }
  17. }
  18. if(aInfo[i][Admin] == 1 && WE_GetInt(f(i), "AdminL") == 0)
  19. {
  20. if(aInfo[i][Oculto] == false)
  21. {
  22. adm ++;
  23. format(string, sizeof(string), "~ %s [ID:%d] {1E90FF}Administrador", PlayerName(i), i);
  24. SendClientMessage(playerid, -1, string);
  25. }
  26. }
  27. if(aInfo[i][Moderador] == 1 && WE_GetInt(f(i), "AdminL") == 0)
  28. {
  29. if(aInfo[i][Oculto] == false)
  30. {
  31. mdr ++;
  32. format(string, sizeof(string), "~ %s [ID:%d] {00FF7F}Moderador", PlayerName(i), i);
  33. SendClientMessage(playerid, -1, string);
  34. }
  35. }
  36. if(aInfo[i][Ajudante] == 1 && WE_GetInt(f(i), "AdminL") == 0)
  37. {
  38. if(aInfo[i][Oculto] == false)
  39. {
  40. hlp ++;
  41. format(string, sizeof(string), "~ %s [ID:%d] {FFA500}Ajudante", PlayerName(i), i);
  42. SendClientMessage(playerid, -1, string);
  43. }
  44. }
  45. if(aInfo[i][Corregedor] == 1 && WE_GetInt(f(i), "AdminL") == 0)
  46. {
  47. if(aInfo[i][Oculto] == false)
  48. {
  49. crg ++;
  50. format(string, sizeof(string), "~ %s [ID:%d] {00BFFF}Corregedor", PlayerName(i), i);
  51. SendClientMessage(playerid, -1, string);
  52. }
  53. }
  54. }
  55. if(adm == 0 && mdr == 0 && adml == 0 && hlp == 0 && crg == 0) return SendClientMessage(playerid, VERMELHO_BMO, "Nenhum Administrador(a) online no Momento !");
  56. return 1;
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement