Showing Proxy in format..
#3

pawn Код:
format(string,sizeof(string),"* %s ( ID %i ) [ Proxy: %s | IP: %s | Country: %s | City: %s ]\n\n",
GetPlayerName(playerid), playerid, (GetPlayerProxy(playerid)) ? ("True") : ("False"), IP1, Country1, City1);
I'm on my phone at the moment, so if the code is working as its meant to, GetPlayerProxy will return 1 when a player is using a proxy, and 0 if they aren't or it can't be detected. (Not all proxies are detectable)

The code above will give you either true or false depending on the outcome of GetPlayerProxy.
Reply


Messages In This Thread
Showing Proxy in format.. - by FinStar - 05.03.2016, 12:04
Re: Showing Proxy in format.. - by BroZeus - 05.03.2016, 12:14
Re: Showing Proxy in format.. - by Threshold - 05.03.2016, 12:19
Re: Showing Proxy in format.. - by FinStar - 05.03.2016, 12:19
Re: Showing Proxy in format.. - by FinStar - 05.03.2016, 12:23
Re: Showing Proxy in format.. - by BroZeus - 06.03.2016, 04:01
Re: Showing Proxy in format.. - by FinStar - 06.03.2016, 07:24
Re: Showing Proxy in format.. - by FinStar - 08.03.2016, 13:06
Re: Showing Proxy in format.. - by FinStar - 08.03.2016, 13:46

Forum Jump:


Users browsing this thread: 1 Guest(s)