Need help with /admins and another thing
#4

Ok do it this way
pawn Код:
new string[128],FinalStr[128],name[MAX_PLAYER_NAME];
for(new i=0; i< MAX_PLAYERS; i++)
    {
          if(PlayerInfo[i][pAdmin] > 0)
               {
                     GetPlayerName(i,name,MAX_PLAYER_NAME);
                     format(string,128,"%s/n",name);
                     strcat(FinalStr,string);
                }
     }
SendClientMessage(playerid,-6","Online Admins");
SendClientMessage(playerid,-1,FinalStr);
Note: using m phone so there might be mistakes but Yh..
Reply


Messages In This Thread
Need help with /admins and another thing - by [DX]Aru12345 - 18.03.2013, 11:59
Re: Need help with /admins and another thing - by Jstylezzz - 18.03.2013, 12:10
Re: Need help with /admins and another thing - by AndreT - 18.03.2013, 12:11
Re: Need help with /admins and another thing - by park4bmx - 18.03.2013, 12:19
Re: Need help with /admins and another thing - by romas3110 - 18.03.2013, 12:21
Re: Need help with /admins and another thing - by denNorske - 18.03.2013, 13:06
Re: Need help with /admins and another thing - by romas3110 - 18.03.2013, 13:14

Forum Jump:


Users browsing this thread: 2 Guest(s)