14.11.2010, 14:40
pawn Код:
COMMAND:admins(playerid, params[])
{
new string[256];
new pname[MAX_PLAYER_NAME];
SendClientMessage(playerid, grey, "Admins Online:");
for(new i=0;i<MAX_PLAYERS;i++)
{
if(adminlevel[i] >= 1)
{
GetPlayerName(i, pname, sizeof(pname));
format(string,sizeof(string),"AdminLevel %d: %s[%d] ", adminlevel[i], pname, GetPlayerID(pname));
SendClientMessage(playerid, grey, string);
}
}
return 1;
}