And auto kick player with in one of two modes.
Command:
amx_showloc <@CT, @T , @ALL or nick>(Or leave blank for showing all players)
It will reply like this:
(Team display mode)
(Single player)Location info of players:
=================================
ID | Name | Ping | Loss | IP | Location | Code
1 | 008DEADinHK | 20 | 0 | 221.127.239.177 | Hong Kong | HK
2 | player A | 25 | 0 | 221.126.141.165 | Hong Kong | HK
3 | player B | 33 | 0 | 218.254.195.87 | Hong Kong | HK
4 | player C | 107 | 3 | 221.215.105.66 | China | CN
5 | player D | 99 | 1 | 61.231.107.107 | Taiwan | TW
=================================
Total player listed: 5 players
========================
CVars:Here is some info of : Sprite | 008DEADinHK
=================================
ID: 1
Ping: 20
Loss: 0
IP: 221.127.239.177
Location: Hong Kong
Code: HK
=========================
amx_loc_kick_mode 0 - Auto kick mode (0 = off, 1 = kick players whose country code is amx_loc_kick_code, 2 = kick players whose country code is **NOT** amx_loc_kick_code)
amx_loc_kick_code "" - GeoIP *TWO* dgit code (list of codes are listed in a text file included in the package)
amx_loc_access 2 - Who can access amx_showloc (0 = No one, 1 = All players, 2 = Admin only)
====================================
GeoIP module **REQUIRED**
How to enable GeoIP module?
Open modules.ini, remove the semicolons before:
like this:;geoip_amxx_i386.so
;geoip_amxx.dll
;geoip_amxx_amd64.so
get plugingeoip_amxx_i386.so
geoip_amxx.dll
geoip_amxx_amd64.so
get source