From a1ed07c8e3fe154d15fe508620e8fbdc88d25c6e Mon Sep 17 00:00:00 2001 From: Lorenc Pekaj Date: Mon, 15 Oct 2018 14:27:59 +1100 Subject: [PATCH] max 10 users per ip --- gamemodes/sf-cnr.pwn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gamemodes/sf-cnr.pwn b/gamemodes/sf-cnr.pwn index 3179dbb..b29626b 100644 --- a/gamemodes/sf-cnr.pwn +++ b/gamemodes/sf-cnr.pwn @@ -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