Synced include files

This commit is contained in:
David Anderson
2004-09-10 03:12:38 +00:00
parent 0a74f09273
commit 5043a40c51
14 changed files with 1150 additions and 8 deletions

21
plugins/include/geoip.inc Executable file
View File

@ -0,0 +1,21 @@
/* GeoIP module functions for AMX Mod X
by David "BAILOPAN" Anderson
(C)Copyrighted under the GNU General Public License, Version 2
*/
#if defined geoip_included
#endinput
#endif
#define _geoip_included
//IP address can contain ports, the ports will be stripped out
//get a two character country code (eg US, CA etc)
native geoip_code2(ip[], ccode[3]);
//get a three character country code (eg USA, cAN etc)
native geoip_code3(ip[], result[4]);
//get a full country name. max name is 45 chars
native geoip_country(ip[], result[], len=45);