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(BMO_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 && BMO_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 && BMO_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 && BMO_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 && BMO_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;
}
C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(39004) : warning 235: public function lacks forward declaration (symbol "OnPlayerShootPlayerWE") C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41023) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41030) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41037) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41045) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41075) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41079) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41084) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41095) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41101) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41112) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41125) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41134) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41165) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(4117 : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41187) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41217) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41227) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41234) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41240) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41250) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41259) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41265) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41272) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41279) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(41286) : error 079: inconsistent return types (array & non-array) C:\Users\Leonardo\Desktop\Brasil Mundo Online\gamemodes\BMOW.pwn(4130 : error 079: inconsistent return types (array & non-array) Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors. |