11.02.2016, 15:32
o comando so aparece 1 adm online sendo q tem 6 adminstradores online como posso arruma ?
Код:
CMD:admins(playerid, params[])
{
if(pLogado[playerid] == false) return SendClientMessage(playerid, CorErro, "Vocк precisa fazer Login primeiro.");
SendClientMessage(playerid, 0x4682B4FF, "Administradores Online:");
//
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pAdmin] > 0 && AparecendoNoAdmins[i] == true && pJogando[i] == false)
{
switch(PlayerInfo[i][pAdmin])
{
case 1: Motivo = "TEMPORБRIO";
case 2: Motivo = "LEVEL 2";
case 3: Motivo = "LEVEL 3";
case 4: Motivo = "LEVEL 4";
case 5: Motivo = "MASTER";
case 6: Motivo = "MБXIMO";
case 7: Motivo = "DONO";
}
format(Str, 256, "%s [%s]", pNomeOriginal[i], Motivo);
SendClientMessage(playerid, CinzaClaro, Str);
}
}
return 1;
}

