Drop players with restricted port
The default client port is 27005. How is it possible to check its value when a player connects? So, if the client's port doesn't match 27005 the he will be kicked.
|
Re: Drop players with restricted port
get_user_ip(), the last input should be 0, then it also gets port, then you have to check:
does IP contains 27005, if not kick him ... |
Re: Drop players with restricted port
Use query_client_cvar with the cvar clientport.
May I ask why you would want to kick people who want/have to use different ports? |
Re: Drop players with restricted port
PHP Code:
|
Re: Drop players with restricted port
May i ask why?
|
Re: Drop players with restricted port
Thanks, Connor!
Quote:
|
| All times are GMT -4. The time now is 02:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.