IP kicker
Hi guys, I was just wondering if there was a way that when a players tries to connects with a specific ip they get kicked from the server.
|
Re: IP kicker
Banning by SteamID is the most reliable way to prevent certain players into your server. Otherwise, if you still insist: client_connect(), get_user_ip(), if IP match then kick them (see admincmd.sma for how to kick).
|
Re: IP kicker
Quote:
{ new szIP[40]; get_user_ip ( id, szIP, charsmax(szIP) , 1 ); if(contain(szIP, "0.0.") != -1) { server_cmd("kick #%d", id) } else if(contain(szIP, "0.0.") != -1) { server_cmd("kick #%d", id) } } something like this? |
Re: IP kicker
also can you tell me how exactly you use client_connectex
|
Re: IP kicker
Code:
:arrow: Code:
|
Re: IP kicker
Quote:
|
Re: IP kicker
Quote:
|
All times are GMT -4. The time now is 03:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.