26.01.2013, 06:59
pawn Код:
CMD:admins(playerid,params[])
{
new Count = 0, string[50],n[MAX_PLAYER_NAME];
SendClientMessage(playerid, COLOR_LIGHTBLUE, "__________|Admins|__________");
foreach(Player, i)
{
if(PlayerInfo[i][Level] == 0) continue;
GetPlayerName(i,n,sizeof(n));
format(string,sizeof(string),"[ID: %d] %s | Level %d",i,n,PlayerInfo[i][Level]);
SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
Count++;
}
if(Count == 0) SendClientMessage(playerid, COLOR_LIGHTBLUE, "No Admins Online");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "____________________________");
return 1;
}