Country Track

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Country Track

Post by greenie »

This plugin is ment to show to player other players country
and set up AMX language to match the country.



installing the plugin:
1. Copy counrty_track.amxx file to plugins folder
2. Add line country_track.amxx to plugins.ini file
3. Activate geoip module by changing lines from modules.ini file:

;geoip_amxx_i386.so
;geoip_amxx.dll
;geoip_amxx_amd64.so

To look like this:

geoip_amxx_i386.so
geoip_amxx.dll
geoip_amxx_amd64.so

4. Restart Server and the plugin should be working now.


Commands:

-"say /track" //Show players country info in motd-window
-"say_team /track" //Show players country info in motd-window
-"amx_track" //Show players country info in console

Cvars:
-"amx_autolang" //change AMX language automaticaly by player country 1=yes 0=no (Default=1)
-"amx_saytrack" //Is "say /track" and "say_team /track" commands available 1=yes 0=no (Default=1)
-"amx_track_con_mess" //Show message to player ("say /track" show all players country) when player joins to the server 1=yes 0=no (Default=0)



Package includes newest geoip database available at the time this plugin was made (database updated 5.2.2007) wich regonizes much more IPs than geoip database that were included in Amx mod X v1.76c if you want to use this updated database then copy geoip.dat file to data folder.

you can inspect geoip.dat database included in this package by reading GeoIPCountryWhois.csv file

If you want, You can search for Updated geoip database at
http://www.maxmind.com/download/geoip/database/

Image

Image

.zip
plugin
source
Post Reply

Return to “General Purpose”