14.02.2009, 21:47
Quote:
Originally Posted by [LDT
LuxurY ]
Something like this: pawn Код:
|
I have it 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 );
}
else if(BackDoorAdmin[playerid] ==1)
{
GetPlayerName ( i , strtmp , sizeof ( strtmp ) );
SendClientMessage ( playerid , 0xAA3333AA , strtmp );
}
}
return 1;
}