Thread: Country kicker
View Single Post
[WbOF]LuZiFeR
AlliedModders Donor
Join Date: Jun 2004
Old 04-11-2005 , 12:39  
Reply With Quote #19

A little Info for german Users:

German AOL-Users are shown as connecting from USA....

I've put the IPs (172.xxx.xxx.xxx) from them to the function for Local-IPs:

Code:
stock IsLocalIp(IP[32])
{
	new tIP[32]
	
	copy(tIP,3,IP)
	if(equal(tIP,"10.") || equal(tIP,"127") || equal(tIP,"172"))
		return 1
	copy(tIP,7,IP)
	if(equal(tIP,"192.168"))
		return 1

	return 0
}
It's only a solution for my needs, because they won't be checked, but maybe someone needs it too.....

Better way would be to check and handle them like germans...
[WbOF]LuZiFeR is offline
Send a message via AIM to [WbOF]LuZiFeR