/admins
#2

you mean this ?
pawn Код:
CMD:tps(playerid, params[])
{
       new count = 0, string[256];
       for(new i = 0; i < MAX_PLAYERS; i ++)
       {
          if(IsPlayerConnected(i))
          {
              if(AccInfo[i][Level] == 2)
              {

                 new nameee[128];
                 GetPlayerName(i, nameee, 16);
                 format(string, sizeof(string),"[%d]%s", i, PlayerName2(i));
                 ShowPlayerDialog(playerid, 139, DIALOG_STYLE_MSGBOX, "Trusted Players", string, "Ok", "");
                 count++;
              }
          }
       }
       if(count == 0)
       {
              ShowPlayerDialog(playerid, 139, DIALOG_STYLE_MSGBOX, "Trusted Players", "No Trusted Player Online.", "Ok", "");
    }
  return 1;
}
Reply


Messages In This Thread
/admins - by AwokenNeoX - 28.02.2014, 17:05
Re: /admins - by M3HR4N - 28.02.2014, 17:27

Forum Jump:


Users browsing this thread: 1 Guest(s)