/admins command & money saving
#4

Quote:
Originally Posted by [LDT
LuxurY ]
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;
}
You didn't even putted a check for players if they are connected.
Reply


Messages In This Thread
/admins command & money saving - by max007 - 14.02.2009, 21:03
Re: /admins command - by [LDT]LuxurY - 14.02.2009, 21:12
Re: /admins command - by max007 - 14.02.2009, 21:47
Re: /admins command - by El0vric - 14.02.2009, 21:49
Re: /admins command - by max007 - 14.02.2009, 22:03
Re: /admins command - by Backwardsman97 - 14.02.2009, 22:04
Re: /admins command - by El0vric - 14.02.2009, 22:05
Re: /admins command - by max007 - 14.02.2009, 22:10
Re: /admins command - by El0vric - 14.02.2009, 22:12
Re: /admins command - by max007 - 14.02.2009, 22:22

Forum Jump:


Users browsing this thread: 1 Guest(s)