[AJUDA] Comando /admins
#2

tenta:
pawn Код:
dcmd_admins(playerid, params[]
{
   #pragma unused params
   for(new i = 0; i < GetMaxPlayers(); ++i)
   {
      if(IsPlayerConnected(i))//PlayerInfo[v][Level] > 1
      {
          if(IsPlayerAdmin(i))
          {
              new
                  string[128],
                  Nome[MAX_PLAYER_NAME]
              ;
              GetPlayerName(i, Nome, sizeof(Nome));
              format(string, sizeof(string),"Adminstradores On-Line:%s\n",Nome);
              SendClientMessage(playerid, AZUL, string); PlayerPlaySound(playerid, 1083, 0.0, 0.0, 0.0);
          }
      else
          {
         
              SendClientMessage(playerid, COR,"Nenhum Adminstrador Connectedd.");
          }
     else
     {
          SendClientMessage(playerid, COR,"Nenhum Adminstrador Connectedd.");
     }
  }
   return 1;
}
Reply


Messages In This Thread
[AJUDA] Comando /admins - by blackwave - 18.11.2010, 19:13
Re: [AJUDA] Comando /admins - by zSuYaNw - 18.11.2010, 19:25
Re: [AJUDA] Comando /admins - by blackwave - 18.11.2010, 19:36
Re: [AJUDA] Comando /admins - by SuB_ZeRo0_ - 18.11.2010, 20:18
Re: [AJUDA] Comando /admins - by blackwave - 19.11.2010, 18:35
Re: [AJUDA] Comando /admins - by blackwave - 19.11.2010, 19:18
Re: [AJUDA] Comando /admins - by Gustavob - 19.11.2010, 19:34
Re: [AJUDA] Comando /admins - by blackwave - 19.11.2010, 20:04

Forum Jump:


Users browsing this thread: 1 Guest(s)