22.09.2013, 12:01
Hello. When I am doing /admins, It is showing my name but it isn't showing the Valid ID of me.
Look here:
That script I am using:
Look here:
That script I am using:
pawn Код:
CMD:admins( playerid, params[ ] )
{
new
count
;
SendClientMessage( playerid, COLOR_YELLOW, "[ ! ] List of Online Administrators:" );
for( new i = 0; i < MAX_PLAYERS; i++ )
{
if( !IsPlayerConnected( i ) ) continue;
if( pInfo[i][pAdminlevel] > 99999999999999999999999999 )
{
new
temp[ 32 ],
name_[ MAX_PLAYER_NAME ]
;
GetPlayerName( i, name_, MAX_PLAYER_NAME );
format( temp, sizeof( temp ), "<%d> %s", pInfo[ i ][ pAdminLevel ], name_ );
SendClientMessage( playerid, 0xFF0000FF, temp );
count++;
}
}
if(count == 0)
{
SendClientMessage( playerid, COLOR_RED1, "- No Admins Currently Online." );
SendClientMessage( playerid, COLOR_YELLOW, "[ ! ] End of List !" );
}
else SendClientMessage( playerid, COLOR_YELLOW, "[ ! ] End of List !" );
return 1;
}