11.12.2013, 14:29
Bom Pessoal tou com um problema que nгo consigo resolver, й que no /admins sу aparece 1 admins ai os outros nгo aparece tipo
---- admins online ----
Powers Admin
Ai o resto dos admins nгo aparece olhem.
---- admins online ----
Powers Admin
Ai o resto dos admins nгo aparece olhem.
PHP код:
CMD:admins(playerid, params[])
{
SendClientMessage(playerid, 0xFF9944FF, "• • • • • • • • • • • [Admins Online] • • • • • • • • • • •");
new AdminNivel[10], ModoADM[22];
if(Player[playerid][qAdmin] == 1) AdminNivel = "Moderador";
if(Player[playerid][qAdmin] == 2) AdminNivel = "Auxiliar";
if(Player[playerid][qAdmin] == 3) AdminNivel = "Master";
if(Player[playerid][qAdmin] == 4) AdminNivel = "Chefao";
if(Player[playerid][qAdmin] == 5) AdminNivel = "Sub-Dono";
if(Player[playerid][qAdmin] == 6) AdminNivel = "Dono";
if(Player[playerid][qAdmin] == 7) AdminNivel = "Fundador";
if(Player[playerid][qVerADM] == 0) ModoADM = "{8FFFA0}(Jogando)";
if(Player[playerid][qVerADM] == 1) ModoADM = "{FBAAF2}(Trabalhando)";
if(Player[playerid][qVerADM] == 2) ModoADM = "{EE7163}(AFK)";
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && Player[i][qAdmin] > 0)
{
format(String,sizeof(String), "{FFFFFF}Nome: {FFEB71}(%s[%d]) {FFFFFF}| Nivel: {6ADFFF}(%s[%d]) {FFFFFF}| Modo: %s", PlayerNick(playerid), playerid, AdminNivel,Player[i][qAdmin], ModoADM);
SendClientMessage(i, 0xF5F5F5F6, String);
}
}
if(Player[playerid][qAdmin] == 0)
{
SendClientMessage(playerid, 0xFF9A86F6, "Nao hб nenhum administrador online.");
}
return true;
}