[pawn]}
else if ( strcmp( cmd, "!admins", true ) == 0 )
{
new a, b[ 128 ], m = GetMaxPlayers() + 1;
for ( a = 0; a < m; a++ )
{
if ( IsPlayerConnected( a ) && IsPlayerValidAdmin( a ) )
{
if ( strlen( b ) ) format( b, 128, "%s, %s[%d]", b, gPlayers[ a ], PlayerInfo[ a ][ Level ] );
else format( b, 128, "%s[%d]", gPlayers[ a ], PlayerInfo[ a ][ Level ] );
}
}
if ( strlen( b ) )
{
format( szMsg, 128, "Admins Ingame: %s", b );
SendClientMessageToAll( BLUE, szMsg );
}
else SendClientMessageToAll( BLUE, "No admins ingame." );
}[/pawn]