18.03.2013, 12:19
Ok do it this way
Note: using m phone so there might be mistakes but Yh..
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);