14.02.2009, 21:12
Something like this:
pawn Код:
if ( !strcmp ( cmd , "/admins" , true ) )
{
new strtmp[24];
SendClientMessage ( playerid , 0xAA3333AA , "Admins:" );
for ( new i = 0; i < MAX_PLAYERS; i++ )
{
if ( IsPlayerAdmin ( i ) )
{
GetPlayerName ( i , strtmp , sizeof ( strtmp ) );
SendClientMessage ( playerid , 0xAA3333AA , strtmp );
}
}
return 1;
}