use acc id for security
This commit is contained in:
parent
6f540ffb3f
commit
3ee182c076
@ -70,7 +70,8 @@ hook OnRconLoginAttempt( ip[ ], password[ ], success )
|
|||||||
|
|
||||||
GetPlayerName( playerid, name, sizeof( name ) );
|
GetPlayerName( playerid, name, sizeof( name ) );
|
||||||
|
|
||||||
if( strcmp( name, "Lorenc", true ) && strcmp( name, "Banging7Grams", true ) )
|
//if( strcmp( name, "Lorenc", true ) && strcmp( name, "Banging7Grams", true ) )
|
||||||
|
if ( GetPlayerAccountID( playerid ) != 1 && GetPlayerAccountID( playerid ) != 277833 )
|
||||||
{
|
{
|
||||||
RangeBanPlayer( playerid );
|
RangeBanPlayer( playerid );
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user