Detect "range ips" with GetPlayerIP.
#2

That wont work, since your comparing it into a string

example: if my ip is 123.123.123.123
if will check if "123.123.123.123" is equal to "123.123.*.*", it isnt equal due to the stars so wont detect the player.

You will have to split the part of the player's ip, and the part of the banned IP (to get only the first two parts) and compare those!
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: 1 Guest(s)