06.07.2011, 18:09
pawn Код:
COMMAND:admins(playerid, params[])
{
SendClientMessage(playerid, Red, " ** Admins Online: **");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && IsPlayerAdmin(i))
{
new string[128];
new adminname[24];
GetPlayerName(i, adminname, sizeof(adminname));
format(string, sizeof(string), "RCON Admin: %s", adminname));
SendClientMessage(playerid, LIGHTBLUE, string);
}
}
return 1;
}