AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   detect clientport (https://forums.alliedmods.net/showthread.php?t=205822)

avril-lavigne 01-15-2013 06:36

detect clientport
 
hi I need block users with clientport other than 27005
example
new ip[16]
get_user_ip(id,ip,31,1)
if(!equal("ip") == but how to get port here ?

AngeIII 01-15-2013 06:58

Re: detect clientport
 
use search. googleit.
http://forums.alliedmods.net/showthread.php?t=203681

read carefully.
post http://forums.alliedmods.net/showpos...5&postcount=24
and set
new clientIP[ 20 ];
to
new clientIP[ 24 ];


All times are GMT -4. The time now is 13:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.