Detect "range ips" with GetPlayerIP.
#1

Hey,

I'm wondering, is it possible to detect range IPs with GetPlayerIP?
For example:
pawn Код:
new pIp[16];
GetPlayerIp(playerid, pIp, sizeof(pIp));
if(strcmp(pip,  "76.138.*.*", true) == 0)
I can't test it at this moment, so I'd like to ask it on this forum. I assume it's not possible, but you could always give it a shot.
This would be very useful if you rangeban someone and you'd like to create an exception for a specific IP.

Thanks.
Reply


Messages In This Thread
Detect "range ips" with GetPlayerIP. - by Biesmen - 24.05.2011, 14:20
Re: Detect "range ips" with GetPlayerIP. - by gamer931215 - 24.05.2011, 14:27
Re: Detect "range ips" with GetPlayerIP. - by Biesmen - 24.05.2011, 14:31
Re: Detect "range ips" with GetPlayerIP. - by leong124 - 24.05.2011, 14:47
Re: Detect "range ips" with GetPlayerIP. - by Biesmen - 24.05.2011, 14:52

Forum Jump:


Users browsing this thread: 3 Guest(s)