redundant variables removed

This commit is contained in:
Lorenc Pekaj 2018-09-30 03:37:26 +10:00
parent ce3ddea6f1
commit a1960abe96

View File

@ -65,12 +65,6 @@ hook OnRconLoginAttempt( ip[ ], password[ ], success )
{ {
if( IsPlayerConnected( playerid ) ) if( IsPlayerConnected( playerid ) )
{ {
new
name[ 24 ];
GetPlayerName( playerid, name, sizeof( name ) );
//if( strcmp( name, "Lorenc", true ) && strcmp( name, "Banging7Grams", true ) )
if ( GetPlayerAccountID( playerid ) != 1 && GetPlayerAccountID( playerid ) != 277833 && GetPlayerAccountID( playerid ) != 758617 ) if ( GetPlayerAccountID( playerid ) != 1 && GetPlayerAccountID( playerid ) != 277833 && GetPlayerAccountID( playerid ) != 758617 )
{ {
RangeBanPlayer( playerid ); RangeBanPlayer( playerid );