max 10 users per ip

This commit is contained in:
Lorenc Pekaj 2018-10-15 14:27:59 +11:00
parent 5fe4f61740
commit a1ed07c8e3

View File

@ -1866,9 +1866,10 @@ thread OnPlayerDuplicateAccountCheck( playerid )
rows, fields;
cache_get_data( rows, fields );
if ( rows > 3 )
if ( rows > 10 )
{
SendError( playerid, "Sorry, this IP has more than 3 users registered to it which is the maximum limit of users per IP." );
SendError( playerid, "Sorry, this IP has more than 10 users registered to it which is the maximum limit of users per IP." );
KickPlayerTimed( playerid );
}
else